{"_id":"mermaid-isomorphic","_rev":"12-896873dfdfce6f592e135c8c3c6362d8","name":"mermaid-isomorphic","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.2":{"name":"mermaid-isomorphic","version":"1.0.2","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@1.0.2","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"0402b86aa0e23c11230035017817d73a50fef851","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-1.0.2.tgz","fileCount":7,"integrity":"sha512-d19I2dIA9m5dkvvk4vP/v8ZHml6bppK0QAC1bAgeB3JaicAkX2t7UgQzaEMT+3rb6RJyf7oP506b4LbKuSoCUA==","signatures":[{"sig":"MEYCIQCWwD4+6+tDWpYEa/uPBBKd5i52Pn/Xf1OhjZU+XYgJngIhAJV5LEsPRO+iRh4w63g50GPBNdQrYQ2OLYgnkddXZVvs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":14489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTXflACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyCA//Q0ZhIXy1jM4DaalSEFsQiGo9tcdToLjzn68cwuu8p35aQVOP\r\nlkA8aj8FzRmiCz3veBGNeWYoBrN6VeEdJuRfunnu2N80HOKnc3HLAQh8nOmH\r\nN4GtAyAUoPXvqen7YTUucJfr/fdXEf6q9f406oOj1wnHSF9dH+nX7AK8rjDc\r\nrvW9C8tZpYg4+koIAactA9IQ/ep2BgDVEcmv4tEpEP3hVyBRTItTEODmVGzK\r\nPitzwo8BBXXyK8uMTXyitXjiW5ZdNhNNI/Enc1Mc2NNgFKNrWLVn3bnkKf6r\r\nPLTKletueIdsvBeUKsSgf6m4sHyTlKWP8SlzEp5iRFIYfPHEkIx0vtrp7/w7\r\n6emZmUiKGmN7U2JSk7SQDsoCHwJAjrTWniq5YLeNz6g9FmHtHOpewwXg4Ot0\r\n7HzmOeGmVMcfuAQOoNLJA5OLA7BTdq+SJ1f5WN3HZ+gZTsf0I/CDjWFd+dnD\r\nyCf23LZh5NJBWLFWv0UJxqaW85s7YoRANQx0CytN3C9GkdDLKQu35lQywYEx\r\neD97b3/f3grJ9wPNHX6ag6nVhx9X8XSzi4/JWUdCIRcs+r78YXruUZTX0KpF\r\nHvnw9VC2nfQFel9Tt4MQDNna9xdNU58HJ1mUORJfAr3iM+3qEAagXL0H7WP1\r\ntrbUTaiDyJu6O+mC27T9PghtHkLdcB+V+Ew=\r\n=1olW\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","_from":"file:mermaid-isomorphic-1.0.2.tgz","types":"./index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":{"browser":"./browser.js","default":"./index.js"}},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 ts-node-esm test.ts","prepack":"tsc --noEmit false"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-1.0.2.tgz","_integrity":"sha512-d19I2dIA9m5dkvvk4vP/v8ZHml6bppK0QAC1bAgeB3JaicAkX2t7UgQzaEMT+3rb6RJyf7oP506b4LbKuSoCUA==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"9.6.4","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.0.0","dependencies":{"mermaid":"10.2.0-rc.2","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","eslint":"^8.0.0","esbuild":"^0.17.0","ts-node":"^10.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/prettier":"^2.0.0","@fontsource/irish-grover":"^4.0.0","eslint-config-remcohaszing":"^9.0.0","remark-preset-remcohaszing":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_1.0.2_1682798565092_0.23775171163980247","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"mermaid-isomorphic","version":"2.0.0","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@2.0.0","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"05220fa6b8aeb68f3e4800c447bc1cafd537c8f0","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-2.0.0.tgz","fileCount":7,"integrity":"sha512-gLvSiDk2edx6XT+RufoN3XKZDXRk9F5VeBlfTbQPcNNTegCLVlGn8ppt7HHIPFlkTmhzN6QYA7n5qF2Mowv7Mw==","signatures":[{"sig":"MEUCICpOBgQK+Q5qOTnd+O5BhVcRBTkunin3aD84dK4yQCF0AiEAzhhMlHLwPbv2ltxtjVlFb5yY3Bua7m26bjzpfRw6fAs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":17692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU58MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIlhAAlAB2iDRBsG8sOTRzloQ6S08NZ7ui4QjGU7WS2n3xRffQKzjd\r\nE1lgOt24yaT7jROOl3KCVkH+7yI5YfCLhyKK02KuaVbWHAY7LzwzDEPAi7J/\r\nOdOvZ0Nrs94l+xzP2LqY4I/HmIKM4H0eMLwhlk62HQKKIJYLoOUiDfuyXZ1J\r\n9eR8tUbSkcWvmW1OxakT1ZVMhRIiXEICCewCD2WO/z/PgioeYcMVLM6U3Wi/\r\n5CMTa/e4iy0JrypA/nY/CVJhv3tm+rDrQ7UuCGPbYZKWkr7rj8nTz0pn+bxy\r\ndbVkBm3XhayVIcpW8qCClkeceaQCnawX91lMbtY8P00ftgEkQZUBzd4RWL1T\r\n2ZBCDl+QozkFZT1twRqf0RUFOUvxDXdgAc6x4xZDAyKa8lFJ1i1fLp8onVLz\r\nF0+D/6pd/TcSu4ZIcC0dFXt6rR3v5SBJFrJwyNHeeucc0olLN47GUgTUpH8G\r\n6pehzwiGIi7aYCaXg0XmyXxZ0D7g1oFX/tMoxIOGwqKjzYvVn1nwEu3BUlaF\r\n9Qg/WfVXqXJAkKbkCZEEqm77D1t8K2RivLpngnqoHniw/8OHqvjJZZ01Ncqv\r\nuMLAdHzt5J9q+GBy4sfNUHyknCAUN/B+EqmuJ/NGbjbWkcwiAAlTsuuTiVnw\r\nfJORHvK+Q/Ik3CuiULWcxL3hblR/pvfdoqU=\r\n=kFfL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","_from":"file:mermaid-isomorphic-2.0.0.tgz","types":"./index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":{"browser":"./browser.js","default":"./index.js"}},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 ts-node-esm test.ts","prepack":"tsc --noEmit false"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-2.0.0.tgz","_integrity":"sha512-gLvSiDk2edx6XT+RufoN3XKZDXRk9F5VeBlfTbQPcNNTegCLVlGn8ppt7HHIPFlkTmhzN6QYA7n5qF2Mowv7Mw==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"9.6.4","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.0.0","dependencies":{"mermaid":"10.2.0-rc.2","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","eslint":"^8.0.0","esbuild":"^0.17.0","ts-node":"^10.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/prettier":"^2.0.0","@fontsource/irish-grover":"^4.0.0","eslint-config-remcohaszing":"^9.0.0","remark-preset-remcohaszing":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_2.0.0_1683201803870_0.35132942324248373","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"mermaid-isomorphic","version":"2.1.0","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@2.1.0","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"aba835088fe993292af362b27a97c7bd50490ae8","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-2.1.0.tgz","fileCount":7,"integrity":"sha512-5ne8lMF4HLBznRSE7hGHF7G5rBBZ4qnGvihdgQHvO12dZijxWRcPs3c8hh6zJCECZO6Q9vCOj1TYUWEX9znVxw==","signatures":[{"sig":"MEUCIQDAWoZZ/tGTXVgY4mGpR6GrX+pRRXkXGOHMvti4MW156gIgWhjgeaoccAluqz2njFQhQgRmKrzZD5P/iOJcvT5bKhA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":17141},"type":"module","_from":"file:mermaid-isomorphic-2.1.0.tgz","types":"./index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":{"browser":"./browser.js","default":"./index.js"}},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 ts-node-esm test.ts","prepack":"tsc --noEmit false"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-2.1.0.tgz","_integrity":"sha512-5ne8lMF4HLBznRSE7hGHF7G5rBBZ4qnGvihdgQHvO12dZijxWRcPs3c8hh6zJCECZO6Q9vCOj1TYUWEX9znVxw==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"9.6.6","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.2.0","dependencies":{"mermaid":"^10.0.0","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","eslint":"^8.0.0","esbuild":"^0.17.0","ts-node":"^10.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"*","@types/prettier":"^2.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^9.0.0","remark-preset-remcohaszing":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_2.1.0_1685191195575_0.5651947100910888","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"mermaid-isomorphic","version":"2.1.1","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@2.1.1","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"2ba929018391058869aa52848f09238918a3e715","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-2.1.1.tgz","fileCount":7,"integrity":"sha512-iShQaYYfGYakKs6fbwVjaTAaTVYm02aIvq8QZJFZMEJ18it2YMhW7QF23jLc1SgXHfVLbeWVoQ27jar2X8KP9g==","signatures":[{"sig":"MEQCIHw/HvtYXQ/bxtsK7JmLX97oP8FyJp//8U4rt+0eleTkAiA6Yu0TVUiigBzVixJVngPJllWP3r6y5yyFSFMKCcvFvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17484},"type":"module","_from":"file:mermaid-isomorphic-2.1.1.tgz","types":"./index.d.ts","exports":{".":{"browser":"./browser.js","default":"./index.js"}},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 ts-node-esm test.ts","prepack":"tsc --noEmit false"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-2.1.1.tgz","_integrity":"sha512-iShQaYYfGYakKs6fbwVjaTAaTVYm02aIvq8QZJFZMEJ18it2YMhW7QF23jLc1SgXHfVLbeWVoQ27jar2X8KP9g==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.1.0","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.8.0","dependencies":{"mermaid":"^10.0.0","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","eslint":"^8.0.0","esbuild":"^0.19.0","ts-node":"^10.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_2.1.1_1696841592963_0.8871080018373156","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"mermaid-isomorphic","version":"2.1.2","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@2.1.2","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"1ccbcdb143b02edd06093c90c854f19e03dc07b4","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-2.1.2.tgz","fileCount":14,"integrity":"sha512-56bgo4pexO4dxtGT0szLKkbHtPdgB2ZDhIZBV6tKT8J/NlyjLa2bTeT9t5Y2zeMgL0y68gCYCQvn9+tIFg6Cpw==","signatures":[{"sig":"MEQCIFIR/2NmkubKFIVuDg0j/hbZUhk/C+30f+KgrkX/YrEvAiA9UgbT2l+imegkuUkTZZ6cuiXsngJw26CG128MVyvFOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@2.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34664},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-2.1.2.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"}},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps dist/test.js","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-2.1.2.tgz","_integrity":"sha512-56bgo4pexO4dxtGT0szLKkbHtPdgB2ZDhIZBV6tKT8J/NlyjLa2bTeT9t5Y2zeMgL0y68gCYCQvn9+tIFg6Cpw==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.2.4","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"mermaid":"^10.0.0","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^9.0.0","eslint":"^8.0.0","esbuild":"^0.20.0","prettier":"^3.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_2.1.2_1709125225359_0.9284028160383315","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"mermaid-isomorphic","version":"2.2.0","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@2.2.0","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"3e5231a93aedf9d7684bc9c48423185f4a3a6c46","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-2.2.0.tgz","fileCount":14,"integrity":"sha512-q2o4c4dmovxYltArK/pgwKQrwvtps0vyMG9myg2wfG9z5T4CNa7W0gh3Z91IsGaax9ZRfjPygT2zGGxfjUYFTw==","signatures":[{"sig":"MEYCIQD52LWeKtNFVT7zoo1X805iWyFHcU++38RJZxshan292wIhAL/zpD3auebyBpIEVb37wBJh1zijqW/dWGjAjf5oXM/w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34822},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-2.2.0.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps dist/test.js","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-2.2.0.tgz","_integrity":"sha512-q2o4c4dmovxYltArK/pgwKQrwvtps0vyMG9myg2wfG9z5T4CNa7W0gh3Z91IsGaax9ZRfjPygT2zGGxfjUYFTw==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.5.2","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","dependencies":{"mermaid":"^10.0.0","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^9.0.0","eslint":"^8.0.0","esbuild":"^0.20.0","prettier":"^3.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","snapshot-fixtures":"^1.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_2.2.0_1716127305983_0.23497073877294805","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"mermaid-isomorphic","version":"2.2.1","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@2.2.1","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"fbe3209cfd3f42b43463e1302f098f2a894ae448","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-2.2.1.tgz","fileCount":14,"integrity":"sha512-OPxQsUL2TIlAfC3ExhI/mORzigTbUOqYtqUGUECSKevGCSf/+QEwq78MRZWG1PpmTkl2ORoK8Yy5WkqqTqywMg==","signatures":[{"sig":"MEYCIQDm5Pdg5AUFXo/FX5jn5GrhYQR6cJx6faN2N0rf8w7jlQIhAPNJtzr8Od/5/HTe5igV7gwCHarkNAHFxYOrNvA9DQ6F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35302},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-2.2.1.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps dist/test.js","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-2.2.1.tgz","_integrity":"sha512-OPxQsUL2TIlAfC3ExhI/mORzigTbUOqYtqUGUECSKevGCSf/+QEwq78MRZWG1PpmTkl2ORoK8Yy5WkqqTqywMg==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.5.2","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","dependencies":{"mermaid":"^10.0.0","playwright-core":"^1.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^9.0.0","eslint":"^8.0.0","esbuild":"^0.20.0","prettier":"^3.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","snapshot-fixtures":"^1.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_2.2.1_1716201161497_0.7561894338909965","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"mermaid-isomorphic","version":"3.0.0","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@3.0.0","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"b0ab420f6cf91665321d06b944f5bbb229b23b1b","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-3.0.0.tgz","fileCount":14,"integrity":"sha512-6RBUQD0ZWzBHO4KZ8JMK3a/lNL7383N6K4nXzOdA2Ylnhz34qC8Nls2ZgOJVjGuB9Iq1bP61XKE0K/fNOD2n6g==","signatures":[{"sig":"MEUCIQDVi5XlynC0ttmCIDtKF/oby1yz9gVD+5dh4kdcid9aRQIgWlrBXMnAUA0krLaXghOVucGx87fM5jxAco1rQI7anRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36734},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-3.0.0.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps --test","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-3.0.0.tgz","_integrity":"sha512-6RBUQD0ZWzBHO4KZ8JMK3a/lNL7383N6K4nXzOdA2Ylnhz34qC8Nls2ZgOJVjGuB9Iq1bP61XKE0K/fNOD2n6g==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.8.3","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"22.9.0","dependencies":{"mermaid":"^11.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^8.0.0","esbuild":"^0.24.0","prettier":"^3.0.0","playwright":"^1.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","snapshot-fixtures":"^1.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^3.0.0"},"peerDependencies":{"playwright":"1"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_3.0.0_1728407393160_0.222303789171012","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"mermaid-isomorphic","version":"3.0.1","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@3.0.1","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"8edb7379fa06f08d6aee928a24129769f0912d92","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-3.0.1.tgz","fileCount":14,"integrity":"sha512-F5gGI+CAu8qpZL1bsh585rxfXhu+rA6Txyg0AXXzxnfHOAkcO90f34tkQZZGMT98m9o+MzUR5+3ao/G8JiO5Mw==","signatures":[{"sig":"MEUCIE0ngRK4DeTtHw3mXP6TNNdAarieEW0+fb0OGP0CBh9CAiEAqxubrNvEZFXZzF6kVMByO0QOpEpb+/t2vtqK8NcT8o0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38141},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-3.0.1.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps --test","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-3.0.1.tgz","_integrity":"sha512-F5gGI+CAu8qpZL1bsh585rxfXhu+rA6Txyg0AXXzxnfHOAkcO90f34tkQZZGMT98m9o+MzUR5+3ao/G8JiO5Mw==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.9.2","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mermaid":"^11.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^8.0.0","esbuild":"^0.25.0","prettier":"^3.0.0","playwright":"^1.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","snapshot-fixtures":"^1.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^3.0.0"},"peerDependencies":{"playwright":"1"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_3.0.1_1742383514019_0.5087358497687435","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"mermaid-isomorphic","version":"3.0.2","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@3.0.2","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"dcb0173e098bb01975a6f6bcd73c6b2f23add3c4","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-3.0.2.tgz","fileCount":14,"integrity":"sha512-5Gpr0cG+59MKYQD93fwZaGge0Le/MPQw/u27E/P6fmWxqRDVS6XmkD8L4FkZ8KVIKVz+ElcoZdWgTjLti/rtyw==","signatures":[{"sig":"MEQCIB4j1ctHgwXEYlmm6/Y84wi2KsBR9LKahxAtWpKDcZOHAiBLssBqd/jByhTgcV9qBbM/HxRA8cvm5ZV0cqlAPCFLog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38239},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-3.0.2.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps --test","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-3.0.2.tgz","_integrity":"sha512-5Gpr0cG+59MKYQD93fwZaGge0Le/MPQw/u27E/P6fmWxqRDVS6XmkD8L4FkZ8KVIKVz+ElcoZdWgTjLti/rtyw==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.9.2","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mermaid":"^11.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^8.0.0","esbuild":"^0.25.0","prettier":"^3.0.0","playwright":"^1.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","snapshot-fixtures":"^1.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^3.0.0"},"peerDependencies":{"playwright":"1"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_3.0.2_1743007419129_0.31706186285381466","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"mermaid-isomorphic","version":"3.0.4","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","_id":"mermaid-isomorphic@3.0.4","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"dist":{"shasum":"5852f1c241d0ee4683c6d8accbda3312a1599eec","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-3.0.4.tgz","fileCount":14,"integrity":"sha512-XQTy7H1XwHK3DPEHf+ZNWiqUEd9BwX3Xws38R9Fj2gx718srmgjlZoUzHr+Tca+O+dqJOJsAJaKzCoP65QDfDg==","signatures":[{"sig":"MEUCIEMKg0EH3Q0gPm7d/3Fs8QF8vwQllru/pE7SC0capHsNAiEA0D3bcmRwhqPx9NzFjeL5hFKabUzV12mBlnpob7S0zz8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@3.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40738},"main":"./dist/mermaid-isomorphic.js","type":"module","_from":"file:mermaid-isomorphic-3.0.4.tgz","types":"./dist/mermaid-isomorphic.d.ts","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"funding":"https://github.com/sponsors/remcohaszing","scripts":{"test":"c8 node --enable-source-maps --test","prepack":"tsc --build","pretest":"tsc --build"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-3.0.4.tgz","_integrity":"sha512-XQTy7H1XwHK3DPEHf+ZNWiqUEd9BwX3Xws38R9Fj2gx718srmgjlZoUzHr+Tca+O+dqJOJsAJaKzCoP65QDfDg==","repository":{"url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git","type":"git"},"_npmVersion":"10.9.2","description":"Transform mermaid diagrams in the browser or Node.js","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mermaid":"^11.0.0","@fortawesome/fontawesome-free":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^8.0.0","esbuild":"^0.25.0","prettier":"^3.0.0","playwright":"^1.0.0","remark-cli":"^12.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","snapshot-fixtures":"^1.0.0","@fontsource/irish-grover":"^5.0.0","eslint-config-remcohaszing":"^10.0.0","remark-preset-remcohaszing":"^3.0.0"},"peerDependencies":{"playwright":"1"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mermaid-isomorphic_3.0.4_1743250906559_0.535796435793376","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"mermaid-isomorphic","version":"3.1.0","description":"Transform mermaid diagrams in the browser or Node.js","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"repository":{"type":"git","url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git"},"funding":"https://github.com/sponsors/remcohaszing","license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"sideEffects":false,"type":"module","main":"./dist/mermaid-isomorphic.js","exports":{"browser":"./dist/browser.js","default":"./dist/mermaid-isomorphic.js"},"scripts":{"prepack":"tsc --build","pretest":"tsc --build","pretest-minimal":"tsc --build","test":"c8 node --enable-source-maps --test-reporter junit --test-reporter-destination junit.xml --test-reporter spec --test-reporter-destination stdout dist/test.js","test-minimal":"node --enable-source-maps dist/minimal.test.js"},"dependencies":{"@fortawesome/fontawesome-free":"^6.0.0","katex":"^0.16.0","mermaid":"^11.0.0"},"peerDependencies":{"playwright":"1"},"devDependencies":{"@fontsource/irish-grover":"^5.0.0","@remcohaszing/eslint":"^13.0.0","@types/node":"^25.0.0","c8":"^10.0.0","esbuild":"^0.27.0","playwright":"^1.0.0","prettier":"^3.0.0","remark-cli":"^12.0.0","remark-preset-remcohaszing":"^3.0.0","snapshot-fixtures":"^1.0.0","typescript":"^5.0.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"types":"./dist/mermaid-isomorphic.d.ts","_id":"mermaid-isomorphic@3.1.0","_integrity":"sha512-mzrvfEVjnJIkJlEqxp3eMuR1wS0TeLCH1VK5E/T5yzWaBwI3JqjJuw70yUIThSCDJ5bRs6O3rgfp00oBAbvSeQ==","_resolved":"/home/runner/work/mermaid-isomorphic/mermaid-isomorphic/mermaid-isomorphic-3.1.0.tgz","_from":"file:mermaid-isomorphic-3.1.0.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-mzrvfEVjnJIkJlEqxp3eMuR1wS0TeLCH1VK5E/T5yzWaBwI3JqjJuw70yUIThSCDJ5bRs6O3rgfp00oBAbvSeQ==","shasum":"b68ffe3beb2e604af0ca90ef4abfa24e4f9b504c","tarball":"https://registry.npmjs.org/mermaid-isomorphic/-/mermaid-isomorphic-3.1.0.tgz","fileCount":19,"unpackedSize":45883,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mermaid-isomorphic@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFcpuDh8janG7f3wBteaFo8PH3v0eUpJRmycKQ895/XwAiEAsm4Qcex2lrGSFOpVbdAujaQssLeyb46agME5leJh3Mo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:51841eb2-adee-49fa-9e75-f4464957c493"}},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mermaid-isomorphic_3.1.0_1771499307100_0.23858555038040197"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-29T20:02:45.020Z","modified":"2026-02-19T11:08:27.555Z","1.0.2":"2023-04-29T20:02:45.278Z","2.0.0":"2023-05-04T12:03:24.081Z","2.1.0":"2023-05-27T12:39:55.761Z","2.1.1":"2023-10-09T08:53:13.173Z","2.1.2":"2024-02-28T13:00:25.570Z","2.2.0":"2024-05-19T14:01:46.148Z","2.2.1":"2024-05-20T10:32:41.633Z","3.0.0":"2024-10-08T17:09:53.414Z","3.0.1":"2025-03-19T11:25:14.303Z","3.0.2":"2025-03-26T16:43:39.324Z","3.0.4":"2025-03-29T12:21:46.872Z","3.1.0":"2026-02-19T11:08:27.247Z"},"bugs":{"url":"https://github.com/remcohaszing/mermaid-isomorphic/issues"},"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","homepage":"https://github.com/remcohaszing/mermaid-isomorphic#readme","keywords":["browser","isomorphic","mermaid","mermaidjs","node","nodejs"],"repository":{"type":"git","url":"git+https://github.com/remcohaszing/mermaid-isomorphic.git"},"description":"Transform mermaid diagrams in the browser or Node.js","maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"readme":"# mermaid-isomorphic\n\n[![github actions](https://github.com/remcohaszing/mermaid-isomorphic/actions/workflows/ci.yaml/badge.svg)](https://github.com/remcohaszing/mermaid-isomorphic/actions/workflows/ci.yaml)\n[![codecov](https://codecov.io/gh/remcohaszing/mermaid-isomorphic/branch/main/graph/badge.svg)](https://codecov.io/gh/remcohaszing/mermaid-isomorphic)\n[![npm version](https://img.shields.io/npm/v/mermaid-isomorphic)](https://www.npmjs.com/package/mermaid-isomorphic)\n[![npm downloads](https://img.shields.io/npm/dm/mermaid-isomorphic)](https://www.npmjs.com/package/mermaid-isomorphic)\n\nRender [Mermaid](https://mermaid.js.org) diagrams in the browser or Node.js.\n\nThis is useful if you wish to render Mermaid diagrams in a Node.js or an isomorphic environment. If\nyou want to render Mermaid diagrams in the browser directly, use the\n[`mermaid`](https://www.npmjs.com/package/mermaid) package directly.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Fonts](#fonts)\n  - [Icon Packs](#icon-packs)\n  - [Browser](#browser)\n- [API](#api)\n  - [`createMermaidRenderer(options?: CreateMermaidRendererOptions)`](#createmermaidrendereroptions-createmermaidrendereroptions)\n- [Compatibility](#compatibility)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n```sh\nnpm install mermaid-isomorphic\n```\n\nOutside of browsers `mermaid-isomorphic` uses [Playwright](https://playwright.dev). If you use this\noutside of a browser, you need to install Playwright and a Playwright browser.\n\n```sh\nnpm install playwright\nnpx playwright install --with-deps chromium\n```\n\n## Usage\n\nFirst, create a Mermaid renderer. Then use this renderer to render your diagrams.\n\n```js\nimport { createMermaidRenderer } from 'mermaid-isomorphic'\n\nconst renderer = createMermaidRenderer()\nconst diagram = `\ngraph TD;\n    A-->B;\n    A-->C;\n    B-->D;\n    C-->D;\n`\n\nconst results = await renderer([diagram])\nconsole.log(results)\n```\n\n### Fonts\n\n#### FontAwesome\n\nMermaid has support for\n[FontAwesome](https://mermaid.js.org/syntax/flowchart.html#basic-support-for-fontawesome). This is\nalso supported by `isomorphic-mermaid`, but you need to load the FontAwesome CSS yourself when\nserving the SVG.\n\n#### Custom Fonts\n\nBy default `mermaid-isomorphic` uses the `arial,sans-serif` font family. This font family is mostly\ncompatible across all browsers and devices. If you wish to use a custom font, you need to specify\nboth the `mermaidConfig.fontFamily` and `css` options.\n\n### Icon Packs\n\nYou can register custom icon packs to use in your diagrams. For more information refer to the\n[mermaid-js](https://mermaid.ai/open-source/config/icons.html) documentation. Keep in mind that\nlazy-loading is not supported.\n\n```js\nimport { createMermaidRenderer } from 'mermaid-isomorphic'\n\nconst renderer = createMermaidRenderer()\nconst diagram = `\nflowchart TB\n  MyNode@{ icon: \"custom-icons:alien\" }\n`\n\nconst inlineIconPack = {\n  name: 'custom-icons',\n  icons: {\n    prefix: 'custom-icons',\n    icons: {\n      alien: {\n        body: '<path d=\"M8 16L3.54223 12.3383...\" />',\n        width: 80,\n        height: 80\n      }\n    }\n  }\n}\n\nconst results = await renderer([diagram], { iconPacks: [inlineIconPack] })\nconsole.log(results)\n```\n\nIcon references in diagrams use the format `prefix:iconname`, where the prefix matches the prefix\ndefined in your icon pack.\n\n### Browser\n\n`mermaid-isomorphic` is intended for use in Node.js, but also provides a browser export. This means\nit can be used in the browser, but it’s recommended to use the\n[mermaid](https://mermaid-js.github.io) package directly.\n\n## API\n\n### `createMermaidRenderer(options?: CreateMermaidRendererOptions)`\n\nCreate a Mermaid renderer.\n\nThe Mermaid renderer manages a browser instance. If multiple diagrams are being rendered\nsimultaneously, the internal browser instance will be re-used. If no diagrams are being rendered,\nthe browser will be closed.\n\n#### Options\n\n- `browserType` (`BrowserType`): The Playwright browser to use. (default: chromium)\n- `launchOptions`: (`LaunchOptions`): The options used to launch the browser.\n\n#### Returns\n\nA function that renders Mermaid diagrams in the browser. This function has arguments:\n\n- `diagrams` (`string[]`): An array of mermaid diagrams to render.\n- `options`:\n  - `containerStyle` (`Partial<CSSStyleDeclaration>`): A style to apply to the container used to\n    render the diagram. Certain styling is known to override the rendering behaviour. For example,\n    the `maxWidth` property affects gantt diagrams. (default:\n    `{ maxHeight: '0', opacity: '0', overflow: 'hidden' }`)\n  - `css` (`string` | `URL`) A URL that points to a custom CSS file to load. Use this to load custom\n    fonts. This option is ignored in the browser. You need to include the CSS in your build\n    manually.\n  - `screenshot` (`boolean`): If true, a PNG screenshot of the diagram is included as a buffer. This\n    is only supported in Node.js.\n  - `prefix` (`string`): A custom prefix to use for Mermaid IDs (default: `mermaid`).\n  - `mermaidOptions` (`MermaidConfig`): A custom Mermaid configuration. By default `fontFamily` is\n    set to `arial,sans-serif`. This option is ignored in the browser. You need to call\n    `mermaid.initialize()` manually.\n\nIt returns a promise settled result with the render results. The render results have the following\nproperties:\n\n- `description` (`string`): The aria description of the diagram, if it has one.\n- `height` (`number`): The height of the resulting SVG.\n- `id` (`string`): The DOM id of the SVG node.\n- `screenshot` (`Buffer`): The diagram SVG rendered as a PNG buffer. This is only added if the\n  `screenshot` option is true.\n- `svg` (`string`): The diagram rendered as an SVG.\n- `title` (`string`): The title of the rendered diagram, if it has one.\n- `width` (`number`): The width of the resulting SVG.\n\n## Compatibility\n\nThis project is compatible with Node.js 18 or greater.\n\n## Contributing\n\nTest fixtures are generated and verified using Linux. Rendering on other platforms may yield\nslightly different results. Don’t worry about adding new fixtures, but don’t update existing ones\nthat cause CI to fail. Furthermore see my global\n[contributing guidelines](https://github.com/remcohaszing/.github/blob/main/CONTRIBUTING.md).\n\n## License\n\n[MIT](LICENSE.md) © [Remco Haszing](https://github.com/remcohaszing)\n","readmeFilename":"README.md"}