eduardolundgren / eduardolundgren/tracking.js

Allows modules to be imported from Node

Open
#95 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Currently tracking.js modules can work in Node via sandboxing, see https://github.com/eduardolundgren/tracking.js/blob/master/test/utils/sandbox.js.

Maybe adding `module.exports` into each file would allow to require them from node without a sandboxing? Once it's done we can publish it to NPM.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with test/utils/sandbox.js and inspect how tracking.js modules are currently loaded under Node. Verify that the modules can be required without sandboxing and that the resulting package is suitable for publishing to NPM.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.