{"_id":"es6-module-transpiler-amd-formatter","_rev":"29-328fd269d1f936319c98f86025c48110","name":"es6-module-transpiler-amd-formatter","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.1":{"name":"es6-module-transpiler-amd-formatter","version":"0.0.1","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"^0.5.17"},"_id":"es6-module-transpiler-amd-formatter@0.0.1","dist":{"shasum":"9abb993f8777c85e7c916e76067ff06e2b9d0be5","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.0.1.tgz","integrity":"sha512-8HAcLgkqkdSsW9feJ7VokgRxsJRhyP3+tcC+m34nJyf9Zz9TrVa+1MdgR/0wV09XY8N8bRzfG93ZxTYlTlWE6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0W5DUOuQDlaGK291Uff4lvgbagzJ51NTcRM3HXJo6uwIgfPAHP9DKRonwC7+yPEMk6jbyxdckrUNpM3pvqxOsyh4="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"}]},"0.0.2":{"name":"es6-module-transpiler-amd-formatter","version":"0.0.2","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"^0.6.7"},"_id":"es6-module-transpiler-amd-formatter@0.0.2","dist":{"shasum":"ba99216098bc9c61bd9c64dc53e1c258ee0ecf33","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.0.2.tgz","integrity":"sha512-jbxGFFjuGB3pTeaRCkU4JdW8b0cRb8Os8qAO0rSCV4RPCw92lT1EaxNFo67ifWPix+SDvld2GCRnA4lCmkMkmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfITMvK54sCvKzEWOcSp8qCYQXs4QPp/Y4LBB/1i5MdQIgTw8MrCHAkTcsb6lbs69vKkIzTnWPf+CojEycROd/Hqo="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}]},"0.1.0":{"name":"es6-module-transpiler-amd-formatter","version":"0.1.0","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"^0.6.7"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"^0.6.0","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"_id":"es6-module-transpiler-amd-formatter@0.1.0","dist":{"shasum":"9c041d85b55925a7fbb41b6ecfca2a9a50de6e03","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.1.0.tgz","integrity":"sha512-e3UnAub2qGy+fQV27Zpihnmrx0207lfuArpCVXIbZ+61Okla9dmfgvJgtLEO+EWLHA6o7wmnJtgz8ETHW04+eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6cO9xFvPSnpMO+l0Twof3bpAQtowbCFvJjIVMwTrp7AiABUpiaALqmB4IKSat2KDT1BZQu0BMVUrBBaPKhtGZ5vQ=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}]},"0.1.1":{"name":"es6-module-transpiler-amd-formatter","version":"0.1.1","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"^0.6.7"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"^0.6.0","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"gitHead":"aae8d3714e3e1b0d6fa82df1efab71a98ff5fa5e","_id":"es6-module-transpiler-amd-formatter@0.1.1","_shasum":"cb687816c9bfcb8620cf5ea1a9d0bb4b49467c66","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"dist":{"shasum":"cb687816c9bfcb8620cf5ea1a9d0bb4b49467c66","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.1.1.tgz","integrity":"sha512-VOgFMPPat0aTiq/6IaOrxN/XHORTRViF0kO/SxCFflsw9ICcjo0/ApbMrY9YzLA3NzxGqzI0B7sS/Rw+Gv8gcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLqzLfED7Zh67JmMvw1kkFKgnGZncqGXc+Zv59hYGAYAIgeTRnDAH3FLPgzI7KllDwSnBXhzJ5iGAu94Flt6/Bu/U="}]}},"0.1.2":{"name":"es6-module-transpiler-amd-formatter","version":"0.1.2","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"^0.7.2"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"^0.8.0","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"gitHead":"ba9b8a0670905935f6fa749691b6dbfd77d6730b","_id":"es6-module-transpiler-amd-formatter@0.1.2","_shasum":"e159ea9f8355759e7c2dab2ca312dce954055b19","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"dist":{"shasum":"e159ea9f8355759e7c2dab2ca312dce954055b19","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.1.2.tgz","integrity":"sha512-AVr5TnyYq8jtOSmDnHL/eJ04dXyi1z5UCWgiqvGYRIl4ZugZS2HoVrIxtTPxCYHtG/YzbdE8x7kc/YN2cq0e1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCThGnvc2S1iCIJHCZUZ33DpsGF7Gc5UQ6LQiv88QmyCwIhAMdiMr6I2vu2bH8pWy8ER0bA+59NMIwLFNmMLBFDz76M"}]}},"0.2.2":{"name":"es6-module-transpiler-amd-formatter","version":"0.2.2","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"~0.8.0"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"~0.8.2","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"gitHead":"94c7b21b15b1ec6e25cc6e05c9ea6e24e7d48aad","_id":"es6-module-transpiler-amd-formatter@0.2.2","_shasum":"258838f1210fc27c468ac47317a7ac254c031800","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"dist":{"shasum":"258838f1210fc27c468ac47317a7ac254c031800","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.2.2.tgz","integrity":"sha512-DffPQpwzwDKG0WfA7hEP0f8R2f8pQa6Zo0DMcT0xGCxIfslr2Nucde0PM3ExVaYxqdjZOibhqbNTxXL1lBblcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX5qe+3jsqZjohvNhapj1TNjqLj1/S3vq1lORMZyDsXwIhAL4WIEY6bI6hWdq1o7Sm1/y/IWCWwrgk+epStTU7SJO3"}]}},"0.2.3":{"name":"es6-module-transpiler-amd-formatter","version":"0.2.3","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"~0.8.0"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"~0.9.0","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"gitHead":"c6732e8af6524a6d27a769e954b3cf167f40ab5c","_id":"es6-module-transpiler-amd-formatter@0.2.3","_shasum":"2ee970a89e548e2e009cbdfedd71f457e8f437f0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"dist":{"shasum":"2ee970a89e548e2e009cbdfedd71f457e8f437f0","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.2.3.tgz","integrity":"sha512-N0k/RI1hER+EebsnaxZLi7CdNrk3nTZlyYQ17xITbGqKq7WIjc664lRROLKeAKEgsIec6+kngZsVt/hAOdXSuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjgP9CQkTzfmXHUG+S8X+1JuwInHa6v129tdRQVEoqlgIgS8skKV2i2tLeC46CcbKj0oTQ5H006D5bJ61ThqGz8tM="}]}},"0.2.4":{"name":"es6-module-transpiler-amd-formatter","version":"0.2.4","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"~0.8.0"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"~0.9.0","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"gitHead":"7ffc6abf318fe0ea294fde05da38ec6f5930be12","_id":"es6-module-transpiler-amd-formatter@0.2.4","_shasum":"2f58034eadfcc901d96314aadb9fd09bfd429011","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"dist":{"shasum":"2f58034eadfcc901d96314aadb9fd09bfd429011","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.2.4.tgz","integrity":"sha512-nn0c/4zaIx3B99uNsZaXMiXDvK4bh+Rx3X4UT6/UDhqK5VmYq/V+1y5brWxVe6Xouh/u7epUbHLcOceQAwlVtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA52jTgJfLbBmv9im+ZOKoIvvp86PLpeXzvLz/YnCZJMAiBTxd299ZJvsYgl1VHqic4PftopLPrBiacGShl4YWvm6Q=="}]}},"0.3.0":{"name":"es6-module-transpiler-amd-formatter","version":"0.3.0","description":"ES6 Module Transpiler Extension to Output AMD define() Format.","author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"main":"index.js","files":["lib/","index.js"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"license":"MIT","dependencies":{"recast":"~0.8.0"},"devDependencies":{"requirejs":"^2.1.14","es6-module-transpiler":"^0.10.0","chai":"~1.8.1","mocha":"~1.15.1","xunit-file":"*","istanbul":"~0.1.46"},"scripts":{"pretest":"compile-modules convert -f ../../../../index.js test/**/*.js -o ./build","test":"_mocha test/formatter --reporter spec"},"gitHead":"a7684a3601081016d52b30cea038c08e412c91e8","_id":"es6-module-transpiler-amd-formatter@0.3.0","_shasum":"81c8ab130d2f5be52c62ef86fe3f384f8557ccbf","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"caridy","email":"caridy@gmail.com"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"dist":{"shasum":"81c8ab130d2f5be52c62ef86fe3f384f8557ccbf","tarball":"https://registry.npmjs.org/es6-module-transpiler-amd-formatter/-/es6-module-transpiler-amd-formatter-0.3.0.tgz","integrity":"sha512-1p/8ZI59mQLRqa+kGy8z3QLfCZE951QJeBHbpXfuw72TSxJ5r+KTOr2kYrvsUA25R3b43TTHqqO+ZJo/HBkAHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+pXgzXyG8NNoNKPBovldfk3Vumx+6trhkN2YQYirR6AiBEdif0LKeP9LOawODufxN1SEGhbC8PC54VYaePxQ+OWQ=="}]}}},"readme":"es6-module-transpiler-amd-formatter\n===================================\n\nES6 Module Transpiler Formatter to Output AMD `define()` Format\n\n## Overview\n\nES6 Module Transpiler `es6-module-transpiler` is an experimental compiler that allows you to write your JavaScript using a subset of the current ES6 module syntax, and compile it into various formats. The `es6-module-transpiler-amd-formatter` is one of those output formats that is focus on enabling the use of ES6 modules thru [RequireJS][] today.\n\n[RequireJS]: http://www.requirejs.org/\n[es6-module-transpiler]: https://github.com/square/es6-module-transpiler\n\n## Disclaimer\n\nThis output format compromises in few of the ES6 features in ES6 modules, including live bindings, sealed objects, etc. This compromise is Ok when you try to use them as AMD modules.\n\n## Usage\n\n### Build tools\n\nSince this formatters is an plugin for [es6-module-transpiler], you can use it with any existing build tool that supports [es6-module-transpiler] as the underlaying engine to transpile the ES6 modules.\n\nYou just need to make sure that `es6-module-transpiler-amd-formatter` is accessible for those tools, and pass the proper `formatter` option thru the [es6-module-transpiler][] configuration.\n\n### Executable\n\nIf you plan to use the `compile-module` CLI, the formatters can be used directly from the command line:\n\n```\n$ npm install es6-module-transpiler\n$ npm install es6-module-transpiler-amd-formatter\n$ ./node_modules/.bin/compile-modules convert -f es6-module-transpiler-amd-formatter path/to/**/*.js -o build/\n```\n\n__The `-f` option allow you to specify the path to the specific formatter, which is this case is an installed module called `es6-module-transpiler-amd-formatter`.__\n\n### Library\n\nYou can also use the formatter with the transpiler as a library:\n\n```javascript\nvar transpiler = require('es6-module-transpiler');\nvar AMDFormatter = require('es6-module-transpiler-amd-formatter');\nvar Container = transpiler.Container;\nvar FileResolver = transpiler.FileResolver;\n\nvar container = new Container({\n  resolvers: [new FileResolver(['lib/'])],\n  formatter: new AMDFormatter()\n});\n\ncontainer.getModule('index');\ncontainer.write('out/mylib.js');\n```\n\n## Supported ES6 Module Syntax\n\nAgain, this syntax is in flux and is closely tracking the module work being done by TC39. This package relies on the syntax supported by [es6-module-transpiler], which relies on [esprima], you can have more information about the supported syntax here: https://github.com/square/es6-module-transpiler#supported-es6-module-syntax\n\n[esprima]: https://github.com/ariya/esprima\n\n## Compiled Output\n\nFirst of all, the output format for `define()` might looks alien even for many developers, but considering that [es6-module-transpiler] relies on [Recast] to mutate the original ES6 code, it can output the corresponding [sourceMap], you should be able to debug the module code without having to understand the actual output format.\n\n[sourceMap]: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/\n[Recast]: https://github.com/benjamn/recast\n\n### Default export\n\nFor a module without imports, and a single default exports:\n\n```javascript\nexport default function (a, b) {\n  return a + b;\n}\n```\n\nwill produce something like this:\n\n```javascript\ndefine(\"component/foo\", [\"exports\"], function(__exports__) {\n  \"use strict\";\n\n  function __es6_export__(name, value) {\n    __exports__[name] = value;\n  }\n\n  __es6_export__(\"default\", function(a, b) {\n    return a + b;\n  });\n});\n```\n\n### Imports and exports\n\nA more complex example will look like this:\n\n```javascript\nimport assert from \"./assert\";\n\nexport default function (a, b) {\n  assert(a);\n  assert(b);\n  return a + b;\n};\n```\n\nand the output will be:\n\n```javascript\ndefine(\"component/foo\", [\"./assert\", \"exports\"], function(component$assert$$, __exports__) {\n  \"use strict\";\n\n  function __es6_export__(name, value) {\n    __exports__[name] = value;\n  }\n\n  var assert = component$assert$$[\"default\"];\n  __es6_export__(\"assert\", component$assert$$[\"assert\"]);\n\n  __es6_export__(\"default\", function(a, b) {\n    assert(a);\n    assert(b);\n    return a + b;\n  });\n});\n```\n\nPart of the goal, is try to preserve as much as possible the original code of the module within the factory function. Obviously, this is difficult when you have to export default functions and other declarations. The only modifications you will see in the body are the calls to the `__es6_export__()` method to export the new value when defined or updated, the rest of the code will remain immutable.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nThanks, and enjoy living in the ES6 future!\n","maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"eventualbuddha","email":"me@brian-donovan.com"}],"time":{"modified":"2022-06-17T16:56:48.362Z","created":"2014-07-03T00:27:30.075Z","0.0.1":"2014-07-03T00:27:30.075Z","0.0.2":"2014-07-29T20:55:29.119Z","0.1.0":"2014-07-29T21:54:58.197Z","0.1.1":"2014-10-04T17:46:11.326Z","0.1.2":"2014-10-04T23:01:26.241Z","0.2.0":"2014-10-16T15:45:27.833Z","0.2.1":"2014-10-20T16:04:20.126Z","0.2.2":"2014-10-21T20:03:56.371Z","0.2.3":"2014-10-23T15:12:06.713Z","0.2.4":"2014-11-05T18:31:41.065Z","0.3.0":"2015-01-22T23:29:16.317Z"},"homepage":"https://github.com/caridy/es6-module-transpiler-amd-formatter","keywords":["es6","module","transpiler","amd","module-formatter"],"repository":{"type":"git","url":"https://github.com/caridy/es6-module-transpiler-amd-formatter.git"},"author":{"name":"Caridy Patino","email":"caridy@gmail.com"},"bugs":{"url":"https://github.com/caridy/es6-module-transpiler-amd-formatter/issues"},"license":"MIT","readmeFilename":"README.md","users":{}}