smash2amd Reads SMASH-style import statements and converts them to AMD define() calls. Currently only works with d3 source; see amd3 for output. For background, see mbostock/smash#12.