{"action":"closed","issue":{"url":"https://api.github.com/repos/TrackJs/trackjs-package/issues/2","repository_url":"https://api.github.com/repos/TrackJs/trackjs-package","labels_url":"https://api.github.com/repos/TrackJs/trackjs-package/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/TrackJs/trackjs-package/issues/2/comments","events_url":"https://api.github.com/repos/TrackJs/trackjs-package/issues/2/events","html_url":"https://github.com/TrackJs/trackjs-package/issues/2","id":58359825,"node_id":"MDU6SXNzdWU1ODM1OTgyNQ==","number":2,"title":"Support for Browserify","user":{"login":"slorber","id":749374,"node_id":"MDQ6VXNlcjc0OTM3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/749374?v=4","gravatar_id":"","url":"https://api.github.com/users/slorber","html_url":"https://github.com/slorber","followers_url":"https://api.github.com/users/slorber/followers","following_url":"https://api.github.com/users/slorber/following{/other_user}","gists_url":"https://api.github.com/users/slorber/gists{/gist_id}","starred_url":"https://api.github.com/users/slorber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slorber/subscriptions","organizations_url":"https://api.github.com/users/slorber/orgs","repos_url":"https://api.github.com/users/slorber/repos","events_url":"https://api.github.com/users/slorber/events{/privacy}","received_events_url":"https://api.github.com/users/slorber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-02-20T14:29:02Z","updated_at":"2018-10-29T20:05:46Z","closed_at":"2018-10-29T20:05:46Z","author_association":"NONE","body":"Please export the TrackJS npm published module so that we can require it.\n\nThe following code should be supported:\n\n``` javascript\nvar TrackJs = require(\"trackjs\");\n\nTrackJs.configure({\n        token: \"token\"\n});\n\nTrackJs.track(\"test\")\n```\n\nUnfortunately TrackJS module on NPM seems to not export its content and use a `trackJs` global variable, and also seems to require the token to be configured before lib loading, making call to configure with a token useless according to this warning\n`TrackJS could not find a token`\n"}}
{"actor":{"display_login":"toddhgardner"}}