{"_id":"@aitodotai/mdx-js-runtime","_rev":"2-11932dc109f0cea47846914d8cbeb97e","name":"@aitodotai/mdx-js-runtime","dist-tags":{"latest":"0.19.1-alpha.0"},"versions":{"0.19.0-alpha.0":{"name":"@aitodotai/mdx-js-runtime","version":"0.19.0-alpha.0","description":"Parse and render MDX in a runtime environment","license":"MIT","keywords":["mdx","markdown","react","jsx","remark","mdxast"],"homepage":"https://mdxjs.com","repository":{"type":"git","url":"git+https://github.com/mdx-js/mdx.git"},"bugs":{"url":"https://github.com/mdx-js/mdx/issues"},"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},"contributors":[{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},{"name":"Tim Neutkens","email":"tim@zeit.co"},{"name":"Matija Marohnić","email":"matija.marohnic@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist","scripts":{"build":"babel src -d dist","clean":"rimraf dist","prepublish":"yarn clean && yarn build","test":"jest"},"dependencies":{"@mdx-js/mdx":"^0.18.2","@mdx-js/tag":"^0.18.0","buble":"^0.19.6"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","jest":"^23.6.0","react":"^16.6.3","react-dom":"^16.6.3","rehype-add-classes":"^1.0.0","remark":"^10.0.1","remark-autolink-headings":"^5.0.0","remark-slug":"^5.1.0","rimraf":"^2.6.3"},"jest":{"testEnvironment":"node"},"gitHead":"fb30e5f4d78a4ecf515610c93561f81348467865","_id":"@aitodotai/mdx-js-runtime@0.19.0-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"kimmobrunfeldt","email":"kimmo.brunfeldt+public@gmail.com"},"dist":{"integrity":"sha512-K69bGQ/NlKYrgcMEuWeZiAelDbmk7y1PLKtBGWiEmfx2Ml5KDlWCjk3hk17oKpvMmyO6y4Mz12USoX2vxp6+Bw==","shasum":"7c8a09440e11caa7e62aea7de03f712b46e81655","tarball":"https://registry.npmjs.org/@aitodotai/mdx-js-runtime/-/mdx-js-runtime-0.19.0-alpha.0.tgz","fileCount":5,"unpackedSize":8281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcd9WLCRA9TVsSAnZWagAAxEYQAIt2ndKyQLTzg4BYmxyG\nGYfDhJEDtMGwn/QNRWxfWDXkB9jFMWfWrxvLg4GKDeiwUEcdxOGVF9XrRq7D\n11reDnOSsM88PmoBnZTGPxIjR54gdQHjVlXa09jRZHzM4ry3nOk3kDybR+Bm\nArPy42qNmuiDk0ni3IaP45pVDoE5kdbNHJVtwQuoyXr0e66IHhbDsaV2KSs3\n8SLmdhc7kvx64T9Ow2/mS2C1p2b1pBHBhZ6AB4510OAj5IGU30szo4/BtIt2\nIGEQY7MwfzF6aPLAIuRS+UAvfhg7HDUfaVQCWNu8EHUEWL/zgd3vHx8wNuI1\n4hm6jBMzwpzhxfSVf9MScVXSXxT52IxJErQW+MJeWWWjFUhkovKvRUyM7GQT\nVPQ/VSJ2kyDfASFiqr7YvJyJawsqZi524JhhCpUEhUEfYf+Z+AdBG2aEV8sR\n+QinfOAaO55/G2lbsrLBebkjSgJPQGS5oCRhi2AtZdcwapvmkG174E8tJC22\nVagRd0M+e7Av/rczKHUu5cEjMEnerfHb7/YTwB4p5lKkPwfw7dzVhSF5Qa8n\nuxRdUCXzMZYYIm8tfy9hUWoULBEc4w+AVtOmBB9lqouXqGvQx5fLOxndPmMb\nFQaCUjFoiwsmlqfgxKZhm/Smrck70XEhHygktzAsfs4dgzVuaIx6MD/UUyB7\nWs++\r\n=hr4I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG44diuAVnSqqhwGLWu1xTJqx6A5jvr7XxJfaDSqi86QIgMLfuggwlfci00f57k7DuMMhXKLU3MVon8FsVlmpnWHA="}]},"maintainers":[{"name":"cventus","email":"christoffer@aito.ai"},{"name":"kaiinkinen","email":"kai.inkinen@gmail.com"},{"name":"tri.nguyen","email":"tri.nguyen@aito.ai"},{"name":"phuch","email":"hongphuc0226@gmail.com"},{"name":"ollkan","email":"olli.kanerva@aito.ai"},{"name":"kimmobrunfeldt","email":"kimmo.brunfeldt+public@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdx-js-runtime_0.19.0-alpha.0_1551357322780_0.9982280582354317"},"_hasShrinkwrap":false},"0.19.1-alpha.0":{"name":"@aitodotai/mdx-js-runtime","version":"0.19.1-alpha.0","description":"Parse and render MDX in a runtime environment","license":"MIT","keywords":["mdx","markdown","react","jsx","remark","mdxast"],"homepage":"https://mdxjs.com","repository":{"type":"git","url":"git+https://github.com/mdx-js/mdx.git"},"bugs":{"url":"https://github.com/mdx-js/mdx/issues"},"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},"contributors":[{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},{"name":"Tim Neutkens","email":"tim@zeit.co"},{"name":"Matija Marohnić","email":"matija.marohnic@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist","scripts":{"build":"babel src -d dist","clean":"rimraf dist","prepublish":"yarn clean && yarn build","test":"jest"},"dependencies":{"@aitodotai/mdx-js-mdx":"0.19.0-alpha.0","@mdx-js/tag":"^0.18.0","buble":"^0.19.6"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","jest":"^23.6.0","react":"^16.6.3","react-dom":"^16.6.3","rehype-add-classes":"^1.0.0","remark":"^10.0.1","remark-autolink-headings":"^5.0.0","remark-slug":"^5.1.0","rimraf":"^2.6.3"},"jest":{"testEnvironment":"node"},"gitHead":"b7ddcac500cfa6f5c56fadf7f9bb0f54e1d33927","_id":"@aitodotai/mdx-js-runtime@0.19.1-alpha.0","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.13.1/node@v10.15.1+x64 (darwin)","dist":{"integrity":"sha512-DX7vCaFsyIK312mMvujjRqXs0DRdir1d0aCzzpEB3MkID9Zq1eKtIf7/dmNGY9TKhfy4TQcYzMGfifmZyI6YcQ==","shasum":"7f2270f4055fa9f2f50ce7e18f988ee73ff4ad4d","tarball":"https://registry.npmjs.org/@aitodotai/mdx-js-runtime/-/mdx-js-runtime-0.19.1-alpha.0.tgz","fileCount":5,"unpackedSize":8338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcd9iICRA9TVsSAnZWagAAFOwQAIRADPVXATVWyeDjzO+D\nPZalI0lU3iezmbufWCcaOQAsZunnZ/gvWEafKPSnufvPBgoVJjuK5GSoxsHJ\nBOn3fqBJ+RZjWohzZBZiQ5f9RuMBWaRUiFyRVaGJ09fE82BxEdxgkrFuiuXl\n8Aenjl/fx9k6beIxqR199Sksasr4uCJYYx1OJ8jrwrMfEUv7c3DqsM9xkN94\nI4kL7F8TfLfElVx42r+dbhqmyvNSj+9LnL8lUSRU/oV4afcVJsWdRapWajpC\nPYBHujXvUQifrNoCfNq6C/KRnnz9yPNQLBnw2TF8AUOYSvoT9joNrBysVaih\n+RJAmnFQWBvQkqUSerhuEGobh01KrVOjkqIqemuwcsxDhpY6OR3xVnH/z2VJ\nb96LT1Q4ti+C9K6SEKlpp4BK+meaLz0jsSlCtNCFQiI3WTHc5PAOt0Qqw12I\nm4WN4We/h3dZNlY9dADZ1yei3nK0UywoAh/iggE7jXrh9OFu9vDgjFUglYcb\nnebXYmv+m4Xvk/mrkEDOqwzl4FPbA+O9ReztQpHqSjKtlp6wSCbSrkKi3po3\nBG7pRU0wrYfkCL2P37OzVWWMl9ild0Cr2jka+fODlA01VdALLfTs5d3dJvN+\njbXX7kXh8++eQ0E5JMy3wy+jLFWjlrhwbHzYAyJMAVWUsR9QoCV2vaZhKy3U\nOxVO\r\n=mXiw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/u21KqrvJu+arZkqgNxOcIDWgPwOx7fY1DP9dWNO7mgIhAOlwEMKP92xZ6UYeVYlQthj+hCDj9pRS//Tmqefi0DyG"}]},"maintainers":[{"name":"cventus","email":"christoffer@aito.ai"},{"name":"kaiinkinen","email":"kai.inkinen@gmail.com"},{"name":"kimmobrunfeldt","email":"kimmo.brunfeldt+public@gmail.com"},{"name":"ollkan","email":"olli.kanerva@aito.ai"},{"name":"phuch","email":"hongphuc0226@gmail.com"},{"name":"tri.nguyen","email":"tri.nguyen@aito.ai"}],"_npmUser":{"name":"kimmobrunfeldt","email":"kimmo.brunfeldt+public@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdx-js-runtime_0.19.1-alpha.0_1551358087881_0.04411875430000922"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-28T12:35:22.611Z","0.19.0-alpha.0":"2019-02-28T12:35:22.938Z","modified":"2022-04-04T12:25:34.722Z","0.19.1-alpha.0":"2019-02-28T12:48:07.975Z"},"maintainers":[{"name":"cventus","email":"christoffer@aito.ai"},{"name":"kaiinkinen","email":"kai.inkinen@gmail.com"},{"name":"kimmobrunfeldt","email":"kimmo.brunfeldt+public@gmail.com"},{"name":"ollkan","email":"olli.kanerva@aito.ai"},{"name":"phuch","email":"hongphuc0226@gmail.com"},{"name":"tri.nguyen","email":"tri.nguyen@aito.ai"}],"description":"Parse and render MDX in a runtime environment","homepage":"https://mdxjs.com","keywords":["mdx","markdown","react","jsx","remark","mdxast"],"repository":{"type":"git","url":"git+https://github.com/mdx-js/mdx.git"},"contributors":[{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},{"name":"Tim Neutkens","email":"tim@zeit.co"},{"name":"Matija Marohnić","email":"matija.marohnic@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com"},"bugs":{"url":"https://github.com/mdx-js/mdx/issues"},"license":"MIT","readme":"# `@mdx-js/runtime`\n\n[![Build Status][build-badge]][build]\n[![lerna][lerna-badge]][lerna]\n[![Join the community on Spectrum][spectrum-badge]][spectrum]\n\nParse and render [MDX][] in a runtime environment.\n\n> :warning: **warning**: this is not the preferred way to use MDX since it\n> introduces a substantial amount of overhead and dramatically increases\n> bundle sizes.\n> It should also not be used with user input that isn’t sandboxed.\n\n## Installation\n\n[npm][]:\n\n```sh\nnpm i -S @mdx-js/runtime\n```\n\n## Usage\n\n```jsx\nimport React from 'react'\nimport MDX from '@mdx-js/runtime'\n\n// Provide custom components for markdown elements\nconst components = {\n  h1: props => <h1 style={{ color: 'tomato' }} {...props} />\n}\n\n// Provide custom components that will be referenced as JSX\n// in the markdown string\nconst scope = {\n  Demo: props => <h1>This is a demo component</h1>\n}\n\nconst mdx = `\n# Hello, world!\n\n<Demo />\n`\n\nexport default () => (\n  <MDX components={components} scope={scope}>{mdx}</MDX>\n)\n```\n\n## Contribute\n\nSee [`contributing.md` in `mdx-js/mdx`][contributing] for ways to get started.\n\nThis organisation has a [Code of Conduct][coc].\nBy interacting with this repository, organisation, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][] © [Compositor][] and [ZEIT][]\n\n<!-- Definitions -->\n\n[build]: https://travis-ci.org/mdx-js/mdx\n\n[build-badge]: https://travis-ci.org/mdx-js/mdx.svg?branch=master\n\n[lerna]: https://lernajs.io/\n\n[lerna-badge]: https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg\n\n[spectrum]: https://spectrum.chat/mdx\n\n[spectrum-badge]: https://withspectrum.github.io/badge/badge.svg\n\n[contributing]: https://github.com/mdx-js/mdx/blob/master/contributing.md\n\n[coc]: https://github.com/mdx-js/mdx/blob/master/code-of-conduct.md\n\n[mit]: license\n\n[compositor]: https://compositor.io\n\n[zeit]: https://zeit.co\n\n[mdx]: https://github.com/mdx-js/mdx\n\n[npm]: https://docs.npmjs.com/cli/install\n","readmeFilename":"readme.md"}