{"_id":"rehype-color-chips","_rev":"8-593eca29b26c5cdee4239015555e9376","name":"rehype-color-chips","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"rehype-color-chips","version":"0.0.1","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.0.1","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"018fdde7153b770671955b941847f44f4f151e9d","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.0.1.tgz","fileCount":12,"integrity":"sha512-XhEsmP3vRNBk61IFTOs7HevOhfjGg4bvaiufT4rxtQMJZB+EeJQ+kzuO/h7yh8K7bFRxvxdRTTRxsbHUOj5MVg==","signatures":[{"sig":"MEYCIQDZ/xQWTKz4Y/55q+rG1G//E6TEkZ+Ig/JoE2DyKmbHhwIhAL9To/lidhoflzPsMDXRM1furMpFtFOxuLArbRJQStXg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNY3IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUKg/7BXHK3qgfz7qD5ueJTYaZoE8+lAzFk2FpODFuSF08yKULK9rI\r\npPjzlde0Yqj13xbTAiF27m16wYohyTA0WdZgsWFlbAPn/50AjbYJBgSfgFHW\r\n1j1d1qnNqmWwtzNAc4OopaeYVH5NcLpperm6XVYrhZXUgmjWzgHbaaSfr7Wr\r\n4J+L6+aVFdO9c2Y3NOYm6bB/fUZ8NoE01J7KW2eyi6kxeJyRMR+oGiIWe7t/\r\nT4DHK1g/vnl6PDl9qlAdf3NlvfQUYVx3u9dXtFpchqimvYxUzmFgGEmXkswm\r\nVVMQOduN9sHfEmo4pH8q3VJ/SOBJz190l/OWyLwwNsU2/U4oypygcRW0Re71\r\nAZdapmcKZ8smQPTsEX12VOLdRdmO/ZHfyn3di+CjJJjIv1mBPyUwZlDDJQGJ\r\nDJkA/g9LNljqEE6P11Tff6TL6We0vsDf8te4/nWNhIuitYrqz8U2EkcenqsV\r\nmYhklzaqkPgpmqZye3GIPY0wxUBEWiNR8+p9/p5ld0llsMBCrXBFmlH59Jth\r\nPIwWZGZHn4+Dpq/LCEUtfU8EvunPyFgEKWdZYsmwgZcVwc/cbODMV6Ic4yWG\r\nbz1sJ+hjFnPpPISFdV0TYqwZupSr453iFQaFeldkWsmJEjt60LFxZ4az6m0M\r\n5BI+QCVNt8521t1rrwZhGeoz5RDinWGsZZE=\r\n=w/8h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"8bc879a53b46f9a0f2d1e5cc1b4843ea8789fd3c","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"_npmVersion":"8.1.2","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"16.13.2","dependencies":{"d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"hast":"^1.0.0","ascjs":"^5.0.1","eslint":"^8.24.0","rollup":"^2.79.1","typescript":"^4.8.4","@types/d3-color":"^3.1.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.0.1_1664454088095_0.5782246035091831","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"rehype-color-chips","version":"0.0.2","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.0.2","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"6c49bafa1031b8194e6a847f83a4c7ba822ffe01","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.0.2.tgz","fileCount":12,"integrity":"sha512-2IaHGNu3bV7NI9Qi7ml+TDMwKyHYLB4J8vg9PVBmHIfHi4OGmChXg8TPcLLqDMYIFUUchJauJdmJles8lmrSvw==","signatures":[{"sig":"MEUCIA14N5vp7QKN6FsnJTGBHOO4GhXW6GT794775VupKQUDAiEAl+rvuvgJxHsFVW5qySkNgh0r9gBjXvIakr9NP2Y90G8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNakMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmPg/7BMY4uJq/kuzagrYSrq9QjsQT6Xwk/470HK89w6/pVxITLv0N\r\nroxSiBNmtgEk/DX596/SY4DuGU81+Lx6UfesZBRmVzrqR6vM5L8Pr2rUCz++\r\nqV7jhOw6ILUyV+Ezq4wsuljdQqs2KMPOEBHzpqql59f4PiDpKg75GsHGhTIG\r\n5XxoXgEN5Es6ZTFs0s96sWrzlY+qdBr3V7676GPnvcfmFvCOt4t1TXerlyBs\r\nswzhW0Q8/c9tp6YESl1su/IlDqncaT+z/znGsl45OhzYyrB5Uq5jhzhTPs/x\r\nfVbaFgcsGaF8VBewSb7AhZZrp2v2I9jD1W8XfIo6Y6ecdzYY9EHhzjLQ/Eze\r\njXa4lDSArnOx3Nb3ON0X+nmnTBKHa4qcNvLzWdXAXPQTZmhtsIGuY3nrnpCy\r\nixdZ3klMIbzDUU3pErr14hBFnLSCGH4kJtHN4Wt4VLREzZxwSQpuo94hTpL4\r\nPOr0kwqf96BVWNTmpnDXTNevJAbfKs3y2WiY9845M40d3dGphGY9/g8Tm9uN\r\nnFvcrAqbTFbxHrc4HOIgAauwo7ASa6TS1FN1+tAs/BgboknE8Ka0S9yGULVD\r\nCtlPbMYxZzumAIyXQ3hblWInyLoWfGAm5bc0DjiRdFBaoZu3LwYivk4ReAej\r\n1HLhPSjEiUtA5UG4AhYTIcbOu3MUMghMsF4=\r\n=4j5Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"e0b7eda216151accd954da2ce6ea9377bdbac4d9","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"_npmVersion":"8.1.2","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"hast":"^1.0.0","ascjs":"^5.0.1","eslint":"^8.24.0","rollup":"^2.79.1","d3-color":"^3.1.0","typescript":"^4.8.4","@types/d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.0.2_1664461068316_0.6049154322400863","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"rehype-color-chips","version":"0.0.3","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.0.3","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"562dfcf095bf642e3c5e1ffa2d6e0e44ddd00af6","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.0.3.tgz","fileCount":12,"integrity":"sha512-HohhY45vSYPpHm4zUV3k40BDH06CSXEBPY7NN4rO+G1lgsmLkfrXHTN3w6YfhxkafdGOykUC41Mdrcv5KXpdeg==","signatures":[{"sig":"MEQCIEuZ4hNI6Dw5i8goeQ00VN/Xwb5EfzXxgNlc5bco4aXrAiA61PXoDbwCzY3e+dfU4mrkHV0Le173IC+izt+AqRFf2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNcXBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSdBAAj1KFCRYw2SJjDFc13XwFZ3uYCknNWpX23MCjkGAAXvajTbaG\r\nm0Ml+iYdSfKY3vqeWoEb3PkfjSVoMA7/10VWQQTK3EazhfYCvH4+VN33z0PQ\r\nEfT+2ckbqD2peYYRzrtjypI0dwwcbgST2ZzDbi1UZyemf1BZ0wemVGhGY8RG\r\nJRYUumzFxJfGdvYeDisKa/QUBbZFcOpgWlXUns/HsH42D2brcEeF9JiNnxty\r\nihf6+VQ+EJWlyVscuzuDKGfRQ8jtsTPSvQaqcc3B/H/w0mq3MPX2+FLWPtH8\r\nGP6HijiadvOu97s2MI/HzsTd2rro38iTwwZtps9I59PStHLrIp+z4ugqmtyg\r\nnkChN9hs5uoptPuLGqfu3qNmzQiBECnvQoSPQqcsgXRcQZfUCvVM9nw5xigH\r\n0GlH09dK89UBl5exw07GPFgWWdQJVqb7DvbK48YYpJtEm7eCREu37AgSUOV9\r\nteFSXzuSmYNpRcQL6G37J01RPN5EMQD+YnwHv2kHYopok5l+cZ8JaBIZ04vx\r\nK2LOKDffpG5V+7SmluOODdavPp+mbsz4hRqFaPVAUBgG/zpaAuRSBRRbX8lH\r\nAyau1O+YYqqTfL3eMXZGvn2Lric9RMjiDo6crpm82oQsIhZ12iaICd1yKjPM\r\nK7KNRPv+++/G6PimhPCnIdR+ZF4fFluKF+Q=\r\n=QKg+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"5107055581c1032ec284f523bbd7327cb2ffffb7","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"_npmVersion":"8.1.2","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"hast":"^1.0.0","ascjs":"^5.0.1","eslint":"^8.24.0","rollup":"^2.79.1","d3-color":"^3.1.0","typescript":"^4.8.4","@types/d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.0.3_1664468417001_0.6083047843938225","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"rehype-color-chips","version":"0.1.0","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.1.0","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"b2f1330ebc484e5086de20c928f707493aa9a8b6","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.1.0.tgz","fileCount":13,"integrity":"sha512-MA8HkFM4EWf1iF/IJXhUa8/518KHZOWFqDs8q5cQalUrRC813oqpqM2F5cPLvhC7cGMZE6YUBdCOdQCVzVC/Pg==","signatures":[{"sig":"MEUCIH8eP8fNcpr9LalSxvT3vN0HwHG57375/iMxxsmqzPwXAiEA6+UZiHVDQdjwv0NP5n2XU6AB8WPiA/5lfZOyphokjnc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNiQIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrqhg/+KRGUi3vdBZ7En7KSYqBy3hM/FpjpaUmQ0N121C/JrUrEN0dV\r\nU6jvKVdhaEqFUkpGCeBPLn6CPP5LmpWhtKMiIc3Q0bsQh9karfluujfTRNSq\r\nuS/M44/rGTFclhLVmfj5ZZEfC3asA9WodXrBXgbPzr1IJEoAyITFjRnpfKEb\r\nsscyhdoUFuWJKQIfJXReDVaRgN81eZyI7PlrQDL8MzIBAPw3s0Hl2iMYSeiz\r\nfSEXO9jo+Xc6X58+hBsRBdhOdRWOG6/PBib2cjCCBxBk2Iwxi9v4Jg4ctVgn\r\nsKtGX/F/q7qSaZTvSe8LCY1csObHIy/hhS+zHS0net4ufCpqhxtXeioIZjne\r\nN0INwpmZ/3EboOL7IdcJgHWn/za1YMXQfTZ67LDzUIZEHSt3R8BD7QXCLHak\r\ndWgcnKf9w001EY7tfOol5RWzgD+zdKzIDQfDj1ZFWruxgwbg9hha/p3ZW27l\r\nw6E6okiSzToSVFenTMSlDT01gKeFM1HIt3JbJofGyVPYfZaQb67VA/kHaNMV\r\n/cgj2cE4zUJAQark85OfIqggkIppHW0vHf3b098gtCQevc9CNLPrCLNR/JkK\r\n/tPfzbqciyD6PNsIFX0a9p0Ec6v6v8wnkosPUgYjUrLkwNdaz4eV/RKMpo/x\r\nf7gTIU542+d9AO3GP5CILYAsDR6qjgciQ18=\r\n=Ht0K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"346342bd146f526322be8dcaea872333babd8daf","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","test":"uvu","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"_npmVersion":"8.1.2","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","hast":"^1.0.0","ascjs":"^5.0.1","dedent":"^0.7.0","eslint":"^8.24.0","rehype":"^12.0.1","rollup":"^2.79.1","d3-color":"^3.1.0","uvu-watch":"^1.0.11","typescript":"^4.8.4","@types/d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.1.0_1664492551893_0.8419002391947283","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"rehype-color-chips","version":"0.1.1","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.1.1","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"dc85b8e997ab21cd4b08d526ff0fd69441573246","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.1.1.tgz","fileCount":13,"integrity":"sha512-Zq7umMqcVVAYdq0R8LzMa3G56gG+pKd4iWl6nz16TeYGvBAwXGk1U7CVwOhZigpxCnqiqZHbD+Lh78FlkiCftw==","signatures":[{"sig":"MEQCICc7ZscubcT2m14FNB2L6l43aDGi6sc/CdV7mNnmwaB5AiA6vYj3dmiPoYklF2ZmKN03zw+0R6z39b/I1mAD8nTR0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJXjlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5jA/7B8b6KiRovfTRkQpX9SEGW+oMccfLXUapzgX/sHDXgySmE06C\r\nQTEKtUXFG7OcUZO8aZgAqVOABLyWIbEXNkQ/6Deq9uJ43C5KzW0oVso5qpr6\r\nve0yuMsaC28RzSARpMzo+2NstEa4gfH8FjNfT0LL8ttuMFR+rFKXi2sZnGf3\r\nX8eO+W+UxC3LcAcvLSvfGKci6Ub5WWudzzH05UKWh5THnkTLmfJc4w7BEnfE\r\n+RFeecmhSwQ4i9a3EFL3nE54jd+BUQfOYRG64ErzBoq2PHLNxejGaKjXfeZd\r\nm0iy6NFyGrMh3h8OmIUIFb2jPYILLpI7B+czzE4QYu54qXt/KyImHeKMO3ko\r\nGLy1pej69xo47UT2p3TtHWd27PFav35mVJ+c4iVY7H2gEItoVhUMVsNgSazD\r\ne0hykP5HngcBkBsUw4IqfyFXamN9ZnOjps+kA9AL2TI/JShVeVEOUxdJhqZc\r\ntVsdDmqKvn+Fmukv9l2i3p/ir+I8UPbQ91qrKmP6APXRfRan+MYNkdy2lBfe\r\nP+CN0RKT1SnpIgGOysqKwO4vZyKdgnCa/j98UteYWMaxdDdQ/sX4qk7o7gm+\r\nqFX7dxRXbKmlQiN2uGwYzVz93BP8Zj1vb8GjuyH6Wqgyt/+J15GEZmYz8Fhg\r\nHZ3ZdY7ADE9GLEvpQO9aLQFRez7HTZrjn4s=\r\n=0dd+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"2473cc97f5914c992deb156f3285d6365d4cbaa6","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","test":"uvu","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"repository":{"url":"git+https://github.com/shreshthmohan/rehype-color-chips.git","type":"git"},"_npmVersion":"8.10.0","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"14.19.2","dependencies":{"d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","hast":"^1.0.0","ascjs":"^5.0.1","dedent":"^0.7.0","eslint":"^8.24.0","rehype":"^12.0.1","rollup":"^2.79.1","uvu-watch":"^1.0.11","typescript":"^4.8.4","@types/d3-color":"^3.1.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.1.1_1680177381054_0.29800294036513675","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"rehype-color-chips","version":"0.1.2","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.1.2","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"1454dfa553d48a5946077f2b0608f1100a5d3792","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.1.2.tgz","fileCount":13,"integrity":"sha512-pP7q0PC1JABdtXkoAYufdqv8TNSF3hfekqD8ZZFg1vLHz//XdTGDKdqtLJPX9ubOIdHFaOnz27A7TGSaDFpSig==","signatures":[{"sig":"MEUCIQDbk3QB5kEAQskv04gvZsfhXjdQZjAJfMDWAG4kXBjFOwIgVvxhBH+2iceU2QOPgBaUaJIP8EYaAuAOUCKuRkQZc4w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJcQqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrieA//TfDQqKhIHDtJuUA6C+BbGwyvTmgwG9a9nxs0D3LdG/3k6pya\r\nusgfRNtifZL6MHd5k5wFWzOlaYgWrZWV+NKyan4+77/edR/pEZwsH0eRL3rC\r\nO584UfviS5nK98DmhPZq6lYW0qklrgJzN3NxONijxTDdI6dRVNRWcbJ7G+bF\r\n1uYVY5nBKXffz80l3O/m6pLRFIg5x6jAVQvDFrIKAHxg7a8SWZfwz5emMlX6\r\noqLzmVwx9QYwawoLYrMoS2gYmIJWtX8mY5Fbv0inrkUcYS7TBuGXm2FAcWUT\r\n+3Ju+WD3uaGrpEI32b+NyD5fBE8i5dspCaj1ekJMDK8hXEmHuyAHkI5/7tQo\r\n3nUqOdxAlJSg98JQIhsv7wAwqC4Zsz6WLh+niDIKrsn5fy2p6vug80PlaaD+\r\ncuAaApfyKU0UGR+oM3FgRr7PNDUP+AIUt2RH4r1R9PBFIEtJ4+Fdd4g3uTmr\r\nhhsh2M/YjULHNSsQltxZ0GwPnWX27e3xU/MgmXxxVxYEV46l33/hEqfNWlZc\r\nzfbuRhCLwRm59VX0Rrup+4H2tH49iU82NxH9xppzVsEWev+Ev7vW6bKeSve4\r\nnxCwCySQmioLzveLKy0daOFDrkF9pAZFgwTmvM1tapw38BUa1ZSwJ8zIqgQE\r\nDtuHKq6HNBLRvg8dpwIis7+exJDGKwQlEtA=\r\n=9pin\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"e85332b63a05c49f8c4522e0cba1077ce6fe6708","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","test":"uvu","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"repository":{"url":"git+https://github.com/shreshthmohan/rehype-color-chips.git","type":"git"},"_npmVersion":"8.10.0","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"14.19.2","dependencies":{"d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","hast":"^1.0.0","ascjs":"^5.0.1","dedent":"^0.7.0","eslint":"^8.24.0","rehype":"^12.0.1","rollup":"^2.79.1","uvu-watch":"^1.0.11","typescript":"^4.8.4","@types/d3-color":"^3.1.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.1.2_1680196649772_0.5398127398877814","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"rehype-color-chips","version":"0.1.3","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"url":"https://shreshth.dev","name":"Shreshth Mohan","email":"sremog@gmail.com"},"license":"ISC","_id":"rehype-color-chips@0.1.3","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"dist":{"shasum":"ed0bc01f1e593f01627f3742866364a207cc6b22","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.1.3.tgz","fileCount":13,"integrity":"sha512-K9/YXDSdDFMVey9QFnZmECCDFoWVUMa82TnHsHbN02j+D+fvwclxlWGFhKfsR7SfWFh4abF83cSU2Yp6abDERg==","signatures":[{"sig":"MEUCIH37BBoYL5MgcdS6aEuOs+cvnT5ZgRyaRozTsHuww2Y3AiEAkDhmJNakxBljEoe3gJgzhjfnxUPiuENXNHkUmi1EH/M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJnA8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKTg//V3anuE8sydmDwS6WvHHE4BCltthmJcUMcapyrS+b30Ve0WtR\r\nUrUyHQtUQZ2HUq97Vqt6JGHpO6YOGbnv1BX8hC4DLJ+qmoFiWN+XGJPluSzv\r\nZ3gxx7ks9GmveO5RRg5lbVOcPYA6AVPEVcPoE2Wp5MGicQ0dVD99CTzlBqGl\r\n3qzo9+ds2lqJeQWLiWPkW2nz24X/fvzkbbjROzqBHjkDNJz1M/0v85MlJ3MI\r\npzDLmm3mmRcBDOZYnCnxrRAaADpqgcGm5mosqmaI5DPO0S//iHhGV3BoEzXY\r\n6BECIrtPxN4ZOjmbST86JRBXRWelai79MWdssSR2sEZng1aGI/clLaXORep1\r\nFJzZAOMGUHn1V63AFFMDnunDkYXY5sJRMhMAb2vwPoHXBuz/jMhQMLrpRcpL\r\no3guVoqhFH+ah8hCxfBpjofeUEq2YTyVpE45rQeGVkobr+NacvWXP0xnWxIn\r\nuJyowMxPpaMNW1Rrbybg8K9BB0+QRnnwEkAl3B6QMiBdYtwmF6mxSIfIUwyM\r\npd4d5odOaA4EneErowxqawX5jBKjlIpoVijwO2SWvuQJowQWn3gjckO2cjQ4\r\nKK4iDFoCjcjk0Zl5FppTGMMgdnF09SwJ+DjXbYbLdgNGdiO5z0PeYUZSSTzV\r\nTV8F9F6bupKUJA0fv8FuCEgUzNDv0vJp9A8=\r\n=m/z3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/index.js","type":"module","types":"./esm/index.d.ts","unpkg":"es.js","module":"./esm/index.js","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"99749161e31ab091df6b1cc4a021ab5aec656888","scripts":{"cjs":"ascjs esm cjs","tsc":"tsc","test":"uvu","build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","prepare":"npm run build","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js"},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"repository":{"url":"git+https://github.com/shreshthmohan/rehype-color-chips.git","type":"git"},"_npmVersion":"8.19.2","description":"A rehype plugin to add a color chip with an inline block with a valid color code","directories":{},"_nodeVersion":"16.18.1","dependencies":{"d3-color":"^3.1.0","unist-util-visit":"^4.1.1","hast-util-to-string":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","ascjs":"^5.0.1","dedent":"^0.7.0","eslint":"^8.24.0","rehype":"^12.0.1","rollup":"^2.79.1","uvu-watch":"^1.0.11","typescript":"^4.8.4","@types/hast":"^2.3.4","@types/d3-color":"^3.1.0","@rollup/plugin-terser":"^0.4.0","@rollup/plugin-node-resolve":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-color-chips_0.1.3_1680240700754_0.034768378377160625","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"rehype-color-chips","version":"0.2.0","description":"A rehype plugin to add a color chip with an inline block with a valid color code","main":"./cjs/index.js","scripts":{"build":"npm run tsc && npm run cjs && npm run rollup:es && npm run rollup:index","tsc":"tsc","cjs":"ascjs esm cjs","rollup:es":"rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck","rollup:index":"rollup --config rollup/index.config.js","prepare":"npm run build","test":"uvu","test:visual":"node visual-test.js"},"keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"author":{"name":"Shreshth Mohan","email":"sremog@gmail.com","url":"https://shreshth.dev"},"license":"ISC","bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","repository":{"type":"git","url":"git+https://github.com/shreshthmohan/rehype-color-chips.git"},"dependencies":{"d3-color":"^3.1.0","hast-util-to-string":"^2.0.0","unist-util-visit":"^4.1.1"},"devDependencies":{"@rollup/plugin-node-resolve":"^14.1.0","@rollup/plugin-terser":"^0.4.0","@types/d3-color":"^3.1.0","@types/hast":"^2.3.4","ascjs":"^5.0.1","dedent":"^0.7.0","eslint":"^8.24.0","rehype":"^12.0.1","rehype-stringify":"^10.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","rollup":"^2.79.1","typescript":"^5.9.3","unified":"^11.0.5","uvu":"^0.5.6","uvu-watch":"^1.0.11"},"module":"./esm/index.js","types":"./esm/index.d.ts","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"unpkg":"es.js","_id":"rehype-color-chips@0.2.0","gitHead":"b547dc24a0795aedee6750b1b6c62ea6c1830ba3","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-5zt+QeaSEIdiSNJkpEqlSW1fdLmabB83e16rAwn2O7ytwZJEsyY1XnqyMAoQX9vpKA/Ccow/H51D8ekBnrPtmA==","shasum":"e4952836f9a17e62e3ebd8dfb8f62d6d596db6e9","tarball":"https://registry.npmjs.org/rehype-color-chips/-/rehype-color-chips-0.2.0.tgz","fileCount":18,"unpackedSize":87698,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDA9brILZyjWsr4KrUSM5YJxtD85xsTkB9AzFpUnb/UXQIgMpXyryyXvm1jVr+TNWbVouhNPSeaVgAtXpGV34W4pWA="}]},"_npmUser":{"name":"shreshthmohan","email":"sremog@gmail.com"},"directories":{},"maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-color-chips_0.2.0_1762877150622_0.8253606863919289"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-29T12:21:28.094Z","modified":"2025-11-11T16:05:51.089Z","0.0.1":"2022-09-29T12:21:28.412Z","0.0.2":"2022-09-29T14:17:48.468Z","0.0.3":"2022-09-29T16:20:17.189Z","0.1.0":"2022-09-29T23:02:32.080Z","0.1.1":"2023-03-30T11:56:21.224Z","0.1.2":"2023-03-30T17:17:29.972Z","0.1.3":"2023-03-31T05:31:40.929Z","0.2.0":"2025-11-11T16:05:50.876Z"},"bugs":{"url":"https://github.com/shreshthmohan/rehype-color-chips/issues"},"author":{"name":"Shreshth Mohan","email":"sremog@gmail.com","url":"https://shreshth.dev"},"license":"ISC","homepage":"https://github.com/shreshthmohan/rehype-color-chips#readme","keywords":["rehype","rehype-plugin","github-flavored-markdown","color-chips","mdx","jsx"],"repository":{"type":"git","url":"git+https://github.com/shreshthmohan/rehype-color-chips.git"},"description":"A rehype plugin to add a color chip with an inline block with a valid color code","maintainers":[{"name":"shreshthmohan","email":"sremog@gmail.com"}],"readme":"# rehype-color-chips\n\n[rehype] plugin to add a color chip with an inline code block containing a [supported color model].\n\n\n\n## What does this plugin do?\n\nTurns `#ef4591` to this: ![image](https://user-images.githubusercontent.com/5955802/193158286-4a0dcb59-0b98-4150-a8d7-af2b368759e7.png)\n\nNote that the 3-digit hex code doesn't work on GitHub, but works with this plugin.\n\nAppropriate [styles](#styling) will need to be applied for the the color \"chip\" to show up.\n\nThese don't work with `.md` files, but work inside issues. See https://github.com/shreshthmohan/rehype-color-chips/issues/1#issue-1391093265\n\n## Installation\n\n```\nnpm install rehype-color-chips\n```\n\n```\nyarn add  rehype-color-chips\n```\n\n## Usage\n\nThis plugin has been tested to work with [next-mdx-remote]. But should work with other mdx libraries too.\n\n[See it being used in a Next.js project here.]\n[Live on the website here.]\n\n```js\nimport { serialize } from 'next-mdx-remote/serialize'\nimport rehypeColorChips from 'rehype-color-chips'\n\nconst serializedContent = await serialize(content, {\n  mdxOptions: {\n    remarkPlugins: [remarkGfm],\n    rehypePlugins: [\n      /* other rehype plugins */\n      [rehypeColorChips, { customClassName: 'color-chip', location: 'after' }],\n    ],\n  },\n})\n```\n\n## Styling\n\nBy default, the plugin applies a `gfm-color-chip` class to the added element.\n\nAs an example the following styles can be applied to the color chip:\n\n```css\n.gfm-color-chip\n  margin-left: 0.125rem;\n  display: inline-block;\n  height: 0.625rem;\n  width: 0.625rem;\n  border-radius: 9999px;\n  border: 1px solid gray;\n```\n\nYou can change the class name by providing a custom value for the class attribute. Provide [`customClassName`](#options.customClassName) via options\n\n## API\n\n`rehype().use(rehypeColorChips, [options])`\n\nAdds a `<span>` tag with the color as `background-color` in the `style` attribute.\n\n### options\n\n#### options.customClassName\n\nType: `string`\nDefault: `'gfm-color-chip'`\n\nAdds a `class` to the added span element. Can be used to apply custom [styles](#styling) to the \"color-chip\".\n\n#### options.location\n\nType: `\"after\" | \"before\"`\nDefault: `\"after\"`\n\nControls the position of the color chip relative to the color text.\n\n- `\"after\"` - Places the color chip after the color text (default behavior)\n- `\"before\"` - Places the color chip before the color text\n\nExample:\n\n```js\n// Color chip appears after the color text\nrehypeColorChips({ location: 'after' })\n\n// Color chip appears before the color text\nrehypeColorChips({ location: 'before' })\n```\n\n[rehype]: https://github.com/wooorm/rehype\n[supported color model]: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#supported-color-models\n[next-mdx-remote]: https://github.com/hashicorp/next-mdx-remote\n[see it being used in a next.js project here.]: https://github.com/shreshthmohan/next-blog/blob/e7e29b70b40937593b4501ea5e495b01384b5235/utils/fetchIssues.ts#L83\n[live on the website here.]: https://shreshth.dev/blog/github-flavored-markdown-color-code-chips-test\n","readmeFilename":"README.md"}