{"_id":"es6-module-crosspiler","_rev":"26-dc635e848e52d5490e62c936d036e114","name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","dist-tags":{"latest":"2.0.1"},"versions":{"0.0.0":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"42a7778a2c9dc854ba34c2a0db00d724635147a2","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.0.0","_shasum":"9b301fa1609c34cf1aa9f29311792d87c17a032c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"9b301fa1609c34cf1aa9f29311792d87c17a032c","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.0.0.tgz","integrity":"sha512-ci2Pq6x2/I3pbzfoPUe+0UWZMc5im8nVw74N1i0tjo4GfK+KEucQgWpiA7wQPq3TEB+FY6JIMTUagp8faIBdnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLedg58bNTgd5uDdk841FhRxgim557pg8yhFlHANVumQIgR8Tot9FRryNbOTw5mG2UBpjTV1bW6RQqYBqDmJjjKEM="}]}},"0.0.2":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.0.2","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"6e91f845f7a33c4eea4d845d161b35b2204f222c","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.0.2","_shasum":"c1d83bd1ae912697090d31c6b9e02f1cf493f1e3","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"c1d83bd1ae912697090d31c6b9e02f1cf493f1e3","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.0.2.tgz","integrity":"sha512-B+YhB7AoAgVfPM4jge//l+t/X30hco6At493mLWvuilxwyhZChiklaAb8CspjK3jPNhU6TqcjpM4hUvYJ2hwYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMXkIQ9PWa1n5wFq9A9uV5SB5Obzuq6tRnD9EmXGgDnQIhAL15Y/56Xn1t25aY/REy1D1sg6Bd/FGr/5qGe2TWsMSX"}]}},"0.1.0":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.1.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"1444790896fbcb7dc954e14e92d33abf9f14d653","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.1.0","_shasum":"aa534cba1f2408acac6fac9a2e442ccb99d93be7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"aa534cba1f2408acac6fac9a2e442ccb99d93be7","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.1.0.tgz","integrity":"sha512-+cTe82t1eyjTj0gYtD61KkuNiQur0MiuI79qfWuUjuiAc4CwZr4luo/Kn8og/d7FnjPueSCv4g6gNvDPeQTYDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIiNyGRNoRHK97XCoN7LY//ongRBmOOPurB2OdCWFlPAiEAgVTuxI8iqFmwH5EtuHDbhgteJ/da17PqcQ7lt0T5rnA="}]}},"0.2.0":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.2.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"add1424f1676bc61677566275c9c6485842ef6ab","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.2.0","_shasum":"22c2d0202eed71b32e2a1731ef5d997dedcb894d","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"22c2d0202eed71b32e2a1731ef5d997dedcb894d","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.2.0.tgz","integrity":"sha512-BXPY9NMKS3FO/t9NqVJ9zKe6oT+hkxHjlnFg3uma7UVJd/xMHtJ4k6hw0TBCn60npC7aHDu2LiOKnywfcH8QmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD822Bxbv9uwGiMHHkMDGfgXq9b8Or3F8/ZwKOhkiBBVAIhAIqIMLA1aaZLKOedEiTYEWSGqs1W8zydtxJ75mCPw9xt"}]}},"0.2.1":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.2.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"7b5a17070e907231f19b13bf89a6973b036baef6","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.2.1","_shasum":"897dc634cd16965814186462b44aef339889edb3","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"897dc634cd16965814186462b44aef339889edb3","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.2.1.tgz","integrity":"sha512-BFoZ3Rb5heFhpS7en30VoDk/9LrHeqXy59XjLJcCDYgL3ImHLcxIDsdXHhlEBagImEc78iyeWq/nlrsNv3Ws1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKwIN5QWR1Rrdlra3A8fSzXsEWmRDlWDDflPzZmoQl8AiBtUFjSQv/bEkbQNcnfImiLN+Oei8DQ05JArrt/WJlAdg=="}]}},"0.2.2":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.2.2","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"2d8967dd01b06e660eea152e4f2fd42ea23ac246","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.2.2","_shasum":"04cf8bc6ef5fb00dec7cd9e4aaca5ddec046b09e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"04cf8bc6ef5fb00dec7cd9e4aaca5ddec046b09e","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.2.2.tgz","integrity":"sha512-w9QLHwNPzJhCzPgeYPnN2hMSls/N5uUq4PjjUGqFW/J8nMTcugN4orrdiZU0RdG2gZND5oWidR+aoCTdtCwZow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHDwkrLCK1/vguw8Ip/nAVxxdqf7DCtgXlQXzP4q2zMLAiEAtQ/w/s4NUF8ftxOdU08RtC/oT7y5yrNMH4MrIRFbNvw="}]}},"0.2.3":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.2.3","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"714693bbcebef77a1e84b91da175830b5d47fb39","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.2.3","_shasum":"b439128b02553427c9257259d4c8ac8d80ce1a64","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"b439128b02553427c9257259d4c8ac8d80ce1a64","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.2.3.tgz","integrity":"sha512-+iDx6BAB1f4XpDjZah+KNrfCzK3oiXaLFDT+9SFJaITA2DEiHQIY6WWlGPfU/aZskkpTnTTKmr/C23PDiYhQlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJWo+wNvLL9Gwnq2B/3Uuo9qlHVF3CRcv434WoFjbJFAiBwP/XsdMq0f7LOfCrG/T2oZR1wDMf/MMxaGgxSunStUQ=="}]}},"0.2.4":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"0.2.4","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"memorizer":"1","ast-util":"0","esprima":"*","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"d21c5a3cf0fccaba6a9efb580ae09898a3f2c737","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@0.2.4","_shasum":"af444b05b171d10aa0f1a3ef0eac9fdc7e7a6941","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"af444b05b171d10aa0f1a3ef0eac9fdc7e7a6941","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-0.2.4.tgz","integrity":"sha512-FGuRkqAKzWidjRHlv2AVv4TK7M+1NW5EBxaqfIjzHlbhwOxPY9FCS24UyWd0bsqvJZ/VK1uxuxyYJ2G30QcKBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYzxIDAqK9e7/imSWYAzOHDtxaGdhia+Td5F1mFA3foAiEAhrOmqVKw0uV+jDYxdA2bu4ELSfLOwC7+01Dq2jI0re8="}]}},"1.0.0":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"debug":"*","memorizer":"1","ast-util":"0","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"bench":"DEBUG=*:profile node benchmark/mocha.js","test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"c44763e9f67208b2949257b00dd5fef422d69415","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@1.0.0","_shasum":"f63e604e39f68c301a0d492504f8e3e6554dfc8e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"f63e604e39f68c301a0d492504f8e3e6554dfc8e","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-1.0.0.tgz","integrity":"sha512-/TU8CAnpuXVqeLfQ5ji/7FgvWAzHWlwDdm8iTEjzce2NvZ2TJVURpdpKezZiRyuMIpWtXiw08QFRfdfXUT/eBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLPXjA43kv+s9b8TeqcgZChoa4O+jD3EW8pOtsmIz05AiEAqW+Z8PvOoimAqDKm+Y3EqYhNnP2lhgyvQzfDaqCIJog="}]}},"1.0.1":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"1.0.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"debug":"*","memorizer":"1","ast-util":"0","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"1","istanbul":"0"},"scripts":{"bench":"DEBUG=*:profile node benchmark/mocha.js","test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"d6cc78d8d500a6c14fcca5aa2a17ebaf06f37b03","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@1.0.1","_shasum":"f295bc9bd4f5017a3fb82e0570720026bd0b9b3b","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"f295bc9bd4f5017a3fb82e0570720026bd0b9b3b","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-1.0.1.tgz","integrity":"sha512-hyrEleocYI/n4nZI1ahb/AOR58x4Bt8EAFsO+RBrQuPzwZYMwfZgyrNjqTBmgs+4VYCw3D4WedcCmhOc4dCguA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiqgmZFdGHmAWrJveKyVAsEQA8RSH0CkjyDQ0K3ehu9AIgSKbA+byCQhtfMGngz4SX5IvadnKa4ivoxQj5I0kBYsE="}]}},"2.0.0":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"2.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"ast-util":"0","debug":"*","esprima-fb":"*","memorizer":"1","recast":"0"},"devDependencies":{"esprima":"git://github.com/esnext/esprima#harmony-esnext","mocha":"2","istanbul":"0"},"scripts":{"bench":"DEBUG=*:profile node benchmark/mocha.js","test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"be7655fd58ce5e8e89387e20813c70169068f973","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@2.0.0","_shasum":"272be626cde27711468be48a7d7b3d0fb498d2f0","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"272be626cde27711468be48a7d7b3d0fb498d2f0","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-2.0.0.tgz","integrity":"sha512-o8wACppnN7REUWpmAikrcihWc90cTn54Raze07izgTeZTggM8LDy2bG2m49+w4fgecIIynuFlraitSB7KpqZ4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfITAUSl+3HSsviRWWOQWSMHwQaoUhhK4CAXH18r7E/AiBggAa9KMcfbYsV3PKLZhXovnLMc3ptyUOTfncFG5Aesg=="}]}},"2.0.1":{"name":"es6-module-crosspiler","description":"An ES6 and CommonJS cross-compatible transpiler","version":"2.0.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"dependencies":{"ast-util":"0","debug":"*","esprima-fb":"*","memorizer":"1","recast":"0"},"devDependencies":{"mocha":"2","istanbul":"0"},"scripts":{"bench":"DEBUG=*:profile node benchmark/mocha.js","test":"mocha --reporter spec --bail test/index.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/index.js","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/index.js"},"keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"main":"lib","files":["lib"],"gitHead":"33095d43e998d25182943b574b0e7326f499b875","bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","_id":"es6-module-crosspiler@2.0.1","_shasum":"3cc07eb857e9d037e65373155ca3cc7f1a154671","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"3cc07eb857e9d037e65373155ca3cc7f1a154671","tarball":"https://registry.npmjs.org/es6-module-crosspiler/-/es6-module-crosspiler-2.0.1.tgz","integrity":"sha512-HX4tlJK0NaksK5LnnvilEI3NUAGWPMcLoCnRZvkkd2zjFIllIFe53ioMYhnaUwN64mBv4q2CoWurJbTXllsJfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCg+XNkMwN97QIIdqnuKK/VQKweGAW/gJDXmaAZ07o1uQIhAIhh/kM43S17plHZSKaCV0nCnPFkSHD9uvNTY9cElH1/"}]}}},"readme":"\n# es6-module-crosspiler\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Gittip][gittip-image]][gittip-url]\n\n\nES6 module crosspiler is an ES6 module transpiler that supports both\nES6 modules as well as CommonJS modules,\nwhich are not designed to be compatible with each other.\nThis allows mixed usage of tomorrow's ES6 modules and today's CommonJS modules.\nHopefully, we may use this transpiler while we migrate our CommonJS modules\nto ES6 modules.\n\n## How It Works\n\nWhen defaulting-importing a CommonJS module from an ES6 module,\nthe transpilation will look like:\n\n```js\nimport x from 'commonjs_module'\n// becomes\nvar x = require('commonjs_module')\n```\n\nThis is slightly different than regular ES6 modules as you would be requiring `.default`.\n\nWhen `require()`ing a ES6 module from a CommonJS module, transpilation will look like:\n\n```js\nvar x = require('es6_module')\n// if es6_module exports default\nvar x = require('es6_module').default\n// otherwise it'll stay the same\nvar x = require('es6_module')\n```\n\nThis requires knowledge of the type of each dependency.\nOf course, if you have a module that has both `export default` and regular `export`s,\nCommonJS modules will only be able to access `default` (which is pretty close in intention).\nThis is a limitation of cross compatibility (and a feature of ES6 modules),\nbut you should consider this when writing ES6 modules.\n\n```js\nexport default fn\n\n// CommonJS modules could never touch this\nexport var a = 1\n\nfunction fn() {\n  a++\n}\n```\n\nThis transpiler also assumes that all modules are ES6 modules\nthat do not `export default` unless specified otherwise.\n\n## Differences between es6-module-crosspiler\n\nThis transpiler is lower-level, meaning it does not have a concept of a container or resolver.\nIt does not expect modules to be retrieved from the file system\nwhich allows more flexibility within existing build systems.\nIt does not have as many abstractions as it does not support custom formatters;\nthis module currently only supports transpilation between ES6 module and CommonJS modules.\n\n## Example\n\n```js\nvar recast = require('recast')\nvar esprima = require('esprima-fb')\nvar Module = require('es6-module-crosspiler')\n\n// parse the code with recast\n// make sure you use a version of esprima that supports ES6 module syntax\nvar ast = recast.parse('import \"some/code\"', {\n  esprima: esprima\n})\n\nvar m = Module(ast)\n\n// set the metadata of a dependency\n// if not set, it essentially defaults to { type: 'module', default: false }\nm.set('some/code', {\n  type: 'module',\n  default: true\n})\n\nast = m.transform(ast)\n\nvar result = recast.print(ast)\nconsole.log(result.code)\nconsole.log(result.map)\n```\n\n## API\n\n### Convenience Methods\n\n#### ast = Module.transform(ast, [options])\n\nTransform a module recast-style.\n\n#### var names = Module.dependenciesOf(ast || module)\n\nGet all the dependency names.\n\n### Initialization and Metadata\n\n#### var module = new Module(ast, [options])\n\n`ast` is the AST body as parsed by `recast`.\n`recast` is not included, and you probably need a custom version of\n`esprima` as the official versions do not entirely support ES6 modules.\n\nOptions are:\n\n- `dependencies` - hash lookup of dependencies if you don't want to set them via `.set()`\n- `renames` - hash lookup of renames if you don't want to set them via `.rename()`\n\n#### .rename(from, to)\n\nRename a dependency's name.\n\n#### .set(name, object)\n\nSet the metadata needed for a dependency.\nCould be either an object or another `Module` instance.\n\n```js\nm.set('./some/dependency', {\n  type: 'commonjs'\n})\nm.set('./another/dependency', Module(another_ast))\n```\n\n#### .type\n\nThe type of module this is considered.\nEither `commonjs` or `module`.\n\n#### .default\n\nWhether this module `export default`.\n\n#### .transform()\n\nThis converts the entire AST to a CommonJS module.\nIt simply executes the following methods in the \"correct\" order,\nso feel free to customize your build.\n\n#### var varname = module.sourceToVariableName(name)\n\nThis is a custom function that allows you to customize the variable names\nfrom ES6 modules. For example, your transpiled JS might look like:\n\n```js\nvar __$mod___some_dependency = require('./some/dependency');\n```\n\nIf you don't like how this looks, change this function.\nBut this is really irrelevant after minification.\n\n### ES6 Module Imports\n\n#### .imports[]\n\nGet the raw AST `import` nodes.\n\n#### .renameImports()\n\nRenames all the imports based on `.rename()`.\n\n#### .buildRequires()\n\nInitializes all the `var x = require('y')`s at the top of the module.\n\n#### .buildReferences()\n\nRenames variables defined by `import` statements to references.\nCan only be executed after `.buildRequires()`.\n\n```js\nimport { x } from 'y'\n\nconsole.log(x)\n```\n\nBecomes\n\n```js\nvar __$mod_y = require('y')\n\nconsole.log(__$mod_y.x)\n```\n\n#### .removeImports()\n\nRemoves all the `import` statements.\n\n### ES6 Module Exports\n\n#### .exports[]\n\nGet the raw AST `export` nodes\n\n#### .buildExports()\n\nCreates the giant `Object.defineProperties()` object at the top.\nYou should build the exports before the imports to avoid\ncircular dependency issues.\n\n#### .removeExports()\n\nRemoves all the `export` statements.\n\n### CommonJS require()s\n\n#### .requires[]\n\nGet the raw AST `require()` nodes.\n\n#### .renameRequires()\n\nRenames all the `require()` calls based on `.rename()`.\n\n#### .defaultifyRequires()\n\nVisits every `require()` call and adds `.default`\nif the `require()`d module is an ES6 module.\nYou should execute this before converting `import`s to `require()`s.\n\n[npm-image]: https://img.shields.io/npm/v/es6-module-crosspiler.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/es6-module-crosspiler\n[github-tag]: http://img.shields.io/github/tag/polyfills/es6-module-crosspiler.svg?style=flat-square\n[github-url]: https://github.com/polyfills/es6-module-crosspiler/tags\n[travis-image]: https://img.shields.io/travis/polyfills/es6-module-crosspiler.svg?style=flat-square\n[travis-url]: https://travis-ci.org/polyfills/es6-module-crosspiler\n[coveralls-image]: https://img.shields.io/coveralls/polyfills/es6-module-crosspiler.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/polyfills/es6-module-crosspiler?branch=master\n[david-image]: http://img.shields.io/david/polyfills/es6-module-crosspiler.svg?style=flat-square\n[david-url]: https://david-dm.org/polyfills/es6-module-crosspiler\n[license-image]: http://img.shields.io/npm/l/es6-module-crosspiler.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/es6-module-crosspiler.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/es6-module-crosspiler\n[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square\n[gittip-url]: https://www.gittip.com/jonathanong/\n","maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"time":{"modified":"2022-06-17T16:56:13.354Z","created":"2014-08-05T06:34:29.374Z","0.0.0":"2014-08-05T06:34:29.374Z","0.0.2":"2014-08-06T20:50:46.608Z","0.1.0":"2014-08-07T23:38:54.093Z","0.2.0":"2014-08-10T22:20:34.225Z","0.2.1":"2014-08-11T22:49:50.743Z","0.2.2":"2014-08-12T02:12:45.364Z","0.2.3":"2014-08-12T02:46:25.845Z","0.2.4":"2014-08-18T10:33:53.859Z","1.0.0":"2014-08-29T05:55:05.987Z","1.0.1":"2014-09-12T23:12:56.118Z","2.0.0":"2014-11-22T22:43:24.415Z","2.0.1":"2014-11-22T22:45:31.152Z"},"homepage":"https://github.com/polyfills/es6-module-crosspiler","keywords":["es6","module","transpiler","crosspiler","cjs","commonjs"],"repository":{"type":"git","url":"https://github.com/polyfills/es6-module-crosspiler"},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"bugs":{"url":"https://github.com/polyfills/es6-module-crosspiler/issues"},"license":"MIT","readmeFilename":"README.md"}