{"_id":"mdimg","_rev":"33-05fe3487773dae9b9be7dcea06d87710","name":"mdimg","dist-tags":{"beta":"2.0.0-beta.4","latest":"2.0.0-beta.6"},"versions":{"0.1.1":{"name":"mdimg","version":"0.1.1","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.1.1","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"3a37c6aebe8389c8c4f134fc70cc66eb4744af7d","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.1.1.tgz","fileCount":15,"integrity":"sha512-ZQxRwur08Uys5ODlgM6y8uoXELq1XaZ2OX+lQVUJBxQblMS6S3l+hqHWqlRJQHpJggEtm4CSWeeIIG4AUW1B7Q==","signatures":[{"sig":"MEQCIHfiAo0i9+wWTWGrQlbBxPUBWxXEe41VHpBz2Ir0gX3ZAiA7IFDAPSXo0DEyfstRBLtYxPR2wVTh/zy8wWNc812vSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEdedACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJug//fNzTz9DgmoCm0SBA97WgI38dHE/y29pvGYHMetUpc2xqV8R9\r\nbQGiLPVxl8tKXPkucWx7znq1bEFA1aq4z/E8o2S5/0QIMwp6w+g5JQg3JCed\r\nbejgAr0crB+jJUO6K32KfU2oXyz8IlIGekM1DOtlKN61pshy+hTkJpFrZ66F\r\nm9utQnV7R9n9ZHL3iqPpzMHmjbqLHRzEbiUbRMkM8DELhAtqP7G2mxEcrGZW\r\nynpXcz7o7ocMOWmuYYAabsAyNOBvFZRmCfpbHXIrWgT2mPqNW5cer9xwLl2J\r\nPnV2kolnwuTmPXuorcNIx4SiZGWkC/KglWwyTFUki1XRL++hDCH6EQJeuEje\r\nOAhGbEdGcPHrfcmDFONifzQpCey0jFTiCVg/8yGHC3pvyyCnwhby9QxngXuz\r\n4EPtIUysLyro8QYbBN12WY/rW6Se0ISQd/5qVcCRJdJ2twv40NxrbpzqPLBF\r\nQKetGwLSa3UV76tZqsvMrWydUhkkVD3KXhtFqWVPW6EOjuqKDVxOPtBM41zb\r\nMbYr+kt/ileGN/MLUEwNA6aNkvhlVymQOgaDUeGi9Z/jlzsJSbWGCI5oHooR\r\nn6tpe2AGcrv1/z4S0YyayCQMKXFDgTx7oTbrlNqElpdPlzgSp7LW2exwTM9i\r\n56kH6TQU590yMc0IanQUUouK5Am6cAtdFkI=\r\n=QDWn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/mdimg.js","module":"lib/mdimg.mjs","gitHead":"c067faef75fe81f181b0dfd4897a33055f74798f","scripts":{"lint":"eslint --ext .js .","test":"babel-node ./test/index.js","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"8.4.0","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"16.13.2","dependencies":{"marked":"^4.0.12","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.3.2","@babel/runtime":"^7.17.2"},"_hasShrinkwrap":false,"devDependencies":{"sass":"^1.49.8","eslint":"^8.9.0","rollup":"^2.67.2","prettier":"^2.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.0","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3","@babel/plugin-transform-runtime":"^7.17.0"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.1.1_1645336477111_0.3105806128999147","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"mdimg","version":"0.1.2","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.1.2","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"035b6acf403dd5ba80e6a254e8e4972a66d71ca1","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.1.2.tgz","fileCount":15,"integrity":"sha512-GB2Z5sDfY6RpekQBHWs7pN4/bZTEwYFUjWZLe5XLub2p0larPMijiM/ZEgRx6twXh+hS+fqIaMu2tHVIUyz/3A==","signatures":[{"sig":"MEUCIQDcnwfsgPx1XqYqjd76EqMyVVXfMWV8ElsYhmVMIXe2oAIgenjLFuokNb1aYfSkT4Ap6X3Dcq66YIEquyl/Aptp8Ks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEfUKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplxQ/9G9wH5z296gbDiSd9FFUg9UWb6QuWGqOiJkcuBNEPy28dnzZQ\r\nimJZQ+ssVChp29CHgbJo/E3R3AGvgvQIG81k00+sov7BrE/qo+H6kEXQhfkX\r\nAIqdQ/BRdNLT/dE/Za9HP2GkNaB2zCALA7Kwc1d6HjAEPeqUT5faqzy3P3kc\r\nODnWGYnkBjsKcdKHQm0gMrSg/UWHPdjA3gJ9v6vX674dJ+pJ7UUMWNXnaes8\r\nsn/Sjpa0oFQFbGRCnPAfVGWU91jilBunFpEUL/DJomajuQOAc4Vxb5zSD6ZM\r\n3F1WVdoLbKmdroQPrxWkmH6l6qjDLJkdpQfpLPHCv/JrW0Qtoe55sJJE02m0\r\n4uVlAWU2PfUyOFD2IC9tvW0iI2J5uxZVmNFgDIe5UxZbIXjU0TSYBhoPJzJT\r\n6Gr7PKOiYZ6ewRK8wC6xUqYbj6A0DCP+IojHZJPEhWuGOrmgbQZ+a+AEZwJY\r\nsi+ep1lhXmk4LPez8MIp50RCHdWand69XXZWTUkBIRuSFYYYPdwDFuluw7VW\r\nCVLScUj3hUKoU1Hk/YGaY5v/GcbTnA+TRkF1Cl0UGARP4q5AKQmxWcm+udm5\r\nRCR4CdtAwjJxBxZ04CTV1M2vmAsUfIp8KBg72b9gAoXm1aiU/rTZ3HC2AOJV\r\nBj+yOl/SN0aYDZQhcFmA8MfMmgXu2DZbpVc=\r\n=fUU3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/mdimg.js","module":"lib/mdimg.mjs","gitHead":"8c4c778c2d21baf0a324e00cf75fa0ad4e3ae929","scripts":{"lint":"eslint --ext .js .","test":"babel-node ./test/index.js","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"8.4.1","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"17.5.0","dependencies":{"marked":"^4.0.12","string":"^3.3.3","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.3.2","@babel/runtime":"^7.17.2"},"_hasShrinkwrap":false,"devDependencies":{"sass":"^1.49.8","eslint":"^8.9.0","rollup":"^2.67.2","prettier":"^2.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.0","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3","@babel/plugin-transform-runtime":"^7.17.0"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.1.2_1645344010478_0.4015133594322615","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"mdimg","version":"0.1.3","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.1.3","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin\\mdimg.js"},"dist":{"shasum":"3f178e5cae58188c22679c9ff424cbe10a11c367","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.1.3.tgz","fileCount":22,"integrity":"sha512-oSpatDXm5JHaAY++ka1oQuqk3jMCRDxFp1z3xvgjm3+cwQAE/pm6aqRFr1MiaYNHH7qmKAW/oHjuVcNd1Gr9VQ==","signatures":[{"sig":"MEUCIQDFUmK64OtUjV/h17hJnm/MiTnIFHPd9OiHKtUJiaGDWgIgBINQud7HI3tjt9PALHeMDO77aTLHMQLH0jdmpbMvS8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE5q5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2Rg/9ESgQCEP1JMfVgVsEtVrBZ6/4iCLYQS+F3TbZUqEheIC3O3nk\r\nCPkLTLj/Au5gbrApPlvptyCBF2HutnKu7oH/aSLPUas6Y6qxzLE96rVPgaHm\r\nOcDBNr6CjMIq3HQpz4xHmlBfJif/cwpq4ngxLBEBvGFub0WAQCTiKIzrnyI0\r\nYK4zcP8Zd7VUXKpspuTA0dlxvg2z64XYnm6cpaSfDuBPfzz2LABJGYaUOtri\r\nPEJTbImvr66J5nrS8b2FCZ4b7uc12ZGRwSmD0mJAG94gpS78VjeQUkNNRwHD\r\nmFR3nflEI+QevYMzaXpx7J7L85o4Ksf/8bWR0+Nz0fFvBAUU/dw3c0yLaloq\r\n80Xd03mG3eq8auBTFxQjpRM1tG6aY8aNSi+kZNkMzYAZysNDYlil0V96JRhu\r\nv7VQSCKNRa9H8DQenpyeNKLX6reL536293IadaTGtA7J+PkjNZjodtbJbq0w\r\nItF80VpengsJ1lGfpcDtrmNaZVei9WIEhrZq2K1zM5uF4mLCxTVr+4R9JIcS\r\nDGDRjIcGpbvQCR4+ccUVI+VpL9aoMaCLUydSMjV5G6EZAwzCTNychnfhPK+V\r\nF0hpEoPQE3I2CZ0oNHYqXl5XvxFngrmMIuhT8ZrEiWpOrbMZaNOwYaISRd08\r\nY4NKeMifWLOp0MRh4qGyrnCRglmeMDgut0g=\r\n=QaL6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/mdimg.js","module":"lib/mdimg.mjs","scripts":{"lint":"eslint --ext .js .","test":"babel-node ./test/index.js","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"description":"Covert Markdown or HTML to image","directories":{},"dependencies":{"marked":"^4.0.12","string":"^3.3.3","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.3.2","@babel/runtime":"^7.17.2"},"_hasShrinkwrap":false,"devDependencies":{"sass":"^1.49.8","eslint":"^8.9.0","rollup":"^2.67.2","prettier":"^2.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.0","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3","@babel/plugin-transform-runtime":"^7.17.0"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.1.3_1645451961170_0.7190256968114983","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"mdimg","version":"0.2.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.2.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"a19bac09eae50d2b6b63721c274d20fd10f0b23d","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.2.0.tgz","fileCount":15,"integrity":"sha512-2CLzqre3MmG6I87yB9TF0pq1eKMoLbf9lewluKEaGW4YV+ihgIWEDa66oLnbgSYjvLr7rPxl+1/HRRd1I0JcZQ==","signatures":[{"sig":"MEQCID3Oar6/KTyXpaxX4Q+fOthtOamiGJVAjaymMdP76oZIAiAsgpSA0DXE9HPHKvsikb9fzxSX3k4Ych2zZMMBYVGIcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFe6CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6dg//c7DIINGGnewlTimYcZhD59dSfvHQlwMKwRAlvZMeipcGq8uM\r\nKeVRJUGV4YvtCwkNyV6ba0Gp5WptxHsJDXR/eTPMcr56pnMDYqTRxA8SrFtj\r\n7kQ0AI7GqcVX9P+AQwb3rcQShl/v73jKk5R6OMWKj6zWHiwMtKN1Wx1becK8\r\nltGUQee8ITUm8BCopoYvTjrN/B206xI5AR3zRrChtMki6EU9zLG92L1KetUt\r\np8K5DfvSUVohtAcuIdjQIW8n7qnvQ1uwaHWudDSykgmRkrwzAMtibk5cbM4P\r\nLK+6fV+KXDFTqcw9CNkh6EbozqC7PkklAV61kEW4Oygs54kXn1MvLJKDp/XI\r\nYjOa+WzLF6RIt9X2YSTOthBydgoVAZ1J5K8ptW6zKEArPMdBy8NXW7FCGmBX\r\n0qCvbfsaPOnWbKRQWP2HPOGp4I7m2u1LLgbpTedoB1BHGvGUn5sjIaR/ho6H\r\nnm44damypZxdqep+I80rNKyiSHeje8ogqPfUj0jtAFdP7qKxZNM9BaSQPVUb\r\nouvnnaV9unHIVTYqpgJ4tx+PMY2zXw99m3mNwM7sLmn3YB+xBfl88hSfpP4b\r\nFOLdGAqn77M1lBnp5U0dPI4y0OIdr3Unuoc0FycxTR1WGFjs5s5LbGei2fpl\r\noY8+huvYw9o6ojiCwKtq7UiQ2nePtFsWboQ=\r\n=9ZKV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/mdimg.js","module":"lib/mdimg.mjs","engines":{"node":">= 12.0.0"},"gitHead":"96d5036365cc102521c1321d53f0714d850cb7d2","scripts":{"lint":"eslint --ext .js .","test":"jest --roots test --testTimeout 15000","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"8.4.1","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"17.5.0","dependencies":{"marked":"^4.0.12","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","sass":"^1.49.8","eslint":"^8.9.0","rollup":"^2.68.0","prettier":"^2.5.1","babel-jest":"^27.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.4.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.2.0_1645604481954_0.5006507637780488","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"mdimg","version":"0.2.1","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.2.1","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"1425a75c0d65fd0e976016a9953e009c087229e6","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.2.1.tgz","fileCount":15,"integrity":"sha512-I0yrWw+bbPA/hs8QNnhtQqIixuoEyV5rBbPmHMiibY3Q5/VQ2Tqu3/izlw1u1fNDjyfvz2UM1joudt+Dp0qPUg==","signatures":[{"sig":"MEYCIQD7/XEEmqATxqBkjHR5c6yNobO5AAght2heXC/B5d2LrQIhALsNuMqszE6L632QRjGfryBjcCRtMRs0U3jUBRRTNbF5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKo8/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6mQ//WqE6d3hYEixGyNlpl1FiR2yGOu/Z7+Le6AGNlnSyHWETTbAw\r\n0bCVr4M78Kqhma1WH2gaPrnnaHF+Giw0EpyZ3zKqu3tzu5AAuCXfCqK8ukbB\r\nwfAlCsLbylRZ4w+ovoi6qy3BhV0S5eYPCD+xDF12wU6hx/UzEG79VqKTUv3N\r\nmTknEk1FTmv4SNqYyBBexkgVbkxsZEX26cMyOXCXtrGs6fTaVB3Np6S8SY4K\r\ngn4oYKISbK2YMqmXwaT7l+3p3VgiR/O/1Yj6/SFMWTtt5RWckLaDZUsDFtOw\r\nJ+VIiEevC4Zou8u9YkQncVjVMoLDeTkjKU4Z5L14B9WyfCHIm/SjoJNmpYCh\r\n3VCN41oa8Bv1RfoyPhiyemJNFOq8xMZa1QVAIROJIwksRoL9ZlnFVZ4a/aWP\r\nPlkeYIbCjE4iUwl9hBXrBZd9nmKPhVOJDAC/MbnRUeUN6aWJ+DtFQW1dqqWj\r\nv57xs5l/3gHOwZHIdd8krjN/dhtzR9A9zOwXd4VVEJc7/yWJsHM8ASa/Bw72\r\nhi/3tZbswDvz7XYinsgC92LL0QsxtGbwqRsn9g/ls/gbp4nZHcRDlO9Z1LsY\r\n8Tz5mufRU31b7PrPQJOkgOj25QLGMFycFo0w/obRjoLO/2PaagjE6fXdISN9\r\n0b5K+oBhe1SSqA7F72vNGvUjVk18hg/+9jo=\r\n=9z7V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/mdimg.js","types":"types.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 12.0.0"},"gitHead":"d0ce15a98f6d9b3808a105066c69a90f20b0d503","scripts":{"lint":"eslint --ext .js .","test":"jest --roots test --testTimeout 15000","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"8.11.0","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"16.15.1","dependencies":{"marked":"^4.0.12","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","sass":"^1.49.8","eslint":"^8.37.0","rollup":"^2.68.0","prettier":"^2.8.7","babel-jest":"^27.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.2.1_1680510782802_0.9923576851746336","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"mdimg","version":"0.2.2","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.2.2","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"e5192891cfc114cb10720c63221df7694b3e9091","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.2.2.tgz","fileCount":16,"integrity":"sha512-c3uNz0KqxOWclsVpZLM9lkzYkGiTBCzYfLaKuxa5DKRT7oBEAQQo1IWmk1k1Etn6u3l7iNDcit+ta7+RyqmBow==","signatures":[{"sig":"MEUCIQCTwPrnAEHFhQT1gGA0uyj113POXuRFoA0fPpH51X584AIgJJNlQhgYMELG7ApY6OEC179pR7FT8UTB2sxUeoXpNes=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPsYLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPyBAAj2y/KyqWbjbhACOr38XiMB+Z4MLvL/XfkVGlSYutGFZ6seft\r\nQo6rJITYVvpLNw24+mrNmGcwSrENPkTQFsQHDSX4dVsD31+toRu2zTR7Livv\r\n+uJfCau29cWlPd233esCyBclWHOT+39q+6kldK41jS5IUYY7TUYlecakywtq\r\nDPAnrpMnSDMAb1VQ5vF7vCICN5g8nLQzpTUPtGxA48FCo700KofBfMzIOiNp\r\nX/Rh4HRgVwAmhhZbPi6xU25Y6XdMJyqAGcjDls2x6tbTnK8R/rj+UA0s2Dar\r\n4XoIH1yDl3okccaNgrnuR62M4ROZ+mYW47ybvQw1yzq5FWUfIjIZ7cIlit0j\r\n2/vHHONxpCCGfYirE13bHglCVA9D/vCiCwK5RvnFpgo65ElS+ZVyHRIC/CHB\r\nKsAPKZbWwzlQgw+N4NePCP/SSeN0WnoMEtk+dkcZvIFCoHhicp/vfAwq9AiS\r\n+vqqsIdVkC5DphI1OvlwPZloe2RJNDzUU3XOvxEOCPFIayWPHKzdmhrNnFjd\r\n2KGs25RDPEe/GxfRazMKPopSHMjnPOFh44arft/dGNU85AdjQ9I06pRNxUMi\r\nUm7UvknV59kucMPZSGcpBCvnGdvcnmbhnI0tbGzOG/5bhC1J6XVvyXuCLmEO\r\ni1V103yx/u2qDQsUEYz1cZ0nmQpsMYFur/Y=\r\n=bEjS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/mdimg.js","types":"./types.d.ts","module":"./lib/mdimg.mjs","engines":{"node":">= 12.0.0"},"gitHead":"094d2dcda1a51f4f56401cdbcbad71343c165fe3","scripts":{"lint":"eslint --ext .js .","test":"jest --roots test --testTimeout 15000","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"6.14.13","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"14.17.3","dependencies":{"marked":"^4.0.12","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","sass":"^1.49.8","eslint":"^8.37.0","rollup":"^2.68.0","prettier":"^2.8.7","babel-jest":"^27.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.2.2_1681835531456_0.19560410027199326","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"mdimg","version":"0.2.3","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@0.2.3","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"eee7c5428cf6133fd110a4bebc5e818bfe8e2e92","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-0.2.3.tgz","fileCount":16,"integrity":"sha512-qwYpVkKMsSXN4p6KH07A8ECLAxDuLC/NJPJ/Sj/QcSLtMwn8g8V4tdCN5WeKPp8yTzBW3WRCJKtf/w8cQPrU4Q==","signatures":[{"sig":"MEUCIEHsCKTIkqoYA+ziViTi10zfGguXdh9tYnZW0I24ZNpGAiEArsEpnlkHIxujNgYQ5klQyjH5mb6PTLTHsTdjlUFGtQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPstlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPtw/+JlovkMfIA7U1e+B0vq297/Ffa9wf92d/jP6p9hQhZ253ZCO7\r\n+P1B6cfSeC+5zasshxk54xQn0O1G7y+DFGPHcO899TzwK22ADh9Noz5eMmSQ\r\nJKIVZ8imvICUHKYwCARsW1fSYBAghyZD8HmJjfgDVL56DtotaUrQNUkOfeCS\r\nOF8ntMwG3nCpg3Une7pr3dM+dAJOA5IYsmuL02wiZ0w8NI60pavCstASRoQZ\r\no5gnA4U9sqFhDvRicmLYVjM2/A7LcDu16mJOHohgjzG1J5l+zrZMsfcg0mxY\r\naz82kXBnalrUtg+0aG2nSEA11l4IamP6aQXnO68cSf0N7tSV7KBJ8md2j2ac\r\nEbf/t5LxZVJq5+yyL9F8mFJQ7OWK/Eye4SrXDD32gPosghyQRudUtIcUIm/R\r\nFe2hKBsxhCEFsU/KyMI2UX1JXsrGh8gemqRx5FmwkUv7ZuDX+mfJKnTUorPE\r\n5vrtQ7yAdpF+3oylnwQKEFbJVNqX/X0V43CeH95o7ufzT2oVAoQcE8Rd/kx3\r\nPbbFVpYoPBfXFPY+xfzBIXNQT6ON6XswZi21Nz5iQDAN+vRH7dbych4EHhbC\r\nl2oqpmu1vnFTPmvA7G8j9CDD730apoz+OyM4RzDV05tY+ztZT3lvsS5e9zN4\r\nUmMTm+wWnMEfMm2NeuZbgpTXhQQbsGxfiY8=\r\n=/uaw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/mdimg.js","types":"./types.d.ts","module":"./lib/mdimg.mjs","engines":{"node":">= 12.0.0"},"gitHead":"384cb7abdc1efb71070eeb9919370b8ee16dd867","scripts":{"lint":"eslint --ext .js .","test":"jest --roots test --testTimeout 15000","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js","rollup:sass":"rollup -c rollup.sass.config.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"6.14.13","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"14.17.3","dependencies":{"marked":"^4.0.12","cheerio":"^1.0.0-rc.10","commander":"^9.0.0","puppeteer":"^13.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","sass":"^1.49.8","eslint":"^8.37.0","rollup":"^2.68.0","prettier":"^2.8.7","babel-jest":"^27.5.1","@babel/core":"^7.17.5","@babel/node":"^7.16.8","@babel/preset-env":"^7.16.11","rollup-plugin-scss":"3","@babel/eslint-parser":"^7.17.0","@rollup/plugin-babel":"^5.3.1","rollup-plugin-license":"^2.6.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.1.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_0.2.3_1681836901694_0.34040343796337114","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"mdimg","version":"1.0.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.0.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"dbe1eca80ed083256ca2d99121267bed564d786a","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.0.0.tgz","fileCount":16,"integrity":"sha512-eD4Flm8Y5cRCDkhmonWKp37LMETfqFl0LuyVxgOV+2qXlT9cIYXcX2KtkQza91I4ZbzVKmBYk2h8K4iyVrxu9g==","signatures":[{"sig":"MEUCIQCXwE/2NCCDj4Wq7/RIOavjaG4hMSjDg3HalUorp7vPXAIgFugRvALkemK8P922oGmsqVCjmBQpYwSTjAdQkfDmHag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30136},"main":"./lib/mdimg.js","types":"./types.d.ts","module":"./lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"c86da8ccda4a7943e8a1f5d98ca598ae36696536","scripts":{"lint":"eslint --ext .js .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-path .eslintignore --ignore-unknown","rollup:js":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.5.0","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"18.20.2","dependencies":{"marked":"^12.0.1","cheerio":"^1.0.0-rc.12","commander":"^12.0.0","puppeteer":"^22.6.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.75.0","tslib":"^2.6.2","eslint":"^8.57.0","rollup":"^4.14.3","prettier":"^3.2.5","babel-jest":"^29.7.0","typescript":"^5.4.5","@babel/core":"^7.24.4","@babel/node":"^7.23.9","@babel/preset-env":"^7.24.4","rollup-plugin-scss":"^3.0.0","@babel/eslint-parser":"^7.24.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.3.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@rollup/plugin-commonjs":"^25.0.7","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.0.0_1713178626331_0.9351297906997007","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"mdimg","version":"1.1.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.1.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"72bddb1b8a8cb50ef88b7dbda6b2b6d1e0ac74de","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.1.0.tgz","fileCount":16,"integrity":"sha512-W0P5zzZQBCJXT1Bi/HTzOQWoGMx+Ta7vQeTPjSpKhlrrxjuvk+0gg/uQBOHdIFHlmBAbZ5WIGf7tuOulr76Wbw==","signatures":[{"sig":"MEYCIQC0sFYGOUNxtRGXyD6OziEa31iX5+jyZG141OdPtaEbVwIhAOG59vq3SBOfoDQWcZJASUQ6DQNLwWdk3uACSQnJR2/p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33672},"main":"./lib/mdimg.js","types":"./types.d.ts","module":"./lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"f77bf2e12e4e4e0eca61a8a37d8201aad73d981d","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:js && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-unknown","rollup:js":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.5.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.13.1","dependencies":{"marked":"^13.0.2","cheerio":"^1.0.0-rc.12","commander":"^12.1.0","puppeteer":"^22.13.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.77.8","tslib":"^2.6.3","eslint":"^9.7.0","rollup":"^4.19.0","globals":"^15.8.0","prettier":"^3.3.3","@eslint/js":"^9.7.0","babel-jest":"^29.7.0","typescript":"^5.5.3","@babel/core":"^7.24.9","@babel/node":"^7.24.8","@babel/preset-env":"^7.24.8","@types/eslint__js":"^8.42.3","typescript-eslint":"^7.16.1","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.24.8","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.1.0_1721636085206_0.03932225329626737","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"mdimg","version":"1.1.1","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.1.1","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"f5c285131f5749393806f53696dc0034ca30d8b2","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.1.1.tgz","fileCount":20,"integrity":"sha512-VoqGep1wxa2WyOUCvwZqfNeA04j1DtcxY0EqXZANItltfhcf0tsZo7A8MTExrQJRGxFugf/1jzIIc7WNAb7CAw==","signatures":[{"sig":"MEQCIE89BcGECbpdwfJQDRhKDNgq1HrPNZvqyRR6VrrvMFkxAiBia9P0eVYEdldoiOwMqhfL9C5k7uhH0Tn9j8cPH9XWfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35366},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"e675146a99fef60e8ae91628a77f2bdc0d789120","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-unknown","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.5.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.13.1","dependencies":{"marked":"^13.0.2","cheerio":"^1.0.0-rc.12","commander":"^12.1.0","puppeteer":"^22.13.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.77.8","tslib":"^2.6.3","eslint":"^9.7.0","rollup":"^4.19.0","globals":"^15.8.0","prettier":"^3.3.3","@eslint/js":"^9.7.0","babel-jest":"^29.7.0","typescript":"^5.5.3","@babel/core":"^7.24.9","@babel/node":"^7.24.8","@babel/preset-env":"^7.24.8","@types/eslint__js":"^8.42.3","typescript-eslint":"^7.16.1","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.24.8","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.1.1_1721640720096_0.10698396157764112","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"mdimg","version":"1.1.2","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.1.2","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"dd5c67315f2f3d830e8b2f3eed74bf116b5c2f12","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.1.2.tgz","fileCount":20,"integrity":"sha512-AYcZui1YB8XDhHMDdLJm9eIBv27ouBp9qPVO9GKo/0HOvOsQTzp0trZxon1sk2Pjc4YF5yao15Ryw+4brLIJsA==","signatures":[{"sig":"MEUCIQCQteVOTQpFP6U0O0YFNKfithv/PbVBtGhGu4MfnsqsnAIgGxp9kDD4TSRZtm3bOtB7DiHYBGXZs4CtDQ52HppnvzM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38714},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"9ed2c7bb89e5b3d077d41b58e6b0e9a169d5079a","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","prettier":"prettier --write **/* --ignore-unknown","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.5.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.13.1","dependencies":{"marked":"^13.0.2","cheerio":"^1.0.0-rc.12","commander":"^12.1.0","puppeteer":"^22.13.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.77.8","tslib":"^2.6.3","eslint":"^9.7.0","rollup":"^4.19.0","globals":"^15.8.0","prettier":"^3.3.3","@eslint/js":"^9.7.0","babel-jest":"^29.7.0","typescript":"^5.5.3","@babel/core":"^7.24.9","@babel/node":"^7.24.8","@babel/preset-env":"^7.24.8","@types/eslint__js":"^8.42.3","typescript-eslint":"^7.16.1","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.24.8","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.1.2_1721706775935_0.21831296713270532","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"mdimg","version":"1.2.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.2.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"805cbd7254f978a6df9a56a87bb9031046b23add","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.2.0.tgz","fileCount":20,"integrity":"sha512-yoQXvZl2UqJfJ3YD2B7kGDOZnd+Kxk/b/YN75tUXE1oyi78txB11UFaoAzSFFu8a7AqhKYcyRAZjatHR7OOtZQ==","signatures":[{"sig":"MEYCIQC4m+ivux80rxYYfQdG2eFVKJim5MmAD/QZYs9wLnzDVAIhAPB6l6MONWJUTEM+kK/LWWpmmW8E49IQarKdwELmt6AT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38765},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"74f642ddcc80465e32187dc6215a467ab8e55477","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.5.0","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"18.20.2","dependencies":{"marked":"^14.0.0","cheerio":"^1.0.0-rc.12","commander":"^12.1.0","puppeteer":"^23.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.77.8","tslib":"^2.6.3","eslint":"^9.8.0","rollup":"^4.20.0","globals":"^15.9.0","prettier":"^3.3.3","@eslint/js":"^9.8.0","babel-jest":"^29.7.0","typescript":"^5.5.4","@babel/core":"^7.25.2","@babel/node":"^7.25.0","@babel/preset-env":"^7.25.3","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.0.1","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.25.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.2.0_1723123321369_0.8012083593043284","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"mdimg","version":"1.3.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.3.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"f8a790cff0c5f2ef2032ac2fd9d652d14a2bf8f2","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.3.0.tgz","fileCount":20,"integrity":"sha512-G3bGZESiZg9eDRxYUwabFwI5H8S7V6j7ezYYoONEjz+LIS0HwaQNtFrHrzj4zDs0yH352TdvCk37qiTfIV7oMg==","signatures":[{"sig":"MEUCIG7Bz45zcLbeDBqP36UuFIHbwmh1H5qeQMSIY/3cbuAeAiEAgW3j2YQeZRXilspz98UJgnZbnvy31Y7crnoKrbw5zn8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39483},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"2f10f796f963a8bb5f111892be12590d28cbde5d","scripts":{"lint":"eslint .","test":"jest --roots test","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.5.0","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"18.20.2","dependencies":{"marked":"^14.0.0","cheerio":"^1.0.0-rc.12","commander":"^12.1.0","puppeteer":"^23.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.77.8","tslib":"^2.6.3","eslint":"^9.8.0","rollup":"^4.20.0","globals":"^15.9.0","prettier":"^3.3.3","@eslint/js":"^9.8.0","babel-jest":"^29.7.0","typescript":"^5.5.4","@babel/core":"^7.25.2","@babel/node":"^7.25.0","@babel/preset-env":"^7.25.3","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.0.1","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.25.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.3.0_1723195593992_0.1668344589252253","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"mdimg","version":"1.4.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.4.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"97e0e30354fd3a1faf25e6169bfa4c9e53ebc6b8","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.4.0.tgz","fileCount":20,"integrity":"sha512-ZkXNrCKnY0A9+GeOB+ecoIxH76wUDnsl3Bamb0sFB739tuUTPOF0ZeAfuo/og8lBTKchWpXi47khXL59hfUNwg==","signatures":[{"sig":"MEUCIQD5FS+p6E7CJTuaBE1Y61SDm1GMSZKUYVTKtU5DzcykqAIgUNfrWxAJg9RyDcRxtEtbBnf8p/CyGoWNhP9GXem3p+Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47622},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"6c56d2ea4a10d2cf8f5b960b3c2c89dd3445821a","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.1","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.16.0","dependencies":{"marked":"^14.1.2","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^23.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.78.0","tslib":"^2.7.0","eslint":"^9.10.0","rollup":"^4.21.3","globals":"^15.9.0","prettier":"^3.3.3","@eslint/js":"^9.10.0","babel-jest":"^29.7.0","typescript":"^5.6.2","@babel/core":"^7.25.2","@babel/node":"^7.25.0","@babel/preset-env":"^7.25.4","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.5.0","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.25.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.4.0_1726406799204_0.01120933456423967","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"mdimg","version":"1.4.1","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.4.1","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"a1f481b9f5ecfdc6cfe17591c1cb4d2278698675","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.4.1.tgz","fileCount":22,"integrity":"sha512-ogy5R+IhdyM8uheRDQWHrKcNvz63mwyC/6b7kBDfzHt8wM6ACWw9cx8QTFtaE6dCzvtQ5IcqaGIeEGRyYKNixg==","signatures":[{"sig":"MEUCIQD2EogflExTqB/rnIMNXvTLPq56QDg2sQgLXeje7tk4fAIgW/vSN4cxguNhtxKPb2l0wRfBir7bGi+QxHWTSfTG4gk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58161},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"f5e660a05f064df6683f6d3673db777a584da773","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.1","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.16.0","dependencies":{"marked":"^14.1.2","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^23.3.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.78.0","tslib":"^2.7.0","eslint":"^9.10.0","rollup":"^4.21.3","globals":"^15.9.0","prettier":"^3.3.3","@eslint/js":"^9.10.0","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.25.2","@babel/node":"^7.25.0","@babel/preset-env":"^7.25.4","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.6.0","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.25.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.4.1_1726593602049_0.9677962262340591","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"mdimg","version":"1.4.2","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.4.2","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"c19026068174e1c575b44d28fd3538a813b9f5e1","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.4.2.tgz","fileCount":22,"integrity":"sha512-TNVD9HYmbWW2i2ZP3omh8ipSl7HarKCi5HZoi/JBuztCteW3/sbSHUWHkdYIT4JLyzdoq4WnjO6ouDclYTVTmg==","signatures":[{"sig":"MEQCIE5C1emQ6kkg3PIw6l5+rD+A+vaSJ4NCHGf0uCOTu/RHAiBD8CqGeVJkLp0vDGzHzxDFsJnJjeZumlDWA0i2CjKYhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58037},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"b733ace81f86c56ca2a00084c66476cc28ac32cd","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.1","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.16.0","dependencies":{"marked":"^14.1.2","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^23.3.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.78.0","tslib":"^2.7.0","eslint":"^9.10.0","rollup":"^4.21.3","globals":"^15.9.0","prettier":"^3.3.3","@eslint/js":"^9.10.0","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.25.2","@babel/node":"^7.25.0","@babel/preset-env":"^7.25.4","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.6.0","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.25.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^26.0.1","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.4.2_1726594526247_0.3631912517684215","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"mdimg","version":"1.4.3","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.4.3","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"cea0d31581c49c6352f9be1be637f0ab146258ff","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.4.3.tgz","fileCount":22,"integrity":"sha512-dF0JDXYlVO0SUOJv+DKP+iJbBDaaqZWYsEFbVolY4uLuBuTSiIxfV61Oo0kVJyueRIfSNyrPmetv7xC2s2Eg2g==","signatures":[{"sig":"MEUCIDXGuv6E0x7kR1jmpuoGwyVtFh67CtyjzIbt6zQGm+oRAiEAnIKrx3z3las+teJrVNO6df6B5gT6vjRZ+OmsoxByoZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59130},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"575a25792db23dff3a2e0fe28dc2ed6709fa50b3","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.1","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.16.0","dependencies":{"marked":"^14.1.2","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^23.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.79.3","tslib":"^2.7.0","eslint":"^9.11.1","rollup":"^4.22.4","globals":"^15.9.0","prettier":"^3.3.3","@eslint/js":"^9.11.1","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.25.2","@babel/node":"^7.25.0","@babel/preset-env":"^7.25.4","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.7.0","rollup-plugin-scss":"^4.0.0","@babel/eslint-parser":"^7.25.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.5.3","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^28.0.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.3.0","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.4.3_1727163863141_0.02984576910038239","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"mdimg","version":"1.5.0","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@1.5.0","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"2bf6f1db9f739d83ef2ca2515cd8782c95101249","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-1.5.0.tgz","fileCount":22,"integrity":"sha512-QP4jSmHZ3pADf+dzbS9UK1cI55gcpT+C/UiQD4fkbZNXaJ7q2sn67ZYyuyun+d9/8CpnxsPEm2MIDnSHZosV7A==","signatures":[{"sig":"MEQCID/G6DeipI8k4+lCNmWbo7ZHd8qcaixqBo3GGSOPtJMNAiAOl09nKbUcL5fe7EKK7Rg3QzYbUaaHYhrgUVU7biIY6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59665},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"fac0f469038a96b3ccd9643ff0e7814707cf4ba5","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"18.20.8","dependencies":{"marked":"^15.0.12","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^24.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.89.0","tslib":"^2.8.1","eslint":"^9.27.0","rollup":"^4.41.1","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.27.0","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.27.3","@babel/node":"^7.27.1","@babel/preset-env":"^7.27.2","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.33.0","rollup-plugin-scss":"^4.0.1","@babel/eslint-parser":"^7.27.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.6.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.4.0","@rollup/plugin-commonjs":"^28.0.3","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_1.5.0_1748581732162_0.9041733623499253","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.1":{"name":"mdimg","version":"2.0.0-beta.1","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@2.0.0-beta.1","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"6b808e45bec6efb5e139f9cc4f9f8b4dcbe3f491","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-2.0.0-beta.1.tgz","fileCount":541,"integrity":"sha512-MfA5zGuX+rLZhypgBRLoKfXmQQX+HptA8sVhifB1As+iYfDfcM7lIWMJyyX3rba457pLWs70y0pI32f42Q+/bg==","signatures":[{"sig":"MEUCIQCmwDFcI7IEcHdzi2Iarw490bV9PodfObSSnkIdo0J2wwIgcIyGsNpE1YhTceYGFSICjkunOBVJaV34I8orpVXNnRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2614130},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"44c1365354cafad542ff7a22450b728bed79a8cb","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"deprecated":"The local CSS is not work. Please upgrade version of mdimg.","repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.19.4","dependencies":{"marked":"^15.0.12","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^24.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.89.0","tslib":"^2.8.1","eslint":"^9.27.0","rollup":"^4.41.1","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.27.0","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.27.3","@babel/node":"^7.27.1","@babel/preset-env":"^7.27.2","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.33.0","rollup-plugin-scss":"^4.0.1","@babel/eslint-parser":"^7.27.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.6.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.4.0","@rollup/plugin-commonjs":"^28.0.3","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_2.0.0-beta.1_1755496757909_0.12342622933576086","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.2":{"name":"mdimg","version":"2.0.0-beta.2","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@2.0.0-beta.2","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"c3893861efb37a1b05e784d6540e7d9abf6e1e02","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-2.0.0-beta.2.tgz","fileCount":541,"integrity":"sha512-1p6x3IAQWx0Q/DclAXZznsRc0TnX1bwwYoQ1FAUj9B89ff3jB7WJ9ImZ53wPQh5rR3FMmBxrXEdmEVQ6ySarig==","signatures":[{"sig":"MEQCIDtzKAtwyMFxfKZhSn5JpGr5GXQOkFdvhIwSL43lZ3tgAiB6fDy9Cr9Z/RinM1XRbanrn/RccGCUfnWSRlZo76uNiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2659627},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"67c84861fd550c1188763f534283ba3350c331fb","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.19.4","dependencies":{"marked":"^15.0.12","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^24.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.89.0","tslib":"^2.8.1","eslint":"^9.27.0","rollup":"^4.41.1","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.27.0","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.27.3","@babel/node":"^7.27.1","@babel/preset-env":"^7.27.2","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.33.0","rollup-plugin-scss":"^4.0.1","@babel/eslint-parser":"^7.27.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.6.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.4.0","@rollup/plugin-commonjs":"^28.0.3","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_2.0.0-beta.2_1755499958300_0.7296311366569668","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.3":{"name":"mdimg","version":"2.0.0-beta.3","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@2.0.0-beta.3","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"4514422af2ebada08640ccd841cfb54904a42556","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-2.0.0-beta.3.tgz","fileCount":541,"integrity":"sha512-7d086+uZpXgdANC0sKVwpjBGEIcMQDKPeydr0rL6WeoGd3/HevIHi8qUiPDZg2kp3llcRbzbGr4Rw14qbzeXsQ==","signatures":[{"sig":"MEQCIAep8Tmz60jQhe9mU5BWJt44zKe1+Gj/t/CH0HQrxk6GAiA1G4xfTNIHvXwncAOmdbb5sYIYjN7iAizox9R6j9i62Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2623204},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 18.0.0"},"gitHead":"3c06f2bfffee515b340a383db248485a0f4344fd","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"10.8.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"20.19.4","dependencies":{"marked":"^15.0.12","cheerio":"^1.0.0","commander":"^12.1.0","puppeteer":"^24.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.89.0","tslib":"^2.8.1","eslint":"^9.27.0","rollup":"^4.41.1","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.27.0","babel-jest":"^29.7.0","typescript":"~5.5.4","@babel/core":"^7.27.3","@babel/node":"^7.27.1","@babel/preset-env":"^7.27.2","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.33.0","rollup-plugin-scss":"^4.0.1","@babel/eslint-parser":"^7.27.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-terser":"^0.4.4","rollup-plugin-license":"^3.6.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.4.0","@rollup/plugin-commonjs":"^28.0.3","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1","eslint-plugin-simple-import-sort":"^12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_2.0.0-beta.3_1755503786353_0.485125073148545","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.4":{"name":"mdimg","version":"2.0.0-beta.4","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@2.0.0-beta.4","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"6d2ade9f03f4165a1d812fc923e85051f13b2afe","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-2.0.0-beta.4.tgz","fileCount":542,"integrity":"sha512-7SLQt5rkvUnq5DDGCOq8AqFFxoD3ZR8JogD+JBcwyTFoKM+3oY4KDKfiFVQS4DN4BpM1Hqz+TgOHyhjz8plvBg==","signatures":[{"sig":"MEUCIEKnU8VrZCWMzmpqEOujxSw2QdKdYncDUr9hezW/tEeJAiEAhg24/t+uHqn2GLQVg1zmPLnkdkP8z6wlB8J5yF7yyI8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5572987},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 20.0.0"},"gitHead":"c2bafb1b3d013e09c78f7b97971ff05dff21bdcc","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"11.6.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"24.11.1","dependencies":{"marked":"^18.0.2","cheerio":"^1.2.0","commander":"^14.0.3","puppeteer":"^24.42.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^30.3.0","sass":"^1.99.0","tslib":"^2.8.1","eslint":"^10.2.1","rollup":"^4.60.2","globals":"^17.5.0","prettier":"^3.8.3","@eslint/js":"^10.0.1","babel-jest":"^30.3.0","typescript":"~6.0.3","@babel/core":"^7.29.0","@babel/node":"^7.29.0","@babel/preset-env":"^7.29.2","typescript-eslint":"^8.59.0","rollup-plugin-scss":"^4.0.1","@babel/eslint-parser":"^7.28.6","@rollup/plugin-babel":"^7.0.0","@rollup/plugin-terser":"^1.0.0","rollup-plugin-license":"^3.7.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@rollup/plugin-commonjs":"^29.0.2","rollup-plugin-typescript2":"^0.37.0","@rollup/plugin-node-resolve":"^16.0.3","eslint-plugin-simple-import-sort":"^13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_2.0.0-beta.4_1776780352089_0.006126161123399587","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.5":{"name":"mdimg","version":"2.0.0-beta.5","keywords":["markdown","html","image","md2img","html2img"],"author":{"name":"LolipopJ"},"license":"MIT","_id":"mdimg@2.0.0-beta.5","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"homepage":"https://github.com/LolipopJ/mdimg#readme","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"bin":{"mdimg":"bin/mdimg.js"},"dist":{"shasum":"ef8f7b9dc39e0821474a3ff8413226edf47a93e8","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-2.0.0-beta.5.tgz","fileCount":300,"integrity":"sha512-jNLrP61MEZB93+ojASyY834ffVox1Ev60O/32uU3K/w+oQBR0qouObMBVwUEFHEiI8AyPzpiOJ8tZRfyfkk12Q==","signatures":[{"sig":"MEUCIFpo1h4YYgTD7xDczbCBzOcJQIZwAEIskqypJdADAWtyAiEAlxrOIZoFWnC/OuGE3+Afq2415jtBeIiJPr/G2/k95WI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4761180},"main":"lib/mdimg.js","types":"./lib/mdimg.d.ts","module":"lib/mdimg.mjs","engines":{"node":">= 20.0.0"},"gitHead":"7c79077e03558b0e71a495bf65b62b7bb625f408","scripts":{"lint":"eslint .","test":"jest --roots test --testTimeout 30000","build":"npm run rollup:ts && npm run rollup:sass","mdimg":"node ./bin/mdimg.js","lint:fix":"eslint . --fix","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs","download:static":"node ./script/download-static-source.js"},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"repository":{"url":"git+https://github.com/LolipopJ/mdimg.git","type":"git"},"_npmVersion":"11.6.2","description":"Covert Markdown or HTML to image","directories":{},"_nodeVersion":"24.11.1","dependencies":{"marked":"^18.0.2","cheerio":"^1.2.0","commander":"^14.0.3","puppeteer":"^24.42.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","sass":"^1.99.0","tslib":"^2.8.1","eslint":"^10.2.1","rollup":"^4.60.2","globals":"^17.5.0","prettier":"^3.8.3","@eslint/js":"^10.0.1","babel-jest":"^30.3.0","typescript":"~6.0.3","@babel/core":"^7.29.0","@babel/node":"^7.29.0","@babel/preset-env":"^7.29.2","typescript-eslint":"^8.59.0","rollup-plugin-scss":"^4.0.1","@babel/eslint-parser":"^7.28.6","@rollup/plugin-babel":"^7.0.0","@rollup/plugin-terser":"^1.0.0","rollup-plugin-license":"^3.7.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@rollup/plugin-commonjs":"^29.0.2","rollup-plugin-typescript2":"^0.37.0","@rollup/plugin-node-resolve":"^16.0.3","eslint-plugin-simple-import-sort":"^13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mdimg_2.0.0-beta.5_1776857429359_0.810868151853374","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.6":{"name":"mdimg","version":"2.0.0-beta.6","description":"Covert Markdown or HTML to image","keywords":["markdown","html","image","md2img","html2img"],"engines":{"node":">= 20.0.0"},"main":"lib/mdimg.js","module":"lib/mdimg.mjs","bin":{"mdimg":"bin/mdimg.js"},"scripts":{"mdimg":"node ./bin/mdimg.js","test":"jest --roots test --testTimeout 60000","preview":"jest --roots test --testTimeout 30000 test/preview.test.js","build":"npm run rollup:ts && npm run rollup:sass","rollup:ts":"rollup -c rollup.config.js --bundleConfigAsCjs","rollup:sass":"rollup -c rollup.sass.config.js --bundleConfigAsCjs","download:static":"node ./script/download-static-source.js","lint":"eslint .","lint:fix":"eslint . --fix"},"repository":{"type":"git","url":"git+https://github.com/LolipopJ/mdimg.git"},"author":{"name":"LolipopJ"},"license":"MIT","bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"homepage":"https://github.com/LolipopJ/mdimg#readme","dependencies":{"cheerio":"^1.2.0","commander":"^14.0.3","marked":"^18.0.2","puppeteer":"^24.42.0"},"devDependencies":{"@babel/core":"^7.29.0","@babel/eslint-parser":"^7.28.6","@babel/node":"^7.29.0","@babel/preset-env":"^7.29.2","@eslint/js":"^10.0.1","@rollup/plugin-babel":"^7.0.0","@rollup/plugin-commonjs":"^29.0.2","@rollup/plugin-node-resolve":"^16.0.3","@rollup/plugin-terser":"^1.0.0","babel-jest":"^30.3.0","eslint":"^10.2.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","eslint-plugin-simple-import-sort":"^13.0.0","globals":"^17.5.0","jest":"^30.3.0","prettier":"^3.8.3","rollup":"^4.60.2","rollup-plugin-license":"^3.7.1","rollup-plugin-scss":"^4.0.1","rollup-plugin-typescript2":"^0.37.0","sass":"^1.99.0","tslib":"^2.8.1","typescript":"~6.0.3","typescript-eslint":"^8.59.0"},"gitHead":"ff19118bcea7741f54c00d3436319decc48b7b01","types":"./lib/mdimg.d.ts","_id":"mdimg@2.0.0-beta.6","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-ZiOjXBxIyrWT9KJccjOvMV4xmPhxAYQ5KoUc+4DFxYiCbRlm5ynEjka6fce1+Fljb7hZDSTBQVBFMVMzxhuCHQ==","shasum":"6d22b9495409e740c2ca42c43e64b0430091939f","tarball":"https://registry.npmjs.org/mdimg/-/mdimg-2.0.0-beta.6.tgz","fileCount":308,"unpackedSize":4804891,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCa/GD/vnekPI+Un6mme5QgFyYgekl0iF7/4qze5kRR5wIhAIJuMhs+A9Cvn9ZxV4FWH2Izv+cUCAaMidF5CPq9fgCE"}]},"_npmUser":{"name":"lolipopj","email":"lolipop0703@qq.com"},"directories":{},"maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mdimg_2.0.0-beta.6_1776926289953_0.95299652301875"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-19T11:38:05.122Z","modified":"2026-04-23T06:38:10.348Z","0.0.1":"2022-02-17T18:25:02.965Z","0.0.2":"2022-02-18T03:34:39.420Z","0.1.0":"2022-02-19T11:38:05.302Z","0.1.1":"2022-02-20T05:54:37.277Z","0.1.2":"2022-02-20T08:00:10.619Z","0.1.3":"2022-02-21T13:59:21.308Z","0.2.0":"2022-02-23T08:21:22.094Z","0.2.1":"2023-04-03T08:33:03.016Z","0.2.2":"2023-04-18T16:32:11.717Z","0.2.3":"2023-04-18T16:55:01.932Z","1.0.0":"2024-04-15T10:57:06.535Z","1.1.0":"2024-07-22T08:14:45.365Z","1.1.1":"2024-07-22T09:32:00.241Z","1.1.2":"2024-07-23T03:52:56.091Z","1.2.0":"2024-08-08T13:22:01.536Z","1.3.0":"2024-08-09T09:26:34.189Z","1.4.0":"2024-09-15T13:26:39.439Z","1.4.1":"2024-09-17T17:20:02.244Z","1.4.2":"2024-09-17T17:35:26.454Z","1.4.3":"2024-09-24T07:44:23.365Z","1.5.0":"2025-05-30T05:08:52.401Z","2.0.0-beta.1":"2025-08-18T05:59:18.162Z","2.0.0-beta.2":"2025-08-18T06:52:38.562Z","2.0.0-beta.3":"2025-08-18T07:56:26.590Z","2.0.0-beta.4":"2026-04-21T14:05:52.322Z","2.0.0-beta.5":"2026-04-22T11:30:29.606Z","2.0.0-beta.6":"2026-04-23T06:38:10.235Z"},"bugs":{"url":"https://github.com/LolipopJ/mdimg/issues"},"author":{"name":"LolipopJ"},"license":"MIT","homepage":"https://github.com/LolipopJ/mdimg#readme","keywords":["markdown","html","image","md2img","html2img"],"repository":{"type":"git","url":"git+https://github.com/LolipopJ/mdimg.git"},"description":"Covert Markdown or HTML to image","maintainers":[{"name":"lolipopj","email":"lolipop0703@qq.com"}],"readme":"<a href=\"https://www.npmjs.com/package/mdimg\" target=\"_blank\"><img alt=\"lts-version\" src=\"https://img.shields.io/npm/v/mdimg.svg\"></a> <a href=\"https://www.npmjs.com/package/mdimg?activeTab=versions\" target=\"_blank\"><img alt=\"download-counts\" src=\"https://img.shields.io/npm/d18m/mdimg.svg\"></a> <a href=\"https://www.typescriptlang.org/\" target=\"_blank\"><img alt=\"language\" src=\"https://img.shields.io/badge/language-TypeScript-3178c6.svg\"></a>\n\n# mdimg\n\nA tool that can be used to convert **Markdown** or **HTML** format text to an image.\n\n## How does it work?\n\nFirst, the script calls [marked](https://github.com/markedjs/marked) to parse Markdown into a HTML document. Next, use [Puppeteer](https://github.com/puppeteer/puppeteer) to start a headless browser and render the document with HTML and CSS templates. Finally, export our image through Puppeteer's [screenshot](https://pptr.dev/guides/screenshots/) API.\n\n## Preview\n\nRendering results:\n\n| Linux                                                                          | MacOS                                                                           | Windows                                                                        | HTML Template | CSS Template | Notes                                             |\n| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | ------------- | ------------ | ------------------------------------------------- |\n| <img alt=\"default preview\" src=\"./docs/linux/default.png\" height=\"150\">        | <img alt=\"default preview\" src=\"./docs/darwin/default.png\" height=\"150\">        | <img alt=\"default preview\" src=\"./docs/win32/default.png\" height=\"150\">        | `default`     | `default`    |\n| <img alt=\"empty preview\" src=\"./docs/linux/empty.png\" height=\"150\">            | <img alt=\"empty preview\" src=\"./docs/darwin/empty.png\" height=\"150\">            | <img alt=\"empty preview\" src=\"./docs/win32/empty.png\" height=\"150\">            | `default`     | `empty`      | Only use base stylesheets                         |\n| <img alt=\"github preview\" src=\"./docs/linux/github.png\" height=\"150\">          | <img alt=\"github preview\" src=\"./docs/darwin/github.png\" height=\"150\">          | <img alt=\"github preview\" src=\"./docs/win32/github.png\" height=\"150\">          | `default`     | `github`     |\n| <img alt=\"github dark preview\" src=\"./docs/linux/githubDark.png\" height=\"150\"> | <img alt=\"github dark preview\" src=\"./docs/darwin/githubDark.png\" height=\"150\"> | <img alt=\"github dark preview\" src=\"./docs/win32/githubDark.png\" height=\"150\"> | `default`     | `githubDark` | Should be used with `theme: \"dark\"`               |\n| <img alt=\"words preview\" src=\"./docs/linux/words.png\" height=\"150\">            | <img alt=\"words preview\" src=\"./docs/darwin/words.png\" height=\"150\">            | <img alt=\"words preview\" src=\"./docs/win32/words.png\" height=\"150\">            | `words`       | `words`      | It is recommended to use with **plain text only** |\n\n## Requirements\n\nThis tool requires a **LTS Node version (v20.0.0+)**.\n\n## Installation\n\nCLI:\n\n```bash\nnpm install -g mdimg\n```\n\nIn Node.js project:\n\n```bash\nnpm install mdimg\n```\n\n## Usage\n\n### CLI\n\nExample:\n\n```bash\nmdimg -i path/to/input.md -o path/to/output.png -w 600 --css github\n```\n\nmdimg will read text from `path/to/input.md` and convert it to an image file `path/to/output.png`.\n\nWhen using the command, you must specify either `-i` (input file, recommended) or `-t` (directly input text).\n\nWhen using `-t` to input Markdown text directly, escape characters will **not be available**. To fix this, for example, you should replace `\\n` with `<br>`.\n\nYou can always call `mdimg -h` to get complete help.\n\n### In Node.js project\n\nImport mdimg to your project:\n\n```js\nimport { mdimg } from \"mdimg\";\n```\n\nConvert markdown file to an image:\n\n```js\nconst convertRes = await mdimg({\n  inputFilename: \"path/to/input.md\",\n  outputFilename: \"path/to/output.png\",\n  width: 600,\n  cssTemplate: \"github\",\n  theme: \"light\",\n  // or with dark theme\n  // cssTemplate: \"githubDark\",\n  // theme: \"dark\",\n});\n\nconsole.log(\n  `Convert to image successfully!\\nImage has been saved as \\`${convertRes.path}\\``,\n);\n```\n\nGet image data in-memory without saving to disk:\n\n```js\n// encoding: \"blob\" returns a Uint8Array in memory and does NOT auto-save to disk.\n// Use this when you want to handle the image bytes yourself.\nconst convertRes = await mdimg({\n  inputText: \"# Hello world\",\n  encoding: \"blob\",\n});\n\n// import { writeFileSync } from \"fs\";\n// writeFileSync(\"path/to/output.png\", convertRes.data);\n```\n\nWhen using `mdimg()` method, you must specify either `inputFilename` (input file) or `inputText` (directly input text).\n\nHere are all available options:\n\n| Argument        | Type                             | Default         | Notes                                                                                                                                                                                                                                    |\n| --------------- | -------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| inputText       | `String`                         | `undefined`     | Input Markdown or HTML text directly. This option **has no effect** if `inputFilename` is specified                                                                                                                                      |\n| inputFilename   | `String`                         | `undefined`     | Read Markdown or HTML text from a file                                                                                                                                                                                                   |\n| outputFilename  | `String`                         | See notes       | Output file path. For the default image processor: auto-generates `./mdimg_output/mdimg_${new Date()}.${type}` when omitted. For a custom `outputProcessor`: written to disk **only** when explicitly provided (no default is generated) |\n| type            | `\"jpeg\" \\| \"png\" \\| \"webp\"`      | `png`           | File type of the image. Type will be inferred from `outputFilename` if specified. Ignored when `outputProcessor` is set                                                                                                                  |\n| width           | `Number`                         | `800`           | Width in pixel of output image                                                                                                                                                                                                           |\n| height          | `Number`                         | `100`           | Min-height in pixel of output image. No less than `100`                                                                                                                                                                                  |\n| encoding        | `\"base64\" \\| \"binary\" \\| \"blob\"` | `binary`        | Encode type of output image. Ignored when `outputProcessor` is set                                                                                                                                                                       |\n| quality         | `Number`                         | `100`           | Quality of the image, between 0-100. **Not applicable** to `png` image. Ignored when `outputProcessor` is set                                                                                                                            |\n| htmlText        | `String`                         | `undefined`     | HTML rendering text                                                                                                                                                                                                                      |\n| cssText         | `String`                         | `undefined`     | CSS rendering text                                                                                                                                                                                                                       |\n| htmlTemplate    | `String`                         | `default`       | HTML rendering template. Available presets can be found in [`template/html`](./template/html/). If ends with `.html`, the mdimg will try to read local file. This option **has no effect** if `htmlText` is specified                    |\n| cssTemplate     | `String`                         | `default`       | CSS rendering template. Available presets can be found in [`template/css`](./template/css/). If ends with `.css`, the mdimg will try to read local file. This option **has no effect** if `cssText` is specified                         |\n| theme           | `light` \\| `dark`                | `light`         | Rendering color theme, affects the default highlight.js theme and other dark/light-aware styles                                                                                                                                          |\n| extensions      | `boolean \\| IExtensionOptions`   | `true`          | Configurations for [extensions](#extensions)                                                                                                                                                                                             |\n| plugins         | `IPlugin[]`                      | `[]`            | List of [plugins](#plugins) to apply during the conversion pipeline                                                                                                                                                                      |\n| outputProcessor | `IOutputProcessor`               | image processor | Custom output processor. Overrides the built-in screenshot logic. See [Output Processors](#output-processors)                                                                                                                            |\n| log             | `Boolean`                        | `false`         | Print execution logs via stderr                                                                                                                                                                                                          |\n| debug           | `Boolean`                        | `false`         | Whether to keep temporary HTML file after rendering                                                                                                                                                                                      |\n| puppeteerProps  | `LaunchOptions`                  | `undefined`     | [Launch options](https://pptr.dev/api/puppeteer.puppeteerlaunchoptions) of Puppeteer. Ignored when `outputProcessor` sets `requiresPage: false`                                                                                          |\n\nReturns: `Promise<object>`\n\n| Key  | Value Type               | Notes                                                                                                                                                                                                                        |\n| ---- | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| data | `string` \\| `Uint8Array` | Image bytes as `Uint8Array` (`encoding: \"binary\"` or `\"blob\"`) or BASE64 string (`encoding: \"base64\"`). When `outputProcessor` is set: `Uint8Array` for binary formats (image, PDF) or `string` for text formats (HTML, SVG) |\n| path | `string` \\| `undefined`  | Path of output file. For image output: set when `encoding` is `\"binary\"`. For custom `outputProcessor`: set when `outputFilename` is explicitly provided; `undefined` otherwise                                              |\n| html | `string`                 | Rendered HTML document                                                                                                                                                                                                       |\n\n## Custom template\n\n> **😍 Contribute to template presets via [pull requests](https://github.com/LolipopJ/mdimg/pulls) is welcomed!**\n\nTemplate presets are stored in the `template` directory.\n\nIf you execute the following command:\n\n```bash\nmdimg --html custom --css custom\n```\n\nOr in Node.js project:\n\n```js\nawait mdimg({\n  htmlTemplate: \"custom\",\n  cssTemplate: \"custom\",\n});\n```\n\nThe mdimg will read `template/html/custom.html` as HTML template and `template/css/custom.css` as CSS template in the mdimg directory to render the image.\n\n### HTML Template\n\nCreate a new `.html` file in `template/html` directory.\n\nThere is only one rule you need to follow: an element with id `mdimg-body` wrapping an element with class `markdown-body`.\n\nThe simplest example:\n\n```html\n<div id=\"mdimg-body\">\n  <div class=\"markdown-body\"></div>\n</div>\n```\n\nThe mdimg will put the parsed HTML content in the element which `class=\"markdown-body\"` (elements inside will be **replaced**), and finally generate the image for the whole element which `id=\"mdimg-body\"`.\n\n### CSS Template\n\nNothing to note, create a new `.css` file in `template/css` directory and then make your style!\n\nFor further development, it is recommended that write `.scss` or `.sass` files in the `template/scss` directory, and use the following command to generate CSS templates:\n\n```bash\n# Build .scss and .sass files\npnpm run rollup:sass\n```\n\nCSS templates with the corresponding name will be generated in `template/css` directory.\n\n## Local Template\n\nTemplate presets may not often meet your needs. If you already know the specifications of [HTML template](#html-template) and [CSS template](#css-template), you can pass the template directly. There are two methods:\n\n1. Using local template file. Pass a local filepath with the **file extension `.html` and `.css`** through options `--html` and `--css` with CLI (`htmlTemplate` and `cssTemplate` with Node.js).\n2. Using template text. Pass template text through `--htmlText` and `--cssText` with CLI (`htmlText` and `cssText` with Node.js).\n\nCLI:\n\n```bash\n# use local file\nmdimg --html path/to/custom.html --css path/to/custom.css\n\n# use text directly\nmdimg --htmlText '<div id=\"mdimg-body\"><div class=\"markdown-body\"></div></div>' --cssText '@import \"https://unpkg.com/normalize.css/normalize.css\"; .markdown-body { padding: 6rem 4rem; }'\n```\n\nOr in Node.js project:\n\n```js\n// use local file\nawait mdimg({\n  htmlTemplate: \"path/to/custom.html\",\n  cssTemplate: \"path/to/custom.css\",\n});\n\n// use text directly\nawait mdimg({\n  htmlText: `<div id=\"mdimg-body\">\n  <div class=\"markdown-body\"></div>\n</div>`,\n  cssText: `@import \"https://unpkg.com/normalize.css/normalize.css\";\n.markdown-body {\n  padding: 6rem 4rem;\n}`,\n});\n```\n\n## Extensions\n\nExtensions are default enabled. You can easily configuration them in Node.js:\n\n```ts\nawait mdimg({\n  extensions: false, // disable all extensions\n});\n\nawait mdimg({\n  extensions: {\n    highlightJs: false, // disable highlight.js\n    mathJax: {\n      // further configuration for MathJax\n      // ...\n    },\n    mermaid: true, // enable mermaid (by default)\n  },\n});\n```\n\nIn CLI, you can only enable or disable extensions globally:\n\n```bash\nmdimg --extensions false # disable all extensions\n```\n\n### Extended Syntaxes\n\nSome extended syntaxes, such as LaTeX, can't be parsed by pure marked correctly. To solve this problem, the mdimg introduces some third-party libraries to enhance rendering capabilities. Below are introduced libraries:\n\n#### [MathJax](https://github.com/mathjax/MathJax)\n\n> MathJax is an open-source JavaScript display engine for **LaTeX**, **MathML**, and **AsciiMath** notation.\n\n⚠️ The single dollar sign `$` is **not enabled by default** to render inline LaTeX. Because It is used too frequently in normal text, so if you want to use it for math delimiters, you must specify it explicitly. In Node.js project:\n\n```ts\nawait mdimg({\n  extensions: {\n    mathJax: {\n      tex: {\n        inlineMath: [\n          [\"$\", \"$\"],\n          [\"\\\\(\", \"\\\\)\"],\n        ],\n      },\n    },\n  },\n});\n```\n\nCLI doesn't support to configuration extensions, so you need to override MathJax options in HTML template directly:\n\n```html\n<!-- path/to/template.html -->\n<div id=\"mdimg-body\">\n  <div class=\"markdown-body\"></div>\n</div>\n\n<script>\n  MathJax = {\n    tex: {\n      inlineMath: [\n        [\"$\", \"$\"],\n        [\"\\\\(\", \"\\\\)\"],\n      ],\n    },\n  };\n</script>\n```\n\n```bash\nmdimg --html path/to/template.html\n```\n\n⚠️ Due to the [parse behaviors](https://andrzejq.github.io/markdown-mathjax/editor/md-mhj.html) between marked and MathJax: \"\\\\\" before any ASCII punctuation character is backslash escape, so \"\\\\\\\\\" (or \"\\\\,\") should be written as \"\\\\\\\\\\\\\\\\\" (or \"\\\\\\\\,\"). You need to manually replace characters or **wrap the LaTeX code in a `<div>` block**. Example:\n\n```md\n<div>$$\nA_{m,n} =\n\\begin{pmatrix}\na_{1,1} & a_{1,2} & \\cdots & a_{1,n} \\\\\na_{2,1} & a_{2,2} & \\cdots & a_{2,n} \\\\\n\\vdots & \\vdots & \\ddots & \\vdots \\\\\na_{m,1} & a_{m,2} & \\cdots & a_{m,n}\n\\end{pmatrix}\n$$</div>\n```\n\n#### [Mermaid](https://github.com/mermaid-js/mermaid)\n\n> Mermaid is a JavaScript-based **diagramming** and **charting** tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams.\n\nSequence diagram example:\n\n````md\n```mermaid\nsequenceDiagram\n  Alice->>Bob: Hello Bob, how are you ?\n  Bob->>Alice: Fine, thank you. And you?\n  create participant Carl\n  Alice->>Carl: Hi Carl!\n  create actor D as Donald\n  Carl->>D: Hi!\n  destroy Carl\n  Alice-xCarl: We are too many\n  destroy Bob\n  Bob->>Alice: I agree\n```\n````\n\n### Other Extensions\n\n#### [Highlight.js](https://github.com/highlightjs/highlight.js)\n\n> Highlight.js is a syntax highlighter.\n\nBy default the theme is chosen automatically based on the global `theme` option (`atom-one-light` for `light`, `atom-one-dark` for `dark`). You can override it independently by setting `extensions.highlightJs.theme` to any of the [bundled theme names](https://highlightjs.org/demo):\n\n```ts\nawait mdimg({\n  theme: \"light\",           // global page theme\n  extensions: {\n    highlightJs: {\n      theme: \"github-dark\", // highlight.js theme, independent of global theme\n    },\n  },\n});\n```\n\n> **Tip:** All bundled theme names are exported as the `IHighlightJsTheme` union type — your IDE will autocomplete the full list, including `base16/` variants.\n\n## Plugins\n\nThe plugin system lets you hook into every stage of the conversion pipeline and register custom extensions — all without modifying mdimg's source code.\n\n### Lifecycle Hooks\n\nA plugin can define any combination of the four lifecycle hooks:\n\n| Hook          | When it runs                                                     | Signature                                                                     |\n| ------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| `beforeParse` | Before Markdown is parsed                                        | `(text: string) => string \\| Promise<string>`                                 |\n| `afterParse`  | After Markdown → HTML fragment, before template splicing         | `(html: string) => string \\| Promise<string>`                                 |\n| `afterSplice` | After the full HTML document is assembled                        | `(html: string) => string \\| Promise<string>`                                 |\n| `afterRender` | After Puppeteer renders, **before** the image is written to disk | `(result: IConvertResponse) => IConvertResponse \\| Promise<IConvertResponse>` |\n\nMultiple plugins run in registration order.\n\n```ts\nimport { mdimg } from \"mdimg\";\nimport type { IPlugin } from \"mdimg\";\n\nconst myPlugin: IPlugin = {\n  name: \"myPlugin\",\n  hooks: {\n    // Transform raw Markdown before parsing\n    beforeParse: (text) => text.replace(/\\[\\[(\\w+)\\]\\]/g, \"**$1**\"),\n\n    // Modify the rendered HTML fragment\n    afterParse: (html) => `<div class=\"wrapper\">${html}</div>`,\n\n    // Post-process the final HTML document\n    afterSplice: (html) => html.replace(\"</title>\", \" — my brand</title>\"),\n\n    // Transform or inspect the output image bytes before they are saved\n    afterRender: async (result) => {\n      console.log(`Image size: ${result.data.length} bytes`);\n      return result;\n    },\n  },\n};\n\nawait mdimg({\n  inputText: \"# Hello [[World]]\",\n  outputFilename: \"output.png\",\n  plugins: [myPlugin],\n});\n```\n\n### Custom Extensions\n\nA plugin can also contribute one or more **extensions** — each extension injects HTML fragments into the `<head>` or `<body>` of the rendered page.\n\n```ts\nimport type { IPlugin, IExtension } from \"mdimg\";\n\nconst fontExtension: IExtension = {\n  name: \"googleFont\",\n  inject({ theme }) {\n    const family = theme === \"dark\" ? \"JetBrains+Mono\" : \"Inter\";\n    return {\n      head: `<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=${family}&display=swap\">`,\n    };\n  },\n};\n\nconst fontPlugin: IPlugin = {\n  name: \"fontPlugin\",\n  extensions: [fontExtension],\n};\n\nawait mdimg({\n  inputText: \"# Hello\",\n  encoding: \"base64\",\n  plugins: [fontPlugin],\n});\n```\n\n### Custom Markdown Syntax\n\nA plugin can expose the full [marked extensions API](https://marked.js.org/using_pro#extensions) through the `markedExtensions` field. This lets you add **custom block/inline syntax**, **override renderers**, or **attach `walkTokens` logic** — all scoped to a single `mdimg` call with no global side-effects.\n\nEach item in `markedExtensions` is passed to `marked.use()` in registration order on a fresh `Marked` instance. Plugin-provided extensions are applied **after** mdimg's built-in code renderer, so they take precedence (custom `code` renderers will override the default mermaid handling).\n\n#### Example: custom inline syntax\n\nThe following plugin renders `:wave:` as an emoji span:\n\n```ts\nimport type { IPlugin } from \"mdimg\";\nimport type { MarkedExtension } from \"marked\";\n\nconst emojiExtension: MarkedExtension = {\n  extensions: [\n    {\n      name: \"emoji\",\n      level: \"inline\",\n      start(src) {\n        return src.indexOf(\":\");\n      },\n      tokenizer(src) {\n        const match = src.match(/^:([a-z_]+):/);\n        if (match) {\n          return { type: \"emoji\", raw: match[0], name: match[1] };\n        }\n      },\n      renderer(token) {\n        const map: Record<string, string> = { wave: \"👋\", fire: \"🔥\", star: \"⭐\" };\n        return `<span class=\"emoji\">${map[token.name] ?? token.raw}</span>`;\n      },\n    },\n  ],\n};\n\nconst emojiPlugin: IPlugin = {\n  name: \"emojiPlugin\",\n  markedExtensions: [emojiExtension],\n};\n\nawait mdimg({\n  inputText: \"# Hello :wave:\",\n  encoding: \"base64\",\n  plugins: [emojiPlugin],\n});\n```\n\n#### Example: custom renderer override\n\nOverride the default link renderer to open all links in a new tab:\n\n```ts\nimport type { IPlugin } from \"mdimg\";\nimport type { MarkedExtension } from \"marked\";\n\nconst externalLinksExtension: MarkedExtension = {\n  renderer: {\n    link({ href, title, text }) {\n      const titleAttr = title ? ` title=\"${title}\"` : \"\";\n      return `<a href=\"${href}\"${titleAttr} target=\"_blank\" rel=\"noopener noreferrer\">${text}</a>`;\n    },\n  },\n};\n\nconst externalLinksPlugin: IPlugin = {\n  name: \"externalLinksPlugin\",\n  markedExtensions: [externalLinksExtension],\n};\n\nawait mdimg({\n  inputText: \"[GitHub](https://github.com)\",\n  encoding: \"base64\",\n  plugins: [externalLinksPlugin],\n});\n```\n\n### Overriding Built-in Extensions\n\nIf a plugin extension has the **same `name`** as a built-in extension (`highlightJs`, `mathJax`, or `mermaid`), it **replaces** the built-in. This lets you fully control how a dependency is configured or injected.\n\n```ts\nimport type { IPlugin } from \"mdimg\";\n\n// Replace built-in highlight.js with a custom CDN version\nconst customHljsPlugin: IPlugin = {\n  name: \"customHighlightJs\",\n  extensions: [\n    {\n      name: \"highlightJs\", // same name → replaces the built-in\n      inject({ theme }) {\n        const cssHref =\n          theme === \"dark\"\n            ? \"https://cdn.example.com/hljs/atom-one-dark.min.css\"\n            : \"https://cdn.example.com/hljs/atom-one-light.min.css\";\n        return {\n          head: `<link rel=\"stylesheet\" href=\"${cssHref}\">`,\n          body: `<script src=\"https://cdn.example.com/hljs/highlight.min.js\"></script>\n<script>hljs.highlightAll();</script>`,\n        };\n      },\n    },\n  ],\n};\n\nawait mdimg({\n  inputText: \"# Hello\",\n  encoding: \"base64\",\n  plugins: [customHljsPlugin],\n});\n```\n\n### Suppressing Extensions by Name\n\nAny extension — built-in or plugin-contributed — can be suppressed via the `extensions` option using its name as the key. Suppression is **complete**: it disables both HTML injection **and** the `markedExtensions` of the plugin that owns the extension, so no half-enabled state (parsing active, resources absent) is possible.\n\n```ts\nawait mdimg({\n  inputText: \"# Hello\",\n  encoding: \"base64\",\n  // Disable mermaid and a plugin-contributed extension named \"googleFont\"\n  extensions: { mermaid: false, googleFont: false },\n  plugins: [fontPlugin],\n});\n```\n\nYou can also suppress by **plugin name** to disable every `IExtension` the plugin registered together with its `markedExtensions` in one key — useful when the plugin name differs from the individual extension names:\n\n```ts\nawait mdimg({\n  inputText: \"# Hello\",\n  encoding: \"base64\",\n  extensions: { myPlugin: false }, // disables all of myPlugin's IExtensions + markedExtensions\n  plugins: [myPlugin],\n});\n```\n\n`extensions: false` still disables every extension globally.\n\n## Output Processors\n\nBy default mdimg captures the rendered `#mdimg-body` element as a PNG / JPEG / WebP screenshot via Puppeteer. You can replace this with any **output processor** by passing `outputProcessor` — a custom object that transforms the rendered HTML (and optionally a live Puppeteer page) into whatever format you need.\n\nThree built-in processors are exported directly from `mdimg`:\n\n| Factory                                               | Format            | Requires browser | Description                                                                                                          |\n| ----------------------------------------------------- | ----------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `createImageOutputProcessor(type, quality, encoding)` | PNG / JPEG / WebP | Yes              | Default when `outputProcessor` is not set. Typically not called directly — use `type`, `quality`, `encoding` options |\n| `createPdfOutputProcessor(pdfOptions?)`               | PDF               | Yes              | Uses Puppeteer's `page.pdf()`                                                                                        |\n| `createHtmlOutputProcessor()`                         | HTML              | **No**           | Returns the rendered HTML string; Puppeteer is never launched                                                        |\n\n### Export to HTML\n\n`createHtmlOutputProcessor` sets `requiresPage: false`, so Puppeteer is never launched — making it the fastest option when you only need the rendered HTML document.\n\n```ts\nimport { mdimg, createHtmlOutputProcessor } from \"mdimg\";\n\n// In-memory only (no outputFilename)\nconst { data } = await mdimg({\n  inputText: \"# Hello\",\n  outputProcessor: createHtmlOutputProcessor(),\n});\n// data is the full HTML string\n\n// Write to disk\nawait mdimg({\n  inputText: \"# Hello\",\n  outputFilename: \"output.html\",\n  outputProcessor: createHtmlOutputProcessor(),\n});\n```\n\n### Export to PDF\n\n```ts\nimport { mdimg, createPdfOutputProcessor } from \"mdimg\";\n\nawait mdimg({\n  inputFilename: \"path/to/input.md\",\n  outputFilename: \"output.pdf\",\n  outputProcessor: createPdfOutputProcessor({\n    printBackground: true,\n    format: \"A4\",\n  }),\n});\n```\n\n`pdfOptions` accepts any [Puppeteer `PDFOptions`](https://pptr.dev/api/puppeteer.pdfoptions) except `path` (managed by mdimg).\n\n### Disk-write semantics\n\nUnlike the default image processor (which auto-generates a path when `outputFilename` is omitted), **custom processors write to disk only when `outputFilename` is explicitly provided**. When omitted, the result is returned in `result.data` in-memory only.\n\n### Custom processor\n\nImplement the `IOutputProcessor` interface to support any format:\n\n```ts\nimport { mdimg } from \"mdimg\";\nimport type { IOutputProcessor } from \"mdimg\";\n\nconst svgProcessor: IOutputProcessor = {\n  format: \"svg\",\n  requiresPage: true,\n  async process({ page }) {\n    const svg = await page!.evaluate(\n      () => document.querySelector(\"svg\")?.outerHTML ?? \"\",\n    );\n    return { data: svg };\n  },\n};\n\nawait mdimg({\n  inputText: \"# Hello\",\n  outputFilename: \"chart.svg\",\n  outputProcessor: svgProcessor,\n});\n```\n\nSetting `requiresPage: false` skips browser launch entirely; the `process` context then receives only `{ html, outputPath }`.\n\n## Development\n\n```bash\ngit clone https://github.com/LolipopJ/mdimg.git\ncd mdimg\npnpm install\nnpx puppeteer browsers install chrome\n```\n\n### Lint\n\n```bash\n# Check lint rules\npnpm run lint\n# Check lint rules and fix resolvable errors\npnpm run lint:fix\n```\n\n### Build\n\n```bash\n# Build .js, .scss and .sass files\npnpm run build\n# Generate preview images in `docs` directory\npnpm run preview\n```\n\n### Test\n\n```bash\n# Build productions before testing\npnpm run build\n# Run test cases\npnpm run test\n```\n\n## Inspired by\n\n- [md2img](https://github.com/363797271/md2img). Provided me the idea and a complete feasible solution.\n","readmeFilename":"README.md"}