3 ms·
I looked into Babel but the standalone package is (comparatively) massive. Could be an optional extension, possibly. I think it has potential for use as a way
by JayOtter 10y ago
I looked into Babel but the standalone package is (comparatively) massive. Could be an optional extension, possibly.
I think it has potential for use as a way to write documentation for JS libraries, so being able to use arbitrary packages is certainly something I'd like to add. :)
- WorldMaker 10y agoOne option to allow arbitrary packages that plays well with a gist-hostable style of notebook is to make use of the JSPM CDN (details towards the bottom of http://jspm.io/ http://jspm.io/). I've used that for little gh-pages hosted experiments in the past. It can be a powerful way to access both the GitHub and NPM ecosystems of JS libraries. The JSPM CDN could also provide a way to load transpilers like Babel, Traceur, Closure, and Typescript.
- JayOtter 10y agoThis looks really useful. Could be just what I need - thanks a lot. :)
- akx 10y agoIf Babel is too big, [Bublé](https://news.ycombinator.com/item?id=11704472 https://news.ycombinator.com/item?id=11704472) was just on the front page...
- JayOtter 10y agoI saw, actually! Worth a look.