{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flux/issues/159","labels_url":"https://api.github.com/repos/facebook/flux/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flux/issues/159/comments","events_url":"https://api.github.com/repos/facebook/flux/issues/159/events","html_url":"https://github.com/facebook/flux/issues/159","id":58056351,"number":159,"title":"Make \"invariant\" as a separated module","user":{"login":"Kureev","id":2273613,"avatar_url":"https://avatars.githubusercontent.com/u/2273613?v=3","gravatar_id":"","url":"https://api.github.com/users/Kureev","html_url":"https://github.com/Kureev","followers_url":"https://api.github.com/users/Kureev/followers","following_url":"https://api.github.com/users/Kureev/following{/other_user}","gists_url":"https://api.github.com/users/Kureev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kureev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kureev/subscriptions","organizations_url":"https://api.github.com/users/Kureev/orgs","repos_url":"https://api.github.com/users/Kureev/repos","events_url":"https://api.github.com/users/Kureev/events{/privacy}","received_events_url":"https://api.github.com/users/Kureev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T11:28:45Z","updated_at":"2015-02-25T04:30:18Z","closed_at":"2015-02-24T17:38:58Z","body":"Dear core team,\r\n\r\nCould you make \"invariant\" as a standalone dependency (or as least export it as require('flux').invariant) to allow other users use it in their code. \r\n\r\nFor example, i'm developing library, which using your flux dispatcher as an underlying layer for my own dispatcher. So, i'd like to use your assert mechanism in my code too.\r\n\r\nNow i'm using\r\n```javascript\r\nvar invariant = require('flux/lib/invariant');\r\n```\r\nbut not sure it's a best idea."},"comment":{"url":"https://api.github.com/repos/facebook/flux/issues/comments/75903899","html_url":"https://github.com/facebook/flux/issues/159#issuecomment-75903899","issue_url":"https://api.github.com/repos/facebook/flux/issues/159","id":75903899,"user":{"login":"zertosh","id":830952,"avatar_url":"https://avatars.githubusercontent.com/u/830952?v=3","gravatar_id":"","url":"https://api.github.com/users/zertosh","html_url":"https://github.com/zertosh","followers_url":"https://api.github.com/users/zertosh/followers","following_url":"https://api.github.com/users/zertosh/following{/other_user}","gists_url":"https://api.github.com/users/zertosh/gists{/gist_id}","starred_url":"https://api.github.com/users/zertosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zertosh/subscriptions","organizations_url":"https://api.github.com/users/zertosh/orgs","repos_url":"https://api.github.com/users/zertosh/repos","events_url":"https://api.github.com/users/zertosh/events{/privacy}","received_events_url":"https://api.github.com/users/zertosh/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T04:30:18Z","updated_at":"2015-02-25T04:30:18Z","body":"@fisherwebdev Oh I didn't know this. @zpao Let me know if you guys want to own this https://www.npmjs.com/package/invariant or if it's fine like that"}}