Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sheppard/smash2amd

Convert SMASH (d3) "import" to AMD "define"
https://github.com/sheppard/smash2amd

Last synced: 4 days ago
JSON representation

Convert SMASH (d3) "import" to AMD "define"

Awesome Lists containing this project

README

        

smash2amd
=========

Reads [SMASH](https://github.com/mbostock/smash)-style `import` statements and converts them to [AMD](http://requirejs.org) `define()` calls.

Currently only works with [d3](http://github.com/mbostock/d3) source; see [amd3](http://github.com/sheppard/amd3) for output.

For background, see [mbostock/smash#12](https://github.com/mbostock/smash/issues/12).