{"_id":"@a-la/export","_rev":"300184","name":"@a-la/export","description":"A set of rules for ÀLaMode to transpile ES6 export statements into module.exports assignments.","dist-tags":{"latest":"1.5.0"},"maintainers":[{"name":"zvr","email":""}],"time":{"modified":"2024-01-31T16:07:08.000Z","created":"2018-08-10T11:33:15.097Z","1.5.0":"2019-05-16T12:35:48.744Z","1.4.0":"2019-04-24T07:09:13.968Z","1.3.1":"2019-03-14T20:02:55.574Z","1.3.0":"2018-09-01T02:10:40.950Z","1.2.2":"2018-08-27T03:22:32.641Z","1.2.1":"2018-08-22T05:07:26.328Z","1.2.0":"2018-08-21T01:30:10.568Z","1.1.0":"2018-08-20T19:22:12.163Z","1.0.0":"2018-08-10T11:33:15.097Z"},"users":{},"author":{"name":"Anton","email":"anton@adc.sh"},"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"versions":{"1.5.0":{"name":"@a-la/export","version":"1.5.0","description":"A set of rules for ÀLaMode to transpile ES6 export statements into module.exports assignments.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"^1.3.0","alamode":"^2.2.0","catchment":"^3.3.0","documentary":"^1.27.3","erte":"^1.2.0","eslint-config-artdeco":"1.0.1","restream":"^3.7.1","yarn-s":"1.1.0","zoroaster":"^4.1.1-alpha"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.5.0","dist":{"shasum":"9af0d33a12363a698d7ee649420cbd8a9faf60f0","size":15087,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.5.0.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.5.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.5.0_1558010148602_0.10250245818669845"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:27.621Z","publish_time":1558010148744,"_cnpm_publish_time":1558010148744},"1.4.0":{"name":"@a-la/export","version":"1.4.0","description":"A set of rules for ÀLaMode to transpile ES6 export statements into module.exports assignments.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc -o README.md","e":"alanode","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"^1.2.4","alamode":"^1.9.3","catchment":"^3.3.0","documentary":"^1.25.0","erte":"^1.1.7","eslint-config-artdeco":"1.0.1","restream":"^3.7.1","yarn-s":"1.1.0","zoroaster":"^3.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.4.0","dist":{"shasum":"d7c39899e97576717ee3c04bf6904cd486549b12","size":15023,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.4.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.4.0_1556089753856_0.7898210077194405"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:25.983Z","publish_time":1556089753968,"_cnpm_publish_time":1556089753968},"1.3.1":{"name":"@a-la/export","version":"1.3.1","description":"A set of rules for ÀLaMode to transpile ES6 export statements into module.exports assignments.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build -s"},"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"1.2.4","alamode":"1.8.4","catchment":"3.2.2","documentary":"1.22.0","erte":"1.1.7","eslint-config-artdeco":"1.0.1","restream":"3.5.0","yarn-s":"1.1.0","zoroaster":"3.8.3"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.3.1","dist":{"shasum":"f7d0d49bd43fc00e2699efaa5c179a3f540f8a26","size":14224,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.3.1.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.3.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.3.1_1552593775375_0.74729744735924"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:24.323Z","publish_time":1552593775574,"_cnpm_publish_time":1552593775574},"1.3.0":{"name":"@a-la/export","version":"1.3.0","description":"A set of rules for alamode to transpile ES6 export statement into module.exports assignments.","main":"build","scripts":{"t":"zoroaster -a","test":"zoroaster -a test/spec","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build"},"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"1.2.0","alamode":"1.3.0","catchment":"3.0.1","documentary":"1.10.0","erte":"1.1.4","eslint-config-artdeco":"1.0.1","restream":"3.1.1","yarn-s":"1.1.0","zoroaster":"2.4.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.3.0","dist":{"shasum":"aaa22530315f85557331ddd2fc096b1b20d11afb","size":20148,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.3.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.3.0_1535767840705_0.9770818485275823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:22.689Z","publish_time":1535767840950,"_cnpm_publish_time":1535767840950},"1.2.2":{"name":"@a-la/export","version":"1.2.2","description":"A set of rules for alamode to transpile module.exports into ES6 export statement.","main":"build","scripts":{"t":"zoroaster -a","test":"zoroaster -a test/spec","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build"},"files":["build"],"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"1.1.1","alamode":"1.2.1","catchment":"3.0.0","documentary":"1.10.0","erte":"1.1.4","eslint-config-artdeco":"1.0.1","restream":"3.1.0","yarn-s":"1.1.0","zoroaster":"2.4.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.2.2","dist":{"shasum":"d6c26bd8de90ed97d60aa594102ebb0095a1d9af","size":19688,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.2.2.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.2.2_1535340152561_0.6126947327132846"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:20.842Z","publish_time":1535340152641,"_cnpm_publish_time":1535340152641},"1.2.1":{"name":"@a-la/export","version":"1.2.1","description":"A set of rules for alamode to transpile module.exports into ES6 export statement.","main":"build","scripts":{"t":"zoroaster -b","test":"zoroaster -b test/spec","test-build":"BABEL_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build"},"files":["build"],"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"1.0.0","alamode":"1.1.0","catchment":"3.0.0","documentary":"1.10.0","erte":"1.1.4","eslint-config-artdeco":"1.0.1","restream":"3.1.0","yarn-s":"1.1.0","zoroaster":"2.3.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.2.1","dist":{"shasum":"366ca88e43f41c9614fc03dcb945e6a20c45e64e","size":19567,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.2.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.2.1_1534914446213_0.09620114248802403"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:19.020Z","publish_time":1534914446328,"_cnpm_publish_time":1534914446328},"1.2.0":{"name":"@a-la/export","version":"1.2.0","description":"A set of rules for alamode to transpile module.exports into ES6 export statement.","main":"build","scripts":{"t":"zoroaster -b","test":"zoroaster -b test/spec","test-build":"BABEL_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build"},"files":["build"],"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"1.0.0","alamode":"1.1.0","catchment":"3.0.0","documentary":"1.10.0","erte":"1.1.4","eslint-config-artdeco":"1.0.1","restream":"3.1.0","yarn-s":"1.1.0","zoroaster":"2.3.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.2.0","dist":{"shasum":"d599fa6b8dbbd1db8bdbdb96509170d607ba51b1","size":10451,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.2.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.2.0_1534815008646_0.6768881045296959"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:17.190Z","publish_time":1534815010568,"_cnpm_publish_time":1534815010568},"1.1.0":{"name":"@a-la/export","version":"1.1.0","description":"A set of rules for alamode to transpile module.exports into ES6 export statement.","main":"build","scripts":{"t":"zoroaster -b","test":"zoroaster -b test/spec","test-build":"BABEL_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"alamode src -o build"},"files":["build"],"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"@a-la/context":"1.0.0","alamode":"1.1.0","catchment":"3.0.0","documentary":"1.10.0","erte":"1.1.4","eslint-config-artdeco":"1.0.1","restream":"3.1.0","yarn-s":"1.1.0","zoroaster":"2.3.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.1.0","dist":{"shasum":"429cd6f776a41347c47695e131d4e1727262b2ba","size":10174,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.1.0_1534792932080_0.31733544996037266"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:15.546Z","publish_time":1534792932163,"_cnpm_publish_time":1534792932163},"1.0.0":{"name":"@a-la/export","version":"1.0.0","description":"A set of rules for alamode to transpile module.exports into ES6 export statement.","main":"build","scripts":{"t":"zoroaster -b","test":"zoroaster -b test/spec","test-build":"BABEL_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js","build":"yarn-s b doc","b":"b --source-maps"},"files":["build"],"repository":{"type":"git","url":"git://github.com/a-la/export.git"},"keywords":["export","a-la"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/a-la/export/issues"},"homepage":"https://github.com/a-la/export#readme","devDependencies":{"catchment":"3.0.0","documentary":"1.8.2","erte":"1.1.4","eslint-config-artdeco":"1.0.1","mismatch":"1.0.1","restream":"3.0.0","yarn-s":"1.1.0","zoroaster":"2.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@a-la/export@1.0.0","dist":{"shasum":"0e67e97faee98763136021c4cdf59c8aa6cf7241","size":9729,"noattachment":false,"key":"/@a-la/export/-/@a-la/export-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/@a-la/export/download/@a-la/export-1.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/export_1.0.0_1533900794961_0.6939699611733057"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:19:13.909Z","publish_time":1533900795097,"_cnpm_publish_time":1533900795097}},"readme":"# @a-la/export\n\n[![npm version](https://badge.fury.io/js/%40a-la%2Fexport.svg)](https://npmjs.org/package/@a-la/export)\n\n`@a-la/export` is a a set of rules for [_Àlamode_](https://alamode.cc) to transpile [ESM](https://nodejs.org/docs/latest/api/esm.html) modules' `export` statements into [CJS](https://nodejs.org/docs/latest/api/modules.html) modules' `module.exports` statements in Node.js.\n\n```sh\nyarn add @a-la/export\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/0.svg?sanitize=true\"></a></p>\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [Output Example](#output-example)\n  * [Unnamed Default](#unnamed-default)\n  * [Export From](#export-from)\n- [Limitations](#limitations)\n- [Checklist](#checklist)\n- [Positions Preservation](#positions-preservation)\n- [Copyright](#copyright)\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/1.svg?sanitize=true\"></a></p>\n\n## API\n\nThe _ÀLaImport_ is the default export and an array containing a sequence of rules for [_Replaceable_](https://github.com/artdecocode/restream#replaceable-class).\n\n```js\nimport ÀLaExport from '@a-la/import'\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/2.svg?sanitize=true\"></a></p>\n\n## Output Example\n\nThe set of rules changes `export` to `module.exports` statements. `module.exports` will be assigned the value of the `default` export if it is present, and all named exports will be assigned to `module.exports` after that.\n\n<table>\n<tr>\n  <th>Input (<a href=\"example/exports.js\">view source</a>)</th>\n  <th>Output</th>\n</tr>\n<tr>\n  <td>\n\n```js\n/**\n * Example 1.\n */\nexport const example1 = async () => {\n  console.log('named export 1')\n}\n\n/**\n * Example 2.\n */\nexport function example2() {\n  console.log('named export 2')\n}\n\n/**\n * Example 3.\n */\nfunction example3() {\n  console.log('named export 3')\n}\n\n/**\n * Example 4.\n */\nconst example4 = async () => {\n  console.log('named export 4')\n}\n\nexport { example3, example4 as alias4 }\n\n/**\n * Default Class Example.\n */\nexport default class Example {\n  /**\n   * A constructor for the example.\n   * @constructor\n   */\n  constructor() {\n    console.log('default export')\n  }\n}\n```\n\n```\n\n\n\n\n```\n\n  </td>\n  <td>\n\n```js\n/**\n * Example 1.\n */\n       const example1 = async () => {\n  console.log('named export 1')\n}\n\n/**\n * Example 2.\n */\n       function example2() {\n  console.log('named export 2')\n}\n\n/**\n * Example 3.\n */\nfunction example3() {\n  console.log('named export 3')\n}\n\n/**\n * Example 4.\n */\nconst example4 = async () => {\n  console.log('named export 4')\n}\n\n\n\n/**\n * Default Class Example.\n */\n               class Example {\n  /**\n   * A constructor for the example.\n   * @constructor\n   */\n  constructor() {\n    console.log('default export')\n  }\n}\n\n\nmodule.exports = Example\nmodule.exports.example1 = example1\nmodule.exports.example2 = example2\nmodule.exports.example3 = example3\nmodule.exports.alias4 = example4\n```\n  </td>\n</tr>\n</table>\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/3.svg?sanitize=true\" width=\"20\"></a></p>\n\n### Unnamed Default\n\nWhen there's an unnamed default such as `export default class {}` or `export default async function () {}`, it will be replaced in place. Since all named exports will be assigned at the end anyway, there shouldn't be a problem.\n\n<table>\n<tr>\n  <th>Input (<a href=\"example/limitations/unnamed-default.js\">view source</a>)</th>\n  <th>Output</th>\n</tr>\n<tr>\n  <td>\n\n```js\nexport function example1() {}\n\nexport default class {\n  /**\n   * An unnamed default class.\n   */\n  constructor() {}\n}\n\nexport function example2() {}\n```\n\n```\n\n```\n  </td>\n  <td>\n\n```js\nfunction example1() {}\n\nmodule.exports=class {\n  /**\n   * An unnamed default class.\n   */\n  constructor() {}\n}\n\n       function example2() {}\n\nmodule.exports.example1 = example1\nmodule.exports.example2 = example2\n```\n  </td>\n</tr>\n</table>\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/4.svg?sanitize=true\" width=\"20\"></a></p>\n\n### Export From\n\nWhen exporting from another module, some private internal variables are created. It is currently not possible to export a `default` either as named, or as `default` from more than one module.\n\n<table>\n<tr>\n  <th>Input (<a href=\"example/from.js\">view source</a>)</th>\n  <th>Output</th>\n</tr>\n<tr>\n  <td>\n\n```js\nexport const example = () => {}\n\nexport {\n  default,\n  example2,\n  example3 as alias3,\n} from 'test'\n```\n\n```\n\n\n\n```\n  </td>\n  <td>\n\n```js\nconst example = () => {}\n\n\n\n\n\nconst $test = require('test');\n\n\nmodule.exports = $test\nmodule.exports.example = example\nmodule.exports.example2 = $test.example2\nmodule.exports.alias3 = $test.example3\n```\n\n  </td>\n</tr>\n</table>\n\n<table>\n<tr>\n  <th>Input (<a href=\"example/from-2.js\">view source</a>)</th>\n  <th>Output</th>\n</tr>\n<tr>\n  <td>\n\n```js\nexport const example = () => {}\n\nexport {\n  default as example2,\n} from 'test'\n```\n\n```\n\n```\n  </td>\n  <td>\n\n```js\nconst example = () => {}\n\n\n\nconst $test = require('test');\n\n\nmodule.exports.example = example\nmodule.exports.example2 = $test\n```\n  </td>\n</tr>\n</table>\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/5.svg?sanitize=true\"></a></p>\n\n## Limitations\n\n- If the default export is a primitive type such as boolean or number, it is not possible to use named exports as well, because `module.exports` will be binded to the primitive, and further assignments to `module.exports.namedExport` will not have any effect.\n\n    ```js\n    module.exports = 'STRING' // primitive (string)\n    module.exports.example = function () {}\n    console.log(module.exports.example) // undefined\n    ```\n\n- Serial exports of declarations are not possible as it's difficult to parse them using a regular expression.\n\n    ```js\n    // not possible\n    export const\n      a = 'test',\n      b = () => {}\n    ```\n- When using the `export from` statement, a private variable for the targeted module will be created, e.g., `export { default } from test` will create `const $test = require('test')` variable, therefore a collision could happen if a variable with such name was declared in the code.\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/6.svg?sanitize=true\"></a></p>\n\n\n## Checklist\n\n- [x] `export { name1, name2, …, nameN };`\n- [x] `export { variable1 as name1, variable2 as name2, …, nameN };`\n- [x] `export let name1, name2, …, nameN; // also var, const`\n- [ ] `export let name1 = …, name2 = …, …, nameN; // also var, const`\n- [x] `export function FunctionName(){...}`\n- [x] `export class ClassName {...}`\n\n- [x] `export default expression;`\n- [x] `export default function (…) { … } // also class, function*`\n- [x] `export default function name1(…) { … } // also class, function*`\n- [x] `export { name1 as default, … };`\n\n- [ ] `export * from …;`\n- [x] `export { name1, name2, …, nameN } from …;`\n- [x] `export { import1 as name1, import2 as name2, …, nameN } from …;`\n- [x] `export { default } from …;`\n\n- [ ] Make sure that comments like `export function(/* string */ adc) {}` are functional.\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/7.svg?sanitize=true\"></a></p>\n\n## Positions Preservation\n\nThe transform will attempt to preserve line and column numbers as they are for easier generation of source maps by `alamode`. In future, this might change.\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\"/.documentary/section-breaks/-1.svg?sanitize=true\"></a></p>\n\n## Copyright\n\n<table>\n  <tr>\n    <th>\n      <a href=\"https://artd.eco\">\n        <img src=\"https://raw.githubusercontent.com/wrote/wrote/master/images/artdeco.png\" alt=\"Art Deco\" />\n      </a>\n    </th>\n    <th>© <a href=\"https://artd.eco\">Art Deco</a> for <a href=\"https://alamode.cc\">À La Mode</a> 2019</th>\n    <th>\n      <a href=\"https://www.technation.sucks\" title=\"Tech Nation Visa\">\n        <img src=\"https://raw.githubusercontent.com/artdecoweb/www.technation.sucks/master/anim.gif\"\n          alt=\"Tech Nation Visa\" />\n      </a>\n    </th>\n    <th><a href=\"https://www.technation.sucks\">Tech Nation Visa Sucks</a></th>\n  </tr>\n</table>","_attachments":{},"homepage":"https://github.com/a-la/export#readme","bugs":{"url":"https://github.com/a-la/export/issues"},"license":"MIT"}