{"_id":"hast-util-to-jsx-runtime","_rev":"16-fda89040be3654c43bfa2e94471b8beb","name":"hast-util-to-jsx-runtime","dist-tags":{"latest":"2.3.6"},"versions":{"1.0.0":{"name":"hast-util-to-jsx-runtime","version":"1.0.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@1.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"n/file-extension-in-import":"off"},"prettier":true},"dist":{"shasum":"c7e0409e592d70821d68b17f278d524b6db9eb28","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-1.0.0.tgz","fileCount":7,"integrity":"sha512-q+UZZT6dQBF5nXH/Dtj89gVozjVpzbUPz+rq5FXOKInVQ3gRyYXunyTF2A+pFT6rZNBFC8ogiifO3pjJG2BJ9g==","signatures":[{"sig":"MEQCICTdttpz7W8FhpVBHwBVU2ndH3+JeJeZJW71sLrK/O7KAiB+VbEHky7oJnQSz8VfVBmZmdzxB59oKWBKuMn70cVkPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwuOvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGTg//SHXCaFcMGSkwh+Vfs/nD374xFkunUbOCSQ35OHRG5tOmmiZ6\r\n3+Hyp1ENPT6yW9YDNuObqYQWzrxsZVyhlBwxfP+mRL85ZyduXoz/3+gs8oQH\r\nONXfoTaw2RjM+2CUNtJvjo0Mmqv1myHEhzumRURCxIWFGzvWKPbHllTC2Vix\r\nFVCDtIZaq26+lvmEt1xThMbeplKS5oNDojKbXlpSbbyIkaStEWrq0SmnNc0t\r\nnGYnLeM1k8k5fDDSyNOnP9xmcVDDFN3eS4ut3BagQGxSLWeFZu6tDk6IQmB8\r\nWLCURAb4BqKFC2PBwQnQ8cJWYd9MyXKvspkfdTnr62I89ykaHENCOcSXtWbv\r\n0+L+ql3wHfMDFRvrdWdfTrfdzUTFw6EfzprLhdASGlXmRg/0dYzTk5TJ93n9\r\noVK8732PanX1IyHP4HGi+JTagpxqzMVKx3gLqoTxHZ3axnpt5WTWTdFiWUUA\r\nxeSd0wKYrVVObkc+u/NthKVA0j2/yGjJ6MNOei8eqeN4NlL/4fw02pzmsRe3\r\n6evJDcRjmfMTfgeYE5YUILabGybfw44yLtfKeCeaXryOLbDAykhSuWtvVUxo\r\n5c3N23Xkhw22c6ALAWrmJa0AZJSOMMPNAi9Rbjex99WYpAK6CUuLH2ZBRUYr\r\ngwc00gSszgm4ptEIUL6isADAD16lbdTo5wE=\r\n=7gcI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"168f0ddd7b19b93df52536d876162beda0177936","scripts":{"test":"npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run build && npm run format","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.2.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"19.3.0","dependencies":{"@types/hast":"^2.0.0","@types/unist":"^2.0.0","vfile-message":"^3.0.0","style-to-object":"^0.4.0","unist-util-position":"^4.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.53.0","react":"^18.0.0","prettier":"^2.0.0","react-dom":"^18.0.0","hastscript":"^7.0.0","remark-cli":"^11.0.0","typescript":"^4.0.0","@types/node":"^18.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_1.0.0_1673716655180_0.8501237064254048","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"hast-util-to-jsx-runtime","version":"1.0.1","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@1.0.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"n/file-extension-in-import":"off"},"prettier":true},"dist":{"shasum":"650b52bd8c0ca1fa52f650ecb385af743162129f","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-1.0.1.tgz","fileCount":7,"integrity":"sha512-7IP6rv3LMqZS9xCVhjbsdFFZ/Yi9i8pImAA7GUGowOj53i//iCNMN1YR+Tzmqlms8w8tlUTao+yO9IgouEg4Rw==","signatures":[{"sig":"MEQCIEsxy++7IWfDVNyJ0k9lMIie6jYYegCqi9lzWhHDEB6iAiBAwBDca9QQU4nVxmU1LQevTsDatN4akN/z4O2Ir5gWjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxnK+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKOxAAnOGGARp4Dj3CdQdvfgAlnthe8qtklZK1EKJ52EO3VGk8s1b3\r\n10YYL8h1Jg2Gwh60fFkIE6TQd18yPtZDge6ji8hwrh52aJkWKtZuI4h0WRFi\r\nLqkrtqNb7wZk6khYLofINzr4GmG4OdpWDUV7+9hVQhE//rYekpLeR+DFDQTy\r\nkbxqNfC/pwru0gOstj9k+kkWQtJxM6EJaIlg/iX6vUjet0lEZ1S29il9l/eB\r\nq/bVd0xdXEmsB3xFM8T2a54JZeiskunL1w24aW9dTry4hVgETOGLe+TfFo26\r\nG0bSI4JJuFLYJvkgFkYiM3vYhLfjZMt+JSp9cO8bnuQnEcu2vXo8EaspoE1X\r\n1jiFkYoCjTckZvvYv+aP3BomMu1oB0bGXtFyRDKh1ecUDp3eK3xK4CsEFcwX\r\nF6L56EziaNwM0R3afcdAN0/BtDl/6HBiQ6DbTbEO3QfwBOXcm1F9b+kboXRr\r\nnoY7F1GcrOT9OtljX9n0LmhslbbBByFCz0gZ32oSD0j9J1ZV19CGopNLfPmc\r\n8OAKZzeGgWP1D3THo/0nhSFfxJkdEb82B+re7uZ5ajDXNGZYkqU1F9aWcsrP\r\nl03lr44SGop+tQd5lCCkUPBGUgcNjilmObVECsdr7vwXB3BPKqLXMzBb0WOv\r\nNhDDV6EyGQvI6Zz5rSRHPTRvrupfXY0NffU=\r\n=6iOw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"4c3f9402607dde32eb39b75dd29b32060921abfc","scripts":{"test":"npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run build && npm run format","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.2.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"19.3.0","dependencies":{"@types/hast":"^2.0.0","@types/unist":"^2.0.0","vfile-message":"^3.0.0","style-to-object":"^0.4.1","unist-util-position":"^4.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.53.0","react":"^18.0.0","prettier":"^2.0.0","react-dom":"^18.0.0","hastscript":"^7.0.0","remark-cli":"^11.0.0","typescript":"^4.0.0","@types/node":"^18.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_1.0.1_1673949886657_0.8636626731227166","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"hast-util-to-jsx-runtime","version":"1.1.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@1.1.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"n/file-extension-in-import":"off","@typescript-eslint/ban-types":"off"},"prettier":true},"dist":{"shasum":"2f79eeb5796130c90ab42adf5c0125c3edec269f","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-1.1.0.tgz","fileCount":9,"integrity":"sha512-PYxJx3UGt985hyYL1RMet8bWuuzDwP3jR1JzkBKw0SDAWipw4IurzLp6LU5ROj/u+NESrlsWBZ0Kma9QG5269g==","signatures":[{"sig":"MEUCIQCxY5oE9HJvJczimPECbM2qBzRBQV8bXNO0UfDwljLKeQIgF2dUV7/GhBlxZqkY9g4iv9nK6P9hgXIpAyC4MtjOYY4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx+xPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJtA/8Dqg7X6dF0KkzqyYoBK6ZXilVrqBKrqV4JZOvaRAoZc50lE3u\r\nM6XJ/DzEKUkaaFazP6+69NAcGgeNp7k9zrRyS5AyGnlYc8LdJsZL1CAYVJbx\r\nat3KVXuAQ1hMgbqZ5lq6r/0rq8s9YWTdIlc1LXjR88qE5b6Q/kEf5sLCs1sP\r\nNuWdnwIePdQLQDoOHfLqZrdWFCq2RnGG3C9jwnpJFGNx1ibBn3jGsMKdxpvB\r\nV2MZ02DZlahIeWbw/cGKxir0zfQ+HaWxPhe75dr3y5J7w/3gTifHn3/WX7bF\r\nk2FvMkYmoZj1coLqAzQzdy83XjQ6OJa1azjOUOl9G/5h/E+MhmGPAskITGso\r\n5q9G6Wu9EOqorHfAwaQ5E0qPvQU9CGeKsN12/Hwr41u8QZcKnRrl4O+9+KkF\r\n4HOTXFCxlzDRjDwExe03yzRhjUybp0OF4+Dk0TS0xMchCXTPCRdMrZsZuGc1\r\n5AxZSgmX6pGPJfAdH1uy8WzKzncQlaFzWyWWztZbbAVYpSNIwCY1/73GhGb9\r\n6ULGrQqggJhW2VfupsYwx0HnsteaLMSiRimTsXgGO3SSyJiQpBT3kcifkn5y\r\nVwB7xccZU7PKnSBehQVaFbbXAa5xviznqLZn86OR7khXTh+ZsThBLz3ZHdjo\r\nmAuk7BPxcuPABkcX+G9VqhYONLxVQKZ5hGg=\r\n=b0Z5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"f7e6b0ac1c8b46aaeebc84a72d3654550d2fcdc0","scripts":{"test":"npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run build && npm run format","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.2.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"19.3.0","dependencies":{"@types/hast":"^2.0.0","@types/unist":"^2.0.0","vfile-message":"^3.0.0","style-to-object":"^0.4.1","unist-util-position":"^4.0.0","hast-util-whitespace":"^2.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.53.0","react":"^18.0.0","prettier":"^2.0.0","react-dom":"^18.0.0","hastscript":"^7.0.0","remark-cli":"^11.0.0","typescript":"^4.0.0","@types/node":"^18.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_1.1.0_1674046542976_0.9950053969617547","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"hast-util-to-jsx-runtime","version":"1.2.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@1.2.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"n/file-extension-in-import":"off"},"prettier":true},"dist":{"shasum":"26e7d8689f4fcb899317565cd7746480cdc15e9a","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-1.2.0.tgz","fileCount":9,"integrity":"sha512-Y4FB8Dx2k6zJZrwbexkVm6YVRA8Sho2tTwacjDSr/x5c0wioOpc1VIoLyGUSb8+8xkAnQPAtHbdMvzA6bl0F1w==","signatures":[{"sig":"MEQCICrIhUPsIyPw3i9MMFHsb7oDMhBZ0FemNW3uKCtn+N3PAiAz96Wl7rGVOHwMS+ZQRPzuWMMUWRGGrmTM1OupFYIq9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3PVPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpH/RAAhxU8DPA9F5gCKFQXffU5eo9xcNMKBkq1hhVj6/a1FqsZ20Nc\r\nc5YUAfkUMz9c0bAWg0stVmg5dIlVpJGZKmFzozmzkWPK9WHnXr61R7YjuwqY\r\nhR+y4RuYnrA0mSradRrBL9dyY+g5tN2QMkKdcVKzjRN8ZzCPYJ7eLptv7ms0\r\nGSj4j3cL4c+9Dimxj5tughpEc+z2OXP15bARyJHv33WOtD9SGpCr1w2RKUa/\r\nkn3/VblrJ3ez7pE7LJzQubEqWJp8DmJrZIIkYRGzux077Xo8zOEGccsTAUHU\r\nc/CVxYyDaeHyENfaCwSCBCIWGHUssSW//laKk3GNQH3XJhcojA2DwP2n/6aR\r\nDMr4bK5l3DrAT2GiHP56Dr3dCO8Qra66RKFIXnpYuO8wRIX0dNoXNUXNLUx1\r\nNO0yp9p2N+n90UdgHq/Ktmy9uv9RqHpg/cyElhbiAg4NoQSljWDMZBXDlHhM\r\nyqGtYop7XkjgWS25B5UbJsGJ9EVwLrBMQFuwF0lDPvfkDxRzFNPh4FAq06ry\r\nN3Qr6DMxcRTLtCR4hQ3i0z7ekyqZw5vcBq/4tTbg+oH09gz2ATOpeH5EcBfb\r\nVUllt9NFET+NHQTunav9MJxuqVp3iwWjWbB5FBX45X8/LSEVC8ivHfIj93RJ\r\n1YYCn83VSNhKwSRbS+hS5nUHKsrnqwjnw88=\r\n=zqyp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"2aab98d688932cd9505fb03bae36cb7def0311dc","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.2.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"19.3.0","dependencies":{"@types/hast":"^2.0.0","@types/unist":"^2.0.0","vfile-message":"^3.0.0","style-to-object":"^0.4.1","unist-util-position":"^4.0.0","hast-util-whitespace":"^2.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.53.0","react":"^18.0.0","esbuild":"^0.17.0","prettier":"^2.0.0","react-dom":"^18.0.0","hastscript":"^7.0.0","remark-cli":"^11.0.0","typescript":"^4.0.0","@types/node":"^18.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_1.2.0_1675425103427_0.4984109176485665","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"hast-util-to-jsx-runtime","version":"2.0.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"unicorn/prefer-at":"off","n/file-extension-in-import":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/ban-types":"off"}}]},"dist":{"shasum":"366aebec6d5905cef45c9565a2c75c90b1692884","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.0.0.tgz","fileCount":9,"integrity":"sha512-0SKEyDOy1FTi2tYA8Jc0v0P3dZQyPymIWa3Qa9Ox5VlXsE5HbyV/1iKLbkrh0vTgC3R7WTmw5Dc841XkcdtP8w==","signatures":[{"sig":"MEQCIFv471TeBnTfTBIkJ+zrz4zDqYXsL/mcHkNRg11PuN13AiAnw4Qse6Fgygn6q3QnlnU0SzTrBGlW8eGDSf43VR/0/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50103},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"49612fb9a9e7b08436e4d367e54b1dda9257e7bd","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.7.2","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"20.0.0","dependencies":{"@types/hast":"^3.0.0","@types/unist":"^3.0.0","vfile-message":"^4.0.0","style-to-object":"^0.4.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","xo":"^0.55.0","react":"^18.0.0","esbuild":"^0.18.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^8.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.0.0_1691171009704_0.6055757575316805","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"hast-util-to-jsx-runtime","version":"2.1.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.1.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"max-depth":"off","unicorn/prefer-at":"off","n/file-extension-in-import":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/ban-types":"off"}}]},"dist":{"shasum":"d7cf948189f7872e1fad8f62780541c4ca829ed0","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.1.0.tgz","fileCount":9,"integrity":"sha512-KtNj9c+pp0lhIJWxRQ7tAO0CdqtHbKxB7hojBXxZ4HN17zLoBV4GcK2LH/RpzFCgrSknM/WxFnR52Xtzhn/jEQ==","signatures":[{"sig":"MEQCIAoWjwkkcZ+7TQYQerp/7Z/PGKw3sRpk7XiFCbUajJdIAiB8ppYndqhYD0oZ2n6sntRldQptfAyeddo0vADRvhhM3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51955},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"0d04dbf01ceda7e0127715a8e20d1538232c5ee7","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.8.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","dependencies":{"@types/hast":"^3.0.0","@types/unist":"^3.0.0","vfile-message":"^4.0.0","style-to-object":"^0.4.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","xo":"^0.56.0","react":"^18.0.0","esbuild":"^0.19.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^8.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.1.0_1693558072990_0.19910826449864283","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"hast-util-to-jsx-runtime","version":"2.1.1","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.1.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"max-depth":"off","unicorn/prefer-at":"off","n/file-extension-in-import":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/ban-types":"off"}}]},"dist":{"shasum":"a737c31ca5ab3d74ead757f779ffbb88dbdb280d","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.1.1.tgz","fileCount":9,"integrity":"sha512-YDAf9FaxFzjs/tGXBoLQTB/EGxBGjiGD6Xd5NdkMWw3B4gfKGo0sEO65/E+ihDSsWV+AF61e2Ro2e2J8rdzsZg==","signatures":[{"sig":"MEQCIGPfHQAaiFtsdOHae8ojL0rstcOgyvSN5hM4FHgODafxAiBPbH7hJJSfKclwGQ45OAg5KN17waU5RBn+pH66WFvNJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51764},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"96570ff6411ae00612cfa3d74ec53c29a1380a6d","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.8.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","dependencies":{"@types/hast":"^3.0.0","@types/unist":"^3.0.0","vfile-message":"^4.0.0","style-to-object":"^0.4.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","xo":"^0.56.0","react":"^18.0.0","esbuild":"^0.19.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^8.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.1.1_1693559934694_0.6566005388770781","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"hast-util-to-jsx-runtime","version":"2.2.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.2.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"#":"`n` is wrong","rules":{"max-depth":"off","unicorn/prefer-at":"off","n/file-extension-in-import":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/ban-types":"off"}}]},"dist":{"shasum":"ffd59bfcf0eb8321c6ed511bfc4b399ac3404bc2","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.2.0.tgz","fileCount":9,"integrity":"sha512-wSlp23N45CMjDg/BPW8zvhEi3R+8eRE1qFbjEyAUzMCzu2l1Wzwakq+Tlia9nkCtEl5mDxa7nKHsvYJ6Gfn21A==","signatures":[{"sig":"MEQCIFMoIcKzdVNSYZ2XmEtF76/KLTnkybU01+kFyEAittv1AiBzhUi6X09Awg7p8HxbjxNS6+OtroQD5kbQWmEDylmdvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52947},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"653bf65af40df98f5f06f01e71eb4dc723483d35","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"9.8.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","dependencies":{"@types/hast":"^3.0.0","@types/unist":"^3.0.0","vfile-message":"^4.0.0","style-to-object":"^0.4.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","xo":"^0.56.0","react":"^18.0.0","esbuild":"^0.19.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^8.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.2.0_1695810372141_0.6913702727677751","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"hast-util-to-jsx-runtime","version":"2.3.0","keywords":["unist","hast","hast-util","util","utility","html","preact","react","solid","svelte","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.3.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"rules":{"unicorn/prefer-at":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/ban-types":"off"}}]},"dist":{"shasum":"3ed27caf8dc175080117706bf7269404a0aa4f7c","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.0.tgz","fileCount":9,"integrity":"sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==","signatures":[{"sig":"MEYCIQDN3715m000ITS0pLrkFuMCyJfjGCrWByPdXpq2cNS0HwIhAKnwYPXzgma4dpdKUQBwdrHQcGVXICyDGt6R+auCHkeE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67129},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"8664dc217b02ef619e01c3bc4651eb5e3a8aba48","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"10.2.3","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"21.2.0","dependencies":{"devlop":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","@types/estree":"^1.0.0","vfile-message":"^4.0.0","style-to-object":"^1.0.0","mdast-util-mdx-jsx":"^3.0.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0","mdast-util-mdx-expression":"^2.0.0","estree-util-is-identifier-name":"^3.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm",["remark-lint-list-item-indent","space"],["remark-preset-wooorm/node_modules/remark-gfm/index.js",false],"remark-gfm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","xo":"^0.56.0","sval":"^0.4.0","react":"^18.0.0","esbuild":"^0.19.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^8.0.0","remark-cli":"^12.0.0","remark-gfm":"^4.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","estree-util-visit":"^2.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.3.0_1701367301849_0.759981249739826","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"hast-util-to-jsx-runtime","version":"2.3.1","keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.3.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"rules":{"unicorn/prefer-at":"off","logical-assignment-operators":"off","unicorn/prevent-abbreviations":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":["**/*.d.ts"],"rules":{"@typescript-eslint/ban-types":["error",{"extendDefaults":true}],"@typescript-eslint/array-type":["error",{"default":"generic"}],"@typescript-eslint/consistent-type-definitions":["error","interface"]}}]},"dist":{"shasum":"e13be4867102fd446aef6890c3dcd999172d2a0c","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.1.tgz","fileCount":10,"integrity":"sha512-Rbemi1rzrkysSin0FDHZfsxYPoqLGHFfxFm28aOBHPibT7aqjy7kUgY636se9xbuCWUsFpWAYlmtGHQakiqtEA==","signatures":[{"sig":"MEQCIG5OpIpHDc3OKByAPv2gXBArE78i0jKQi3tFQxG2U2wtAiB9RYz91FjW9iCDYFkDkOFybf3HwVVprNpKef89EXaU/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56432},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"b0e5702976fa81ef6ec81a644a7e342eff3b5c32","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild --bundle --format=esm --minify --outfile=example/hast-util-to-jsx-runtime.min.js --target=es2020 .","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"10.9.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"22.7.0","dependencies":{"devlop":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","@types/estree":"^1.0.0","vfile-message":"^4.0.0","style-to-object":"^1.0.0","mdast-util-mdx-jsx":"^3.0.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0","mdast-util-mdx-expression":"^2.0.0","estree-util-is-identifier-name":"^3.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","xo":"^0.59.0","sval":"^0.5.0","react":"^18.0.0","esbuild":"^0.24.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^9.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","estree-util-visit":"^2.0.0","remark-preset-wooorm":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.3.1_1728660977448_0.8324856016593007","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"hast-util-to-jsx-runtime","version":"2.3.2","keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.3.2","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"rules":{"unicorn/prefer-at":"off","logical-assignment-operators":"off","unicorn/prevent-abbreviations":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":["**/*.d.ts"],"rules":{"@typescript-eslint/ban-types":["error",{"extendDefaults":true}],"@typescript-eslint/array-type":["error",{"default":"generic"}],"@typescript-eslint/consistent-type-definitions":["error","interface"]}}]},"dist":{"shasum":"6d11b027473e69adeaa00ca4cfb5bb68e3d282fa","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.2.tgz","fileCount":10,"integrity":"sha512-1ngXYb+V9UT5h+PxNRa1O1FYguZK/XL+gkeqvp7EdHlB9oHUG0eYRo/vY5inBdcqo3RkPMC58/H94HvkbfGdyg==","signatures":[{"sig":"MEUCIFtVbkoyN5Kaz2xNLMnKMgv/6G81I3iQNVdmveCs/ac9AiEAgw0ZJbRNCg8mJX4i+15O/SfTLgIYKyYUR+uIKBiIZDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56652},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"6ec7cdd8811a13bab41e47d9ea5daf300771b858","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild --bundle --format=esm --minify --outfile=example/hast-util-to-jsx-runtime.min.js --target=es2020 .","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"10.9.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"22.7.0","dependencies":{"devlop":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","@types/estree":"^1.0.0","vfile-message":"^4.0.0","style-to-object":"^1.0.0","mdast-util-mdx-jsx":"^3.0.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^6.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0","mdast-util-mdx-expression":"^2.0.0","estree-util-is-identifier-name":"^3.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","xo":"^0.59.0","sval":"^0.5.0","react":"^18.0.0","esbuild":"^0.24.0","prettier":"^3.0.0","react-dom":"^18.0.0","hastscript":"^9.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","@types/react":"^18.0.0","type-coverage":"^2.0.0","@types/react-dom":"^18.0.0","estree-util-visit":"^2.0.0","remark-preset-wooorm":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.3.2_1728911574631_0.7796412343258046","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"hast-util-to-jsx-runtime","version":"2.3.3","keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.3.3","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"rules":{"unicorn/prefer-at":"off","logical-assignment-operators":"off","unicorn/prevent-abbreviations":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":["**/*.d.ts"],"rules":{"@typescript-eslint/ban-types":["error",{"extendDefaults":true}],"@typescript-eslint/array-type":["error",{"default":"generic"}],"@typescript-eslint/consistent-type-definitions":["error","interface"]}}]},"dist":{"shasum":"62c8fc474cc955765189c21d7c419378b34fa893","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.3.tgz","fileCount":10,"integrity":"sha512-pdpkP8YD4v+qMKn2lnKSiJvZvb3FunDmFYQvVOsoO08+eTNWdaWKPMrC5wwNICtU3dQWHhElj5Sf5jPEnv4qJg==","signatures":[{"sig":"MEUCIAEEVQLMlTqoDD+qZtTZjoTr7VUIdko0q1rerATR6hNzAiEAzoi5Ct6Cc3mXacrWJRWakuB4L0zl5Q5URnJTVCoacZ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56449},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"4a0148e1d25e2d6cce0d5ffca0b8f91c7df9dab2","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild --bundle --format=esm --minify --outfile=example/hast-util-to-jsx-runtime.min.js --target=es2020 .","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"11.1.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"23.1.0","dependencies":{"devlop":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","@types/estree":"^1.0.0","vfile-message":"^4.0.0","style-to-object":"^1.0.0","mdast-util-mdx-jsx":"^3.0.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^7.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0","mdast-util-mdx-expression":"^2.0.0","estree-util-is-identifier-name":"^3.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","xo":"^0.60.0","sval":"^0.6.0","react":"^19.0.0","esbuild":"^0.25.0","prettier":"^3.0.0","react-dom":"^19.0.0","hastscript":"^9.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","@types/react":"^19.0.0","type-coverage":"^2.0.0","@types/react-dom":"^19.0.0","estree-util-visit":"^2.0.0","remark-preset-wooorm":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.3.3_1739974163488_0.30029456979516844","host":"s3://npm-registry-packages-npm-production"}},"2.3.4":{"name":"hast-util-to-jsx-runtime","version":"2.3.4","keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.3.4","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"rules":{"unicorn/prefer-at":"off","logical-assignment-operators":"off","unicorn/prevent-abbreviations":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":["**/*.d.ts"],"rules":{"@typescript-eslint/ban-types":["error",{"extendDefaults":true}],"@typescript-eslint/array-type":["error",{"default":"generic"}],"@typescript-eslint/ban-ts-comment":0,"@typescript-eslint/consistent-type-definitions":["error","interface"]}}]},"dist":{"shasum":"3d2e382b03d01686292bf7ce6b3601b6d58f7894","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.4.tgz","fileCount":10,"integrity":"sha512-2GSifZSlBD35z6/+sp+btB333wHFPck/rrlKZMc9IOUJk6anHuQuqC/oNI80Pj717wo8JCPdXjjasVqQu3UH8Q==","signatures":[{"sig":"MEUCIDXHnUNwInwD1Ux/bNvivcXuYiBB4a7VCDfaCIuYgF/TAiEAgriAKCI3M5ZlhweYSmIH3EZmDMc9Abc3iZtGyO2u4ho=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57363},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"5271dd554d8e84dc3238e52ef8ea55b3dc804799","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild --bundle --format=esm --minify --outfile=example/hast-util-to-jsx-runtime.min.js --target=es2020 .","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"11.1.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"23.1.0","dependencies":{"devlop":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","@types/estree":"^1.0.0","vfile-message":"^4.0.0","style-to-object":"^1.0.0","mdast-util-mdx-jsx":"^3.0.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^7.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0","mdast-util-mdx-expression":"^2.0.0","estree-util-is-identifier-name":"^3.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","xo":"^0.60.0","sval":"^0.6.0","react":"^19.0.0","esbuild":"^0.25.0","prettier":"^3.0.0","react-dom":"^19.0.0","hastscript":"^9.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","@types/react":"^19.0.0","type-coverage":"^2.0.0","@types/react-dom":"^19.0.0","estree-util-visit":"^2.0.0","remark-preset-wooorm":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.3.4_1740408850907_0.9672369939700367","host":"s3://npm-registry-packages-npm-production"}},"2.3.5":{"name":"hast-util-to-jsx-runtime","version":"2.3.5","keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-jsx-runtime@2.3.5","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"xo":{"rules":{"unicorn/prefer-at":"off","logical-assignment-operators":"off","unicorn/prevent-abbreviations":"off","unicorn/prefer-string-replace-all":"off"},"prettier":true,"overrides":[{"files":["**/*.d.ts"],"rules":{"@typescript-eslint/ban-types":["error",{"extendDefaults":true}],"@typescript-eslint/array-type":["error",{"default":"generic"}],"@typescript-eslint/ban-ts-comment":0,"@typescript-eslint/consistent-type-definitions":["error","interface"]}}]},"dist":{"shasum":"dd22fedd1aa87b44ed1ce68f3d15e30d6c7cb781","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.5.tgz","fileCount":10,"integrity":"sha512-gHD+HoFxOMmmXLuq9f2dZDMQHVcplCVpMfBNRpJsF03yyLZvJGzsFORe8orVuYDX9k2w0VH0uF8oryFd1whqKQ==","signatures":[{"sig":"MEUCIF8hXiqNOEM/vxzoFECalC+++8CykT4dHo2siINfPMs0AiEAsKec1woqbC6DlbDi2L5aumr+NDdDkHp57AZ1EzbDje0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57399},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"09c32dc5444fa4b30429d8af6d914f6166715dc5","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","generate":"esbuild --bundle --format=esm --minify --outfile=example/hast-util-to-jsx-runtime.min.js --target=es2020 .","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git","type":"git"},"_npmVersion":"11.1.0","description":"hast utility to transform to preact, react, solid, svelte, vue, etc","directories":{},"sideEffects":false,"_nodeVersion":"23.1.0","dependencies":{"devlop":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","@types/estree":"^1.0.0","vfile-message":"^4.0.0","style-to-object":"^1.0.0","mdast-util-mdx-jsx":"^3.0.0","unist-util-position":"^5.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^7.0.0","comma-separated-tokens":"^2.0.0","space-separated-tokens":"^2.0.0","mdast-util-mdx-expression":"^2.0.0","estree-util-is-identifier-name":"^3.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"]},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","xo":"^0.60.0","sval":"^0.6.0","react":"^19.0.0","esbuild":"^0.25.0","prettier":"^3.0.0","react-dom":"^19.0.0","hastscript":"^9.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","@types/react":"^19.0.0","type-coverage":"^2.0.0","@types/react-dom":"^19.0.0","estree-util-visit":"^2.0.0","remark-preset-wooorm":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-jsx-runtime_2.3.5_1740475123188_0.7851967742293786","host":"s3://npm-registry-packages-npm-production"}},"2.3.6":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/estree":"^1.0.0","@types/hast":"^3.0.0","@types/unist":"^3.0.0","comma-separated-tokens":"^2.0.0","devlop":"^1.0.0","estree-util-is-identifier-name":"^3.0.0","hast-util-whitespace":"^3.0.0","mdast-util-mdx-expression":"^2.0.0","mdast-util-mdx-jsx":"^3.0.0","mdast-util-mdxjs-esm":"^2.0.0","property-information":"^7.0.0","space-separated-tokens":"^2.0.0","style-to-js":"^1.0.0","unist-util-position":"^5.0.0","vfile-message":"^4.0.0"},"description":"hast utility to transform to preact, react, solid, svelte, vue, etc","devDependencies":{"@types/node":"^22.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","c8":"^10.0.0","esbuild":"^0.25.0","estree-util-visit":"^2.0.0","hastscript":"^9.0.0","prettier":"^3.0.0","react":"^19.0.0","react-dom":"^19.0.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^11.0.0","sval":"^0.6.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.60.0"},"exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"license":"MIT","name":"hast-util-to-jsx-runtime","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","generate":"esbuild --bundle --format=esm --minify --outfile=example/hast-util-to-jsx-runtime.min.js --target=es2020 .","prepack":"npm run build && npm run format","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"ignoreFiles":["example/**/*.js"],"strict":true},"type":"module","version":"2.3.6","xo":{"overrides":[{"files":["**/*.d.ts"],"rules":{"@typescript-eslint/array-type":["error",{"default":"generic"}],"@typescript-eslint/ban-ts-comment":0,"@typescript-eslint/ban-types":["error",{"extendDefaults":true}],"@typescript-eslint/consistent-type-definitions":["error","interface"]}}],"prettier":true,"rules":{"logical-assignment-operators":"off","unicorn/prefer-at":"off","unicorn/prefer-string-replace-all":"off","unicorn/prevent-abbreviations":"off"}},"_id":"hast-util-to-jsx-runtime@2.3.6","gitHead":"b0920cd0837052144ebe94f53d8f792b05619444","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==","shasum":"ff31897aae59f62232e21594eac7ef6b63333e98","tarball":"https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz","fileCount":10,"unpackedSize":56610,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDs7ucf0HxojBbgygUMI3vDjz6SjT3tzNp01QYMSldWBAIgJsihKN7kt6QSAVFfLZfWYkbojsFmQXKYfUtsnp8GAX8="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hast-util-to-jsx-runtime_2.3.6_1741174228969_0.3998769371810862"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-14T17:17:35.180Z","modified":"2025-03-05T11:30:29.393Z","1.0.0":"2023-01-14T17:17:35.356Z","1.0.1":"2023-01-17T10:04:46.823Z","1.1.0":"2023-01-18T12:55:43.210Z","1.2.0":"2023-02-03T11:51:43.588Z","2.0.0":"2023-08-04T17:43:29.911Z","2.1.0":"2023-09-01T08:47:53.183Z","2.1.1":"2023-09-01T09:18:54.899Z","2.2.0":"2023-09-27T10:26:12.393Z","2.3.0":"2023-11-30T18:01:42.069Z","2.3.1":"2024-10-11T15:36:17.731Z","2.3.2":"2024-10-14T13:12:54.836Z","2.3.3":"2025-02-19T14:09:23.692Z","2.3.4":"2025-02-24T14:54:11.099Z","2.3.5":"2025-02-25T09:18:43.418Z","2.3.6":"2025-03-05T11:30:29.166Z"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"license":"MIT","homepage":"https://github.com/syntax-tree/hast-util-to-jsx-runtime#readme","keywords":["hast-util","hast","html","preact","react","solid","svelte","unist","utility","util","vue"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-to-jsx-runtime.git"},"description":"hast utility to transform to preact, react, solid, svelte, vue, etc","contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"readme":"# hast-util-to-jsx-runtime\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n\nhast utility to transform a tree to\npreact, react, solid, svelte, vue, etcetera,\nwith an automatic JSX runtime.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`toJsxRuntime(tree, options)`](#tojsxruntimetree-options)\n  * [`Components`](#components)\n  * [`CreateEvaluater`](#createevaluater)\n  * [`ElementAttributeNameCase`](#elementattributenamecase)\n  * [`EvaluateExpression`](#evaluateexpression)\n  * [`EvaluateProgram`](#evaluateprogram)\n  * [`Evaluater`](#evaluater)\n  * [`ExtraProps`](#extraprops)\n  * [`Fragment`](#fragment)\n  * [`Jsx`](#jsx)\n  * [`JsxDev`](#jsxdev)\n  * [`Options`](#options)\n  * [`Props`](#props)\n  * [`Source`](#source)\n  * [`Space`](#space)\n  * [`StylePropertyNameCase`](#stylepropertynamecase)\n* [Errors](#errors)\n* [Examples](#examples)\n  * [Example: Preact](#example-preact)\n  * [Example: Solid](#example-solid)\n  * [Example: Svelte](#example-svelte)\n  * [Example: Vue](#example-vue)\n* [Syntax](#syntax)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a utility that takes a [hast][github-hast] tree and an\n[automatic JSX runtime][reactjs-jsx-runtime] and turns the tree into anything\nyou wish.\n\n## When should I use this?\n\nYou can use this package when you have a hast syntax tree and want to use it\nwith whatever framework.\n\nThis package uses an automatic JSX runtime,\nwhich is a sort of lingua franca for frameworks to support JSX.\n\nNotably,\nautomatic runtimes have support for passing extra information in development,\nand have guaranteed support for fragments.\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 16+),\ninstall with [npm][npmjs-install]:\n\n```sh\nnpm install hast-util-to-jsx-runtime\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {h} from 'hastscript'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {Fragment, jsxs, jsx} from 'react/jsx-runtime'\nimport {renderToStaticMarkup} from 'react-dom/server'\n\nconst tree = h('h1', 'Hello, world!')\n\nconst doc = renderToStaticMarkup(toJsxRuntime(tree, {Fragment, jsxs, jsx}))\n\nconsole.log(doc)\n```\n\nYields:\n\n```html\n<h1>Hello, world!</h1>\n```\n\n> **Note**:\n> to add better type support,\n> register a global JSX namespace:\n>\n> ```ts\n> import type {JSX as Jsx} from 'react/jsx-runtime'\n>\n> declare global {\n>   namespace JSX {\n>     type ElementClass = Jsx.ElementClass\n>     type Element = Jsx.Element\n>     type IntrinsicElements = Jsx.IntrinsicElements\n>   }\n> }\n> ```\n\n## API\n\nThis package exports the identifier [`toJsxRuntime`][api-to-jsx-runtime].\nIt exports the [TypeScript][] types\n[`Components`][api-components],\n[`CreateEvaluater`][api-create-evaluater],\n[`ElementAttributeNameCase`][api-element-attribute-name-case],\n[`EvaluateExpression`][api-evaluate-expression],\n[`EvaluateProgram`][api-evaluate-program],\n[`Evaluater`][api-evaluater],\n[`ExtraProps`][api-extra-props],\n[`Fragment`][api-fragment],\n[`Jsx`][api-jsx],\n[`JsxDev`][api-jsx-dev],\n[`Options`][api-options],\n[`Props`][api-props],\n[`Source`][api-source],\n[`Space`][api-Space],\nand\n[`StylePropertyNameCase`][api-style-property-name-case].\nThere is no default export.\n\n### `toJsxRuntime(tree, options)`\n\nTransform a hast tree to\npreact, react, solid, svelte, vue, etcetera,\nwith an automatic JSX runtime.\n\n##### Parameters\n\n* `tree`\n  ([`Node`][github-hast-nodes])\n  — tree to transform\n* `options`\n  ([`Options`][api-options], required)\n  — configuration\n\n##### Returns\n\nResult from your configured JSX runtime\n(`JSX.Element` if defined,\notherwise `unknown` which you can cast yourself).\n\n### `Components`\n\nPossible components to use (TypeScript type).\n\nEach key is a tag name typed in `JSX.IntrinsicElements`,\nif defined.\nEach value is either a different tag name\nor a component accepting the corresponding props\n(and an optional `node` prop if `passNode` is on).\n\nYou can access props at `JSX.IntrinsicElements`.\nFor example,\nto find props for `a`,\nuse `JSX.IntrinsicElements['a']`.\n\n###### Type\n\n```ts\nimport type {Element} from 'hast'\n\ntype ExtraProps = {node?: Element | undefined}\n\ntype Components = {\n  [TagName in keyof JSX.IntrinsicElements]:\n    | Component<JSX.IntrinsicElements[TagName] & ExtraProps>\n    | keyof JSX.IntrinsicElements\n}\n\ntype Component<ComponentProps> =\n  // Class component:\n  | (new (props: ComponentProps) => JSX.ElementClass)\n  // Function component:\n  | ((props: ComponentProps) => JSX.Element | string | null | undefined)\n```\n\n### `CreateEvaluater`\n\nCreate an evaluator that turns ESTree ASTs from embedded MDX into values\n(TypeScript type).\n\n###### Parameters\n\nThere are no parameters.\n\n###### Returns\n\nEvaluater ([`Evaluater`][api-evaluater]).\n\n### `ElementAttributeNameCase`\n\nCasing to use for attribute names (TypeScript type).\n\nHTML casing is for example\n`class`, `stroke-linecap`, `xml:lang`.\nReact casing is for example\n`className`, `strokeLinecap`, `xmlLang`.\n\n###### Type\n\n```ts\ntype ElementAttributeNameCase = 'html' | 'react'\n```\n\n### `EvaluateExpression`\n\nTurn an MDX expression into a value (TypeScript type).\n\n###### Parameters\n\n* `expression` (`Expression` from `@types/estree`)\n  — estree expression\n\n###### Returns\n\nResult of expression (`unknown`).\n\n### `EvaluateProgram`\n\nTurn an MDX program (export/import statements) into a value (TypeScript type).\n\n###### Parameters\n\n* `program` (`Program` from `@types/estree`)\n  — estree program\n\n###### Returns\n\nResult of program (`unknown`);\nshould likely be `undefined` as ESM changes the scope but doesn’t yield\nsomething.\n\n### `Evaluater`\n\nEvaluator that turns ESTree ASTs from embedded MDX into values (TypeScript\ntype).\n\n###### Fields\n\n* `evaluateExpression` ([`EvaluateExpression`][api-evaluate-expression])\n  — evaluate an expression\n* `evaluateProgram` ([`EvaluateProgram`][api-evaluate-program])\n  — evaluate a program\n\n### `ExtraProps`\n\nExtra fields we pass (TypeScript type).\n\n###### Type\n\n```ts\ntype ExtraProps = {node?: Element | undefined}\n```\n\n### `Fragment`\n\nRepresent the children,\ntypically a symbol (TypeScript type).\n\n###### Type\n\n```ts\ntype Fragment = unknown\n```\n\n### `Jsx`\n\nCreate a production element (TypeScript type).\n\n###### Parameters\n\n* `type` (`unknown`)\n  — element type:\n  `Fragment` symbol,\n  tag name (`string`),\n  component\n* `props` ([`Props`][api-props])\n  — element props,\n  `children`,\n  and maybe `node`\n* `key` (`string` or `undefined`)\n  — dynamicly generated key to use\n\n###### Returns\n\nElement from your framework\n(`JSX.Element` if defined,\notherwise `unknown` which you can cast yourself).\n\n### `JsxDev`\n\nCreate a development element (TypeScript type).\n\n###### Parameters\n\n* `type` (`unknown`)\n  — element type:\n  `Fragment` symbol,\n  tag name (`string`),\n  component\n* `props` ([`Props`][api-props])\n  — element props,\n  `children`,\n  and maybe `node`\n* `key` (`string` or `undefined`)\n  — dynamicly generated key to use\n* `isStaticChildren` (`boolean`)\n  — whether two or more children are passed (in an array),\n  which is whether `jsxs` or `jsx` would be used\n* `source` ([`Source`][api-source])\n  — info about source\n* `self` (`undefined`)\n  — nothing (this is used by frameworks that have components,\n  we don’t)\n\n###### Returns\n\nElement from your framework\n(`JSX.Element` if defined,\notherwise `unknown` which you can cast yourself).\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n###### Fields\n\n* `Fragment` ([`Fragment`][api-fragment], required)\n  — fragment\n* `jsxDEV` ([`JsxDev`][api-jsx-dev], required in development)\n  — development JSX\n* `jsxs` ([`Jsx`][api-jsx], required in production)\n  — static JSX\n* `jsx` ([`Jsx`][api-jsx], required in production)\n  — dynamic JSX\n* `components` ([`Partial<Components>`][api-components], optional)\n  — components to use\n* `createEvaluater` ([`CreateEvaluater`][api-create-evaluater], optional)\n  — create an evaluator that turns ESTree ASTs into values\n* `development` (`boolean`, default: `false`)\n  — whether to use `jsxDEV` when on or `jsx` and `jsxs` when off\n* `elementAttributeNameCase`\n  ([`ElementAttributeNameCase`][api-element-attribute-name-case],\n  default: `'react'`)\n  — specify casing to use for attribute names\n* `filePath` (`string`, optional)\n  — file path to the original source file,\n  passed in source info to `jsxDEV` when using the automatic runtime with\n  `development: true`\n* `passNode` (`boolean`, default: `false`)\n  — pass the hast element node to components\n* `space` ([`Space`][api-space], default: `'html'`)\n  — whether `tree` is in the `'html'` or `'svg'` space, when an `<svg>`\n  element is found in the HTML space,\n  this package already automatically switches to and from the SVG space when\n  entering and exiting it\n* `stylePropertyNameCase`\n  ([`StylePropertyNameCase`][api-style-property-name-case],\n  default: `'dom'`)\n  — specify casing to use for property names in `style` objects\n* `tableCellAlignToStyle`\n  (`boolean`, default: `true`)\n  — turn obsolete `align` props on `td` and `th` into CSS `style` props\n\n### `Props`\n\nProperties and children (TypeScript type).\n\n###### Type\n\n```ts\nimport type {Element} from 'hast'\n\ntype Props = {\n  [prop: string]:\n    | Array<JSX.Element | string | null | undefined> // For `children`.\n    | Record<string, string> // For `style`.\n    | Element // For `node`.\n    | boolean\n    | number\n    | string\n    | undefined\n  children: Array<JSX.Element | string | null | undefined> | undefined\n  node?: Element | undefined\n}\n```\n\n### `Source`\n\nInfo about source (TypeScript type).\n\n###### Fields\n\n* `columnNumber` (`number` or `undefined`)\n  — column where thing starts (0-indexed)\n* `fileName` (`string` or `undefined`)\n  — name of source file\n* `lineNumber` (`number` or `undefined`)\n  — line where thing starts (1-indexed)\n\n### `Space`\n\nNamespace (TypeScript type).\n\n> 👉 **Note**:\n> hast is not XML;\n> it supports SVG as embedded in HTML;\n> it does not support the features available in XML;\n> passing SVG might break but fragments of modern SVG should be fine;\n> use `xast` if you need to support SVG as XML.\n\n###### Type\n\n```ts\ntype Space = 'html' | 'svg'\n```\n\n### `StylePropertyNameCase`\n\nCasing to use for property names in `style` objects (TypeScript type).\n\nCSS casing is for example `background-color` and `-webkit-line-clamp`.\nDOM casing is for example `backgroundColor` and `WebkitLineClamp`.\n\n###### Type\n\n```ts\ntype StylePropertyNameCase = 'css' | 'dom'\n```\n\n## Errors\n\nThe following errors are thrown:\n\n###### ``Expected `Fragment` in options``\n\nThis error is thrown when either `options` is not passed at all or\nwhen `options.Fragment` is `undefined`.\n\nThe automatic JSX runtime needs a symbol for a fragment to work.\n\nTo solve the error,\nmake sure you are passing the correct fragment symbol from your framework.\n\n###### `` Expected `jsxDEV` in options when `development: true` ``\n\nThis error is thrown when `options.development` is turned on (`true`),\nbut when `options.jsxDEV` is not a function.\n\nThe automatic JSX runtime,\nin development,\nneeds this function.\n\nTo solve the error,\nmake sure you are importing the correct runtime functions\n(for example, `'react/jsx-dev-runtime'`),\nand pass `jsxDEV`.\n\n###### ``Expected `jsx` in production options``\n\n###### ``Expected `jsxs` in production options``\n\nThese errors are thrown when `options.development` is *not* turned on\n(`false` or not defined),\nand when `options.jsx` or `options.jsxs` are not functions.\n\nThe automatic JSX runtime,\nin production,\nneeds these functions.\n\nTo solve the error,\nmake sure you are importing the correct runtime functions\n(for example, `'react/jsx-runtime'`),\nand pass `jsx` and `jsxs`.\n\n###### `` Cannot handle MDX estrees without `createEvaluater` ``\n\nThis error is thrown when MDX nodes are passed that represent JavaScript\nprograms or expressions.\n\nSupporting JavaScript can be unsafe and requires a different project.\nTo support JavaScript,\npass a `createEvaluater` function in `options`.\n\n###### ``Cannot parse `style` attribute``\n\nThis error is thrown when a `style` attribute is found on an element,\nwhich cannot be parsed as CSS.\n\nMost frameworks don’t accept `style` as a string,\nso we need to parse it as CSS,\nand pass it as an object.\nBut when broken CSS is used,\nsuch as `style=\"color:red; /*\"`,\nwe crash.\n\nTo solve the error,\nmake sure authors write valid CSS.\nAlternatively,\npass `options.ignoreInvalidStyle: true` to swallow these errors.\n\n## Examples\n\n### Example: Preact\n\n> 👉 **Note**:\n> you must set `elementAttributeNameCase: 'html'` for preact.\n\nIn Node.js,\ndo:\n\n```js\nimport {h} from 'hastscript'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {Fragment, jsx, jsxs} from 'preact/jsx-runtime'\nimport {render} from 'preact-render-to-string'\n\nconst result = render(\n  toJsxRuntime(h('h1', 'hi!'), {\n    Fragment,\n    jsx,\n    jsxs,\n    elementAttributeNameCase: 'html'\n  })\n)\n\nconsole.log(result)\n```\n\nYields:\n\n```html\n<h1>hi!</h1>\n```\n\nIn a browser,\ndo:\n\n```js\nimport {h} from 'https://esm.sh/hastscript@9'\nimport {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'\nimport {Fragment, jsx, jsxs} from 'https://esm.sh/preact@10/jsx-runtime'\nimport {render} from 'https://esm.sh/preact@10'\n\nrender(\n  toJsxRuntime(h('h1', 'hi!'), {\n    Fragment,\n    jsx,\n    jsxs,\n    elementAttributeNameCase: 'html'\n  }),\n  document.getElementById('root')\n)\n```\n\nTo add better type support,\nregister a global JSX namespace:\n\n```ts\nimport type {JSX as Jsx} from 'preact/jsx-runtime'\n\ndeclare global {\n  namespace JSX {\n    type ElementClass = Jsx.ElementClass\n    type Element = Jsx.Element\n    type IntrinsicElements = Jsx.IntrinsicElements\n  }\n}\n```\n\n### Example: Solid\n\n> 👉 **Note**:\n> you must set `elementAttributeNameCase: 'html'` and\n> `stylePropertyNameCase: 'css'` for Solid.\n\nIn Node.js,\ndo:\n\n```js\nimport {h} from 'hastscript'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {Fragment, jsx, jsxs} from 'solid-jsx/jsx-runtime'\n\nconsole.log(\n  toJsxRuntime(h('h1', 'hi!'), {\n    Fragment,\n    jsx,\n    jsxs,\n    elementAttributeNameCase: 'html',\n    stylePropertyNameCase: 'css'\n  }).t\n)\n```\n\nYields:\n\n```html\n<h1 >hi!</h1>\n```\n\nIn a browser,\ndo:\n\n```js\nimport {h} from 'https://esm.sh/hastscript@9'\nimport {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'\nimport {Fragment, jsx, jsxs} from 'https://esm.sh/solid-js@1/h/jsx-runtime'\nimport {render} from 'https://esm.sh/solid-js@1/web'\n\nrender(Component, document.getElementById('root'))\n\nfunction Component() {\n  return toJsxRuntime(h('h1', 'hi!'), {\n    Fragment,\n    jsx,\n    jsxs,\n    elementAttributeNameCase: 'html',\n    stylePropertyNameCase: 'css'\n  })\n}\n```\n\nTo add better type support,\nregister a global JSX namespace:\n\n```ts\nimport type {JSX as Jsx} from 'solid-js/jsx-runtime'\n\ndeclare global {\n  namespace JSX {\n    type ElementClass = Jsx.ElementClass\n    type Element = Jsx.Element\n    type IntrinsicElements = Jsx.IntrinsicElements\n  }\n}\n```\n\n### Example: Svelte\n\n<!-- To do: improve svelte when it fixes a bunch of bugs. -->\n\nI have no clue how to render a Svelte component in Node,\nbut you can get that component with:\n\n```js\nimport {h} from 'hastscript'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {Fragment, jsx, jsxs} from 'svelte-jsx'\n\nconst svelteComponent = toJsxRuntime(h('h1', 'hi!'), {Fragment, jsx, jsxs})\n\nconsole.log(svelteComponent)\n```\n\nYields:\n\n```text\n[class Component extends SvelteComponent]\n```\n\nTypes for Svelte are broken.\nRaise it with Svelte.\n\n### Example: Vue\n\n> 👉 **Note**:\n> you must set `elementAttributeNameCase: 'html'` for Vue.\n\nIn Node.js,\ndo:\n\n```js\nimport serverRenderer from '@vue/server-renderer'\nimport {h} from 'hastscript'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {Fragment, jsx, jsxs} from 'vue/jsx-runtime' // Available since `vue@3.3`.\n\nconsole.log(\n  await serverRenderer.renderToString(\n    toJsxRuntime(h('h1', 'hi!'), {\n      Fragment,\n      jsx,\n      jsxs,\n      elementAttributeNameCase: 'html'\n    })\n  )\n)\n```\n\nYields:\n\n```html\n<h1>hi!</h1>\n```\n\nIn a browser,\ndo:\n\n```js\nimport {h} from 'https://esm.sh/hastscript@9'\nimport {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'\nimport {createApp} from 'https://esm.sh/vue@3'\nimport {Fragment, jsx, jsxs} from 'https://esm.sh/vue@3/jsx-runtime'\n\ncreateApp(Component).mount('#root')\n\nfunction Component() {\n  return toJsxRuntime(h('h1', 'hi!'), {\n    Fragment,\n    jsx,\n    jsxs,\n    elementAttributeNameCase: 'html'\n  })\n}\n```\n\nTo add better type support,\nregister a global JSX namespace:\n\n```ts\nimport type {JSX as Jsx} from 'vue/jsx-runtime'\n\ndeclare global {\n  namespace JSX {\n    type ElementClass = Jsx.ElementClass\n    type Element = Jsx.Element\n    type IntrinsicElements = Jsx.IntrinsicElements\n  }\n}\n```\n\n## Syntax\n\nHTML is parsed according to WHATWG HTML (the living standard),\nwhich is also followed by browsers such as Chrome,\nFirefox,\nand Safari.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release,\nwe drop support for unmaintained versions of Node.\nThis means we try to keep the current release line,\n`hast-util-to-jsx-runtime@2`,\ncompatible with Node.js 16.\n\n## Security\n\nBe careful with user input in your hast tree.\nUse [`hast-util-santize`][github-hast-util-sanitize] to make hast trees safe.\n\n## Related\n\n* [`hastscript`](https://github.com/syntax-tree/hastscript)\n  — build hast trees\n* [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html)\n  — serialize hast as HTML\n* [`hast-util-sanitize`][github-hast-util-sanitize]\n  — sanitize hast\n\n## Contribute\n\nSee [`contributing.md`][health-contributing]\nin\n[`syntax-tree/.github`][health]\nfor ways to get started.\nSee [`support.md`][health-support] for ways to get help.\n\nThis project has a [code of conduct][health-coc].\nBy interacting with this repository,\norganization,\nor community you agree to abide by its terms.\n\n## License\n\n[MIT][file-license] © [Titus Wormer][wooorm]\n\n<!-- Definitions -->\n\n[api-components]: #components\n\n[api-create-evaluater]: #createevaluater\n\n[api-element-attribute-name-case]: #elementattributenamecase\n\n[api-evaluate-expression]: #evaluateexpression\n\n[api-evaluate-program]: #evaluateprogram\n\n[api-evaluater]: #evaluater\n\n[api-extra-props]: #extraprops\n\n[api-fragment]: #fragment\n\n[api-jsx]: #jsx\n\n[api-jsx-dev]: #jsxdev\n\n[api-options]: #options\n\n[api-props]: #props\n\n[api-source]: #source\n\n[api-space]: #space\n\n[api-style-property-name-case]: #stylepropertynamecase\n\n[api-to-jsx-runtime]: #tojsxruntimetree-options\n\n[badge-build-image]: https://github.com/syntax-tree/hast-util-to-jsx-runtime/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/syntax-tree/hast-util-to-jsx-runtime/actions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-to-jsx-runtime.svg\n\n[badge-coverage-url]: https://codecov.io/github/syntax-tree/hast-util-to-jsx-runtime\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/hast-util-to-jsx-runtime.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/hast-util-to-jsx-runtime\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/hast-util-to-jsx-runtime\n\n[badge-size-url]: https://bundlejs.com/?q=hast-util-to-jsx-runtime\n\n[esmsh]: https://esm.sh\n\n[file-license]: license\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[github-hast]: https://github.com/syntax-tree/hast\n\n[github-hast-nodes]: https://github.com/syntax-tree/hast#nodes\n\n[github-hast-util-sanitize]: https://github.com/syntax-tree/hast-util-sanitize\n\n[health]: https://github.com/syntax-tree/.github\n\n[health-coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[health-contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[health-support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[npmjs-install]: https://docs.npmjs.com/cli/install\n\n[reactjs-jsx-runtime]: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html\n\n[typescript]: https://www.typescriptlang.org\n\n[wooorm]: https://wooorm.com\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}