{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/337","repository_url":"https://api.github.com/repos/babel/babel.github.io","labels_url":"https://api.github.com/repos/babel/babel.github.io/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel.github.io/issues/337/comments","events_url":"https://api.github.com/repos/babel/babel.github.io/issues/337/events","html_url":"https://github.com/babel/babel.github.io/issues/337","id":88667613,"number":337,"title":"Embed the REPL?","user":{"login":"jussi-kalliokoski","id":547186,"avatar_url":"https://avatars.githubusercontent.com/u/547186?v=3","gravatar_id":"","url":"https://api.github.com/users/jussi-kalliokoski","html_url":"https://github.com/jussi-kalliokoski","followers_url":"https://api.github.com/users/jussi-kalliokoski/followers","following_url":"https://api.github.com/users/jussi-kalliokoski/following{/other_user}","gists_url":"https://api.github.com/users/jussi-kalliokoski/gists{/gist_id}","starred_url":"https://api.github.com/users/jussi-kalliokoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jussi-kalliokoski/subscriptions","organizations_url":"https://api.github.com/users/jussi-kalliokoski/orgs","repos_url":"https://api.github.com/users/jussi-kalliokoski/repos","events_url":"https://api.github.com/users/jussi-kalliokoski/events{/privacy}","received_events_url":"https://api.github.com/users/jussi-kalliokoski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-16T09:09:31Z","updated_at":"2016-04-03T04:07:33Z","closed_at":"2016-04-03T04:07:33Z","body":"On [Trine](https://github.com/jussi-kalliokoski/trine)'s docs, I would like to feature the Babel REPL so people can easily mess around with the library, because it's currently highly dependent on stage 0 features of Babel and asking people to set up a build system just to mess around with the API of the library and see what it can do isn't very nice UX.\r\n\r\nAdding a global `require()` that provides Trine's modules is the easy part, but I'm wondering if there's any recommended way of adding the REPL to another website? Obviously it would be great to have the REPL as a standalone npm package so I could just import it with Webpack and embed wherever I want, but I doubt that's a priority for Babel, so I'm wondering if you have any ideas on how to go forward with this? :)"},"comment":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/comments/204864217","html_url":"https://github.com/babel/babel.github.io/issues/337#issuecomment-204864217","issue_url":"https://api.github.com/repos/babel/babel.github.io/issues/337","id":204864217,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T04:07:33Z","updated_at":"2016-04-03T04:07:33Z","body":"I think a jsbin, codepen, or etc embedded would work fine? http://jsbin.com/help/how-can-i-embed-jsbin, https://blog.codepen.io/documentation/features/embedded-pens/"}}