{"name":"babel-plugin-remove-export-keywords","version":"2.0.0-ci.43","description":"Remove plugin export keywords","repository":{"type":"git","url":"git+https://github.com/mdx-js/mdx.git"},"homepage":"https://mdxjs.com","bugs":{"url":"https://github.com/mdx-js/mdx/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},"contributors":[{"name":"JounQin","email":"admin@1stg.me","url":"https://www.1stg.me"}],"license":"MIT","keywords":["mdx","markdown","react","jsx","remark","babel"],"scripts":{"test-api":"uvu test \"\\.jsx?$\"","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"yarn test-coverage"},"gitHead":"e3d94388cf428fdaefeca3fe26abe313de1a87c0","readme":"# babel-plugin-remove-export-keywords\n\n[![Build][build-badge]][build]\n[![Downloads][downloads-badge]][downloads]\n[![Sponsors][sponsors-badge]][opencollective]\n[![Backers][backers-badge]][opencollective]\n[![Chat][chat-badge]][chat]\n\nBabel plugin to remove all export statements.\nUsed by [MDX][].\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install babel-plugin-remove-export-keywords\n```\n\n[yarn][]:\n\n```sh\nyarn add babel-plugin-remove-export-keywords\n```\n\n## Use\n\nSay we have the following code in `input.jsx`:\n\n```js\nexport const Foo = () => (\n  <div>\n    <Button />\n  </div>\n)\n```\n\nAnd our script, `example.js`:\n\n```js\nconst fs = require('fs')\nconst babel = require('@babel/core')\nconst removeExportKeywords = require('babel-plugin-remove-export-keywords')\n\nconst result = babel.transformSync(fs.readFileSync('./input.jsx'), {\n  configFile: false,\n  plugins: ['@babel/plugin-syntax-jsx', removeExportKeywords]\n})\n\nconsole.log(result.code)\n```\n\nNow, running `node example` yields:\n\n```jsx\nconst Foo = () => (\n  <div>\n    <Button />\n  </div>\n)\n```\n\n## API\n\n### `removeExportKeywords`\n\nPlugin for Babel to remove `export` keywords.\n\n## License\n\nMIT\n\n[build-badge]: https://github.com/mdx-js/mdx/workflows/CI/badge.svg\n[build]: https://github.com/mdx-js/mdx/actions\n[downloads-badge]: https://img.shields.io/npm/dm/babel-plugin-remove-export-keywords.svg\n[downloads]: https://www.npmjs.com/package/babel-plugin-remove-export-keywords\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n[opencollective]: https://opencollective.com/unified\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n[chat]: https://github.com/mdx-js/mdx/discussions\n[mdx]: https://mdxjs.com\n[npm]: https://docs.npmjs.com/cli/install\n[yarn]: https://yarnpkg.com/cli/add\n","readmeFilename":"readme.md","_id":"babel-plugin-remove-export-keywords@2.0.0-ci.43","_nodeVersion":"12.9.0","_npmVersion":"lerna/4.0.0/node@v12.9.0+x64 (linux)","dist":{"integrity":"sha512-n53PakH8PsP4hQ6yqih+LxLLei7GxiS9/aPKT+2h+OpKuSv0GIgOiHtUNGzcwtMTGxk8EybGfmwTr5IzrscX6g==","shasum":"fb5d88ff37cf2740e649777f48262ebb75c8b823","tarball":"http://registry-npm.ywwl.com/babel-plugin-remove-export-keywords/download/babel-plugin-remove-export-keywords-2.0.0-ci.43.tgz","fileCount":4,"unpackedSize":4132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPlXJCRA9TVsSAnZWagAAa0MP/1KxKMY//YZwB43Va/+Z\nsqFcZ3quelsv09wr5XTzbsENsQqNhrYIn3CBVx2VNtaNEq0GHZoWdwHwCw4N\nXHi1CfUBtMhzQKjGfqUopF1xB6F5KWin7DjYarIWZWKWGesVP3TwWI0MekTW\nz1D+UDF6nlr0E7DdR/q0HlZmoAUZmmWCXxVDbMQZU6XaKiluSIaSujVP+DlA\nU0xppyNMsjofG11yjTBCNPQiZFH9i/deIAYS41+rl4G5GrTcx29Zjca2vbUD\nqhA3K1VBnNcZ6l3b81F0NrghsNqr4JC+XHro6X4vsaqLaEV2JRl0LcHKNX9z\nFCjeCi7mQf4c+ZvGqbtPUBX7NpjBoO4FuM6nTaxh1N8T/yDajHsGQzoPkEZK\n+MGFn7kD/W6KjPZcDWFyLFJo2PeGOWq56DR30Xl0V+XE7TvnLlDSWRUBMyeC\nXHpMJKL9txvpUftk2BU3Q0AOxxFe0m2zh7tWbR5JegMG0EjfDGTP+XFr30Gg\n8rfeqhpRgWmCzJ+OyF9se1jjleCfYpDocy3LHDEhtWOEf6+7GxYJIuu86gzl\nsbTZcVrBMH43Tg+8yPpU+OjmbonrS+MZhQE57kDQqHlhr2PTE0ojv0xMokfk\nedoWuh6GEvG2yZJbyazqXtBoJunXWoKu6SgTb1Dm+S9806oqzI59WKMC4EPz\no8Cn\r\n=fc/G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwPJ6EsGTQAhWBj44HxuZfg7czZoq1dqg2nC6iVKR4/AiAHxO2bIJMS2q0mmCme6K87ToEH/6nufwTXZw8QSU6CrA=="}],"size":2088,"noattachment":false,"key":"/babel-plugin-remove-export-keywords/-/babel-plugin-remove-export-keywords-2.0.0-ci.43.tgz"},"_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"silvenon","email":"matija.marohnic@gmail.com"},{"name":"timneutkens","email":"tim@timneutkens.nl"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-remove-export-keywords_2.0.0-ci.43_1631475145308_0.6700397562074485"},"_hasShrinkwrap":false,"publish_time":1631475145425,"_cnpm_publish_time":1631475145425,"dist-tags":{"ci":"2.0.0-ci.50","latest":"2.0.0","next":"2.0.0-next.9"}}