{"name":"babel-plugin-remove-export-keywords","version":"2.0.0-ci.50","description":"Remove export keywords","repository":{"type":"git","url":"git+https://github.com/mdx-js/mdx.git","directory":"packages/babel-plugin-remove-export-keywords"},"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":"356608478afdf58e76f69d2b9bc1731fa98ac2cd","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.50","_nodeVersion":"12.9.0","_npmVersion":"lerna/4.0.0/node@v12.9.0+x64 (linux)","dist":{"integrity":"sha512-mJhJ5kC31GQsxWD6dhWKjRcVXEoKot2xT4KsZ6+nzA+U0DRFpwcpwWK5D3ISjHgooZZ4sFIuw3Z/Fg7IZi4/LQ==","shasum":"144ca3bde07798a09eb3191139cf382d8fae7102","tarball":"http://registry-npm.ywwl.com/babel-plugin-remove-export-keywords/download/babel-plugin-remove-export-keywords-2.0.0-ci.50.tgz","fileCount":4,"unpackedSize":4245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhP14rCRA9TVsSAnZWagAAx5EP/iOROJwJDaNkKxMQeZ4F\nuPKi3DUDhT5zTrloqLPvlU35W+mhvKhcMHgnNYn2C8X0mE9WEDRijFnyA0wS\nugNoL24r8sJzfqQfv73ZEcjGcuR8KB/kWsDueP3CwazKc8FhkYfg7e1Xt5IQ\n5j87gBlbQLwoGl1AXAihoD8pL6CB1B/GaYiPyZWCV3vCZqPUcsfeUfvNBaDs\ngA3AZmdUszhoKg8myawCsSTOjKeyqOsuWPck2PJgJQTsN/Tvhvh0lXD+GYic\nfbNyj1JgrxJa6z+2dex0M/Hrn0aTk0JI9d0d6i/aIpvIslHIFiaaObcD8lLF\nOgcfAnH5HaYG51tVIDOdOjGmYUdVQmjPaNZpOuy3UREZmr18KK9q0YrGptA5\nGJ4Pp057tnm+g0LvHCC1al9IvDPgzyKXOBitW7er9HDlwDO4bRgU/2OOHSUC\nPBnfWVcnR5B9ynEKuvm8L94XfjaDvT+llVSHwYfVGXSH1ek9onpkVTWXMo6K\nCR9usL8cz3f/jYO/xrE4H6L7C54TDt7LnR5Q7R0yRH1z60Edft0GC8tOv/Io\nqG/l9gv3HWwqfCH+d757Uwg4VTX8/5mTsn1I2U6/drpR/GO/rr6N5ZtXp37Z\nk0+oPSKLPTmdWg3tMYcOLIW+SwxgHQMfDnL6wAKJNbnzadEi1Y8RLIE5RiPZ\nZ6fD\r\n=UR69\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnTzb5dMfjBMtZw8N48da6rlIBpXeUtH0ekH51uAdnJAiEAp8lBWUrkIwo5N4KzynCoArEwDGyJ+jYGW4IxR5azp7g="}],"size":2108,"noattachment":false,"key":"/babel-plugin-remove-export-keywords/-/babel-plugin-remove-export-keywords-2.0.0-ci.50.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.50_1631542827299_0.26372761673535505"},"_hasShrinkwrap":false,"publish_time":1631542827712,"_cnpm_publish_time":1631542827712,"dist-tags":{"ci":"2.0.0-ci.50","latest":"2.0.0","next":"2.0.0-next.9"}}