{"name":"babel-plugin-remove-export-keywords","version":"2.0.0-ci.35","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":"a3ccc0d986cab6022357de32edc15d0ccc57fc4c","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.35","_nodeVersion":"14.17.6","_npmVersion":"lerna/3.22.1/node@v14.17.6+x64 (linux)","dist":{"integrity":"sha512-2Npu5NeTTRtjRsxNAIfqNQkOePcN827rkL9S46LC4eMN+/SmmLSxezHH51XssdtwgtJHNUwvcCgihPcWuoYFGg==","shasum":"a3a4e80fcdb5f97374ff793ff227eea71517d79b","tarball":"http://registry-npm.ywwl.com/babel-plugin-remove-export-keywords/download/babel-plugin-remove-export-keywords-2.0.0-ci.35.tgz","fileCount":4,"unpackedSize":4173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN3xXCRA9TVsSAnZWagAAR68P/3ill5N+Ak8rGAWg2KpN\nHLUhRnwdb6ThjLjufghIIEgolNuY/hcBInCkICgOFm+crf0FQrSneRSQNDt6\nwd0xdf/dtXODt1fnTfF5B9F9gSXs2TasMAp+vGom381JDxKXi4Qok43CQIG2\nLIwKu7a+XxSdqRai0G0Ic6u1J09hYVRd/wBHhGz87DRqnMzbxpuIxmWK25XO\nL7oe+SWT0ereUUycMP9hcmw2B3b6sOD8+lupIrPJodIP7kDqgtYl7rnKt+SZ\nbh0zuxAwZnFpQPA+UgXK1AMfnXqPUChY+0Kd+7z6942SocoqIBRj5YA2nro4\nxK79oAC+ZWQX1/Hl9wgfUziQabN+g7YymMKj3sFVCoinWW71nzb/atE0jsNh\nBrEWmviMwtXOHFzDGwCMnUBqW7taLAsfB8LT78Tv2JW8nq+cl6GvJR+dhALe\n298YiETL/jF3q1uD0U1IjEEffnFWiVEyP6A7w5AF5u9nmH0vpX2VmUpv1GYL\n/Fu0TPs/4py+r2EcpcNzOE1UIcxSRgjj57SeIzhtNTuQxK649iYDHokIBu2i\nPEezODl1IBUCayfuvYHCXPIRLkISX6MmzQOrzxtCeq3frO3YSjTEk0yYmDeL\nMVRpMHUJe99M1FPzmHoJtTuqvBunyeV+I1tBuqe+bkmihsAj5PncrcfZJHJL\nPNi7\r\n=MKB+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu+bIKbXmaq+XAyQhCEUSSo4oV2+OVCzm44XmDqitaeQIhAOq+g5xAuRuwfYErpmAovI9yppx0TSfkgDJTz4s4wk8P"}],"size":2095,"noattachment":false,"key":"/babel-plugin-remove-export-keywords/-/babel-plugin-remove-export-keywords-2.0.0-ci.35.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.35_1631026263119_0.24335280809239213"},"_hasShrinkwrap":false,"publish_time":1631026263309,"_cnpm_publish_time":1631026263309,"dist-tags":{"ci":"2.0.0-ci.50","latest":"2.0.0","next":"2.0.0-next.9"}}