{"action":"opened","issue":{"url":"https://api.github.com/repos/oncletom/crx/issues/61","repository_url":"https://api.github.com/repos/oncletom/crx","labels_url":"https://api.github.com/repos/oncletom/crx/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/oncletom/crx/issues/61/comments","events_url":"https://api.github.com/repos/oncletom/crx/issues/61/events","html_url":"https://github.com/oncletom/crx/issues/61","id":178407392,"number":61,"title":"Redesign crx API","user":{"login":"oncletom","id":138627,"avatar_url":"https://avatars.githubusercontent.com/u/138627?v=3","gravatar_id":"","url":"https://api.github.com/users/oncletom","html_url":"https://github.com/oncletom","followers_url":"https://api.github.com/users/oncletom/followers","following_url":"https://api.github.com/users/oncletom/following{/other_user}","gists_url":"https://api.github.com/users/oncletom/gists{/gist_id}","starred_url":"https://api.github.com/users/oncletom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oncletom/subscriptions","organizations_url":"https://api.github.com/users/oncletom/orgs","repos_url":"https://api.github.com/users/oncletom/repos","events_url":"https://api.github.com/users/oncletom/events{/privacy}","received_events_url":"https://api.github.com/users/oncletom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oncletom/crx/labels/feature","name":"feature","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/oncletom/crx/milestones/2","html_url":"https://github.com/oncletom/crx/milestones/v4.0.0","labels_url":"https://api.github.com/repos/oncletom/crx/milestones/2/labels","id":968596,"number":2,"title":"v4.0.0","description":"","creator":{"login":"oncletom","id":138627,"avatar_url":"https://avatars.githubusercontent.com/u/138627?v=3","gravatar_id":"","url":"https://api.github.com/users/oncletom","html_url":"https://github.com/oncletom","followers_url":"https://api.github.com/users/oncletom/followers","following_url":"https://api.github.com/users/oncletom/following{/other_user}","gists_url":"https://api.github.com/users/oncletom/gists{/gist_id}","starred_url":"https://api.github.com/users/oncletom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oncletom/subscriptions","organizations_url":"https://api.github.com/users/oncletom/orgs","repos_url":"https://api.github.com/users/oncletom/repos","events_url":"https://api.github.com/users/oncletom/events{/privacy}","received_events_url":"https://api.github.com/users/oncletom/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-02-06T11:45:04Z","updated_at":"2016-09-21T17:07:25Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-21T17:07:25Z","updated_at":"2016-09-21T17:07:25Z","closed_at":null,"body":"```js\r\ncrx(['/path/to/manifest.json', '/path/to/**.js', '!/path/to/node_modules'], { options })\r\n  .then(crx => {\r\n    crx.options; // { options }\r\n    crx.included; // => ['manifest.json', 'index.js'];\r\n    crx.excluded; // => ['node_modules/jquery/dist/jquery.js', ...]\r\n    crx.mapping; // => { '/path/to/manifest.json' => 'manifest.json', ... }\r\n\r\n    crx.archive()\r\n      .then(archive => archive.pipe(fs.createWriteFile('extension.zip')))\r\n      .then(archive => crx.sign(archive))\r\n      .then(stream => stream.pipe(fs.createWriteFile('extension.crx')));\r\n  });\r\n```"}}
{"actor":{"display_login":"oncletom"}}