{"action":"opened","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/3585","repository_url":"https://api.github.com/repos/mochajs/mocha","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/3585/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/3585/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/3585/events","html_url":"https://github.com/mochajs/mocha/issues/3585","id":385525285,"node_id":"MDU6SXNzdWUzODU1MjUyODU=","number":3585,"title":"[Feature Request] Convert to ES Modules","user":{"login":"pdesjardins90","id":6752776,"node_id":"MDQ6VXNlcjY3NTI3NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6752776?v=4","gravatar_id":"","url":"https://api.github.com/users/pdesjardins90","html_url":"https://github.com/pdesjardins90","followers_url":"https://api.github.com/users/pdesjardins90/followers","following_url":"https://api.github.com/users/pdesjardins90/following{/other_user}","gists_url":"https://api.github.com/users/pdesjardins90/gists{/gist_id}","starred_url":"https://api.github.com/users/pdesjardins90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdesjardins90/subscriptions","organizations_url":"https://api.github.com/users/pdesjardins90/orgs","repos_url":"https://api.github.com/users/pdesjardins90/repos","events_url":"https://api.github.com/users/pdesjardins90/events{/privacy}","received_events_url":"https://api.github.com/users/pdesjardins90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-29T01:14:18Z","updated_at":"2018-11-29T01:14:18Z","closed_at":null,"author_association":"NONE","body":"With all major browsers now supporting ES modules and node support on its way, I think it would be a great time to migrate this popular lib and help the community move forward.\r\n\r\nTo be clear, the goal would be to be able to do:\r\n\r\nIn node: \r\n\r\n```javascript\r\nimport { \r\n  after, \r\n  afterEach, \r\n  before, \r\n  beforeEach, \r\n  context, \r\n  describe, \r\n  it \r\n} from 'mocha'\r\n```\r\n\r\nIn browsers:\r\n```javascript \r\nimport { \r\n  after, \r\n  afterEach, \r\n  before, \r\n  beforeEach, \r\n  context, \r\n  describe, \r\n  it \r\n} from '/node_modules/mocha/mocha.js'\r\n```"}}
{"actor":{"display_login":"pdesjardins90"}}