c2a
v0.3.0
Published
Transfer CMD to AMD
Downloads
5
Readme
c2a
Transfer CMD to AMD
Installation
$ npm install c2a
Usage
var c2a = require('c2a');
var file = 'console.log("hello world")';
// Output:
// define(function (require, exports, module) {
// console.log("hello world");
// });
console.log(c2a(file));