{"name":"@mdx-js/runtime","version":"2.0.0","_id":"@mdx-js/runtime@2.0.0","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"timneutkens","email":"timneutkens@icloud.com"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/mdx-js/mdx#readme","bugs":{"url":"https://github.com/mdx-js/mdx/issues"},"dist":{"shasum":"e4fef69db1041c7343f6181ae6ae20e0b89a6fea","tarball":"http://registry-npm.ywwl.com/@mdx-js/runtime/download/@mdx-js/runtime-2.0.0.tgz","fileCount":2,"integrity":"sha512-ZrAldfS/tlYyUEjJJMj186c/U5X6Ty/855bPn82rEwuucaLSoE/TpR07TPWefa5ySadN0mau2tZIryctV6BseA==","signatures":[{"sig":"MEQCIG1pc7uKAwCCSYtrh1ITOJz8aho3qmTWmiM3SJTYNUSDAiB5Aq/WWLyvxOJElEJbVCo0MR9gsWNZA0vx3XuKpcKNUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":642,"size":510,"noattachment":false,"key":"/@mdx-js/runtime/-/@mdx-js/runtime-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/mdx-js/mdx.git","type":"git"},"_npmVersion":"10.9.0","description":"Deprecated: this package is no longer maintained.","directories":{},"_nodeVersion":"22.7.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/runtime_2.0.0_1728485955540_0.17313318949048928","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: use `evaluate` from `@mdx-js/mdx` instead","readme":"# @mdx-js/runtime\n\nDeprecated: this package is no longer maintained.\n\nYou can use [`@mdx-js/mdx`](https://mdxjs.com/packages/mdx/#evaluatefile-options)\nitself to compile *and* run:\n\n```jsx\nimport {evaluate} from '@mdx-js/mdx'\nimport * as runtime from 'react/jsx-runtime'\n\nconst components = {\n  h1: props => <h1 style={{color: 'tomato'}} {...props} />\n}\n\nconst document = `\n# Hello, world!\n`\n\nconst {default: Content} = await evaluate(document, runtime)\n\nconsole.log(<Content components={components} />)\n```\n","publish_time":1728485955751,"_cnpm_publish_time":1728485955751,"dist-tags":{"ci":"2.0.0-ci.53","latest":"2.0.0","next":"2.0.0-next.9"}}