{"_id":"hast-util-to-string","_rev":"15-0714d3f34683054186ff42af0f649bd7","name":"hast-util-to-string","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"hast-util-to-string","version":"1.0.0","keywords":["rehype","hast","string"],"author":{"url":"http://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@1.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"dist":{"shasum":"16c07671f0f2ac7735e455cdae32c7c1b8963f2a","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-1.0.0.tgz","integrity":"sha512-2UIamFV4FEuHpmxlz89/qoRp7VJKoYjpOeuXCtkydqStWo8k5T7ivnRTUhIYgEe2cch9sDaBJ9r7g1DitYsb2A==","signatures":[{"sig":"MEQCIGvIivWJFFnUfWQnWmaeWMVP4s49iwvuM2vAsLa4CuqHAiBGdqzX7Y45y2XfQZ7s3ysP2K9uqB0X55XorXZlfdjSxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"16c07671f0f2ac7735e455cdae32c7c1b8963f2a","scripts":{},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-to-string","type":"git"},"_npmVersion":"3.10.6","description":"Get the plain-text value of a node","directories":{},"_nodeVersion":"6.3.0","_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string-1.0.0.tgz_1473340379253_0.7403443849179894","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"hast-util-to-string","version":"1.0.1","keywords":["rehype","hast","string"],"author":{"url":"http://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@1.0.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"xo":false,"dist":{"shasum":"b28055cdca012d3c8fd048757c8483d0de0d002c","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-1.0.1.tgz","integrity":"sha512-EC6awGe0ZMUNYmS2hMVaKZxvjVtQA4RhXjtgE20AxGG49MM7OUUfaHc6VcVYv2YwzNlrZQGe5teimCxW1Rk+fA==","signatures":[{"sig":"MEYCIQCcnd0axtImvd1mEePnidLtCozpzZBAEue9nFCtWWhTpgIhAJsgoh3JEZGRemBAbazbayYhBXqGJdLo8/pZEONP9UFG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"files":["index.js"],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-to-string","type":"git"},"_npmVersion":"5.1.0","description":"Get the plain-text value of a node","directories":{},"_nodeVersion":"8.1.2","_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string-1.0.1.tgz_1500929572901_0.38714815746061504","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"hast-util-to-string","version":"1.0.2","keywords":["unified","rehype","hast","string"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@1.0.2","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"fcf6d46bde2a50a1fbcaf6ed238971a51b622eac","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-1.0.2.tgz","fileCount":3,"integrity":"sha512-fQNr0n5KJmZW1TmBfXbc4DO0ucZmseUw3T6K4PDsUUTMtTGGLZMUYRB8mOKgPgtw7rtICdxxpRQZmWwo8KxlOA==","signatures":[{"sig":"MEQCIG8mQylCPo3I2drvIE2fvCNJbtQ8UC+Du+7+YvzsiFylAiA5S1nI0mH6nKbPvCV9vRkkAgtJGbtMn/5sSBVEaQbSeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8oAbCRA9TVsSAnZWagAAdU0P/RZwMh7Kro8vQMsClOXr\nY1Z0n4eK0Sc9mMEk1HZqOwGYFTvty8m/AdVN3Lp4s4l01YBvZFaEJabKIP4m\nAM60sjBkrK7R0JVjmI7m/xlxWnFiW/K931qX+2/lnVNF+ukivstF7tJ0n0pR\neOuMOTrASr6/pV/W5U3xI3cULnWj7r0wOfI4sw2whPUGOzliTmy46ESiuZlj\nhSODGbMxGo2Qr8NKChQYOzWKRALFoNNpKMh5yKzzEDBkdpBkRkCQ8AGmCjaz\nF+VMTRRRfaBgS9AoyA1yX9BlY+LKJogMsRSBEXQ8QfoaIllEnNMG5bkJw68C\nHl64aKhvFQ+lqrkgMBoWpRtYWIVpd3Jpm0P/7uPyW8fRld3vGCEwIr/wTIxJ\nS6RieoOoX0rP02CusT5pGarrsu9N2ce0U0SWzDg7eLqiR04jAzuV4SjFz0o8\n2g7rte1r/OsqwfBG8NrosMpCot6+4xUjVSuJlAxj+P9ykkhiZ5RZy7B92nDF\nhIQ2SqR41xh8f/xm5pPsK9LT3gZiXVujE2ieCs8LyRcfiEi59Fx309psEnGI\nHBHUmpmL9Qp7Z2z2IjedEaAa7xJxO3ZT9TRKI9enjeGIwKFJLseTZXc+ytE6\ndOeR/rZ9B6vUhJrhj4qIWCjVmEXD7KbUFZSdYGK2aIboCItpA4sskYN7TjYL\nTc2Z\r\n=eLnh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-to-string","type":"git"},"_npmVersion":"6.9.0","description":"hast utility to get the plain-text value of a node","directories":{},"_nodeVersion":"12.2.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string_1.0.2_1559396378971_0.18147980396290464","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"hast-util-to-string","version":"1.0.3","keywords":["unist","hast","hast-util","util","utility","html","string","serialize","content","stringify","text"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@1.0.3","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"897d4bbd0dc7a9b0765a943a82fa38136277de1f","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-1.0.3.tgz","fileCount":3,"integrity":"sha512-3lDgDE5OdpTfP3aFeKRWEwdIZ4vprztvp+AoD+RhF7uGOBs1yBDWZFadxnjcUV4KCoI3vB9A7gdFO98hEXA90w==","signatures":[{"sig":"MEQCIAYHpkRcjYLOnPdlV9MGU1djwab76SI2uoYeRKBIg9VFAiARttwjuFlMTPFBkrnQ4Th+o4Ozh8R9AHWdQ4m2YN3MuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedlymCRA9TVsSAnZWagAAX3sP/i3d9enrQjifBJBHDbjT\n+SpexX4ly4gLf4e8wbxgc52aB0B59R3TnCbjreOHq365DtOUX+sUZ7BOy4so\nkHJO9kY+A1/tph3fejloQjbjoWSTqRFxsQ6Y3qcjRsURUat8YQlHmrtAZaQw\n2IbeYh9iwfWeSeLdBkoozNG+TDmdaZhlfyUivMZ9HeIt6qBqfuSJsMXiuxG8\neksdzdiRleAzwb8mLD5cUWM9o+1Rymr0or8dszU0S6HSuf+qIcbbJWg9RKBj\nV9vgPPMsxSwazaO1aFmSNXaWTYfwdP+91BHSKGtHA7BJYHILz98beVqdPVmt\nssCwEzt3Jiq6b6JmRI4x1kLA2tiS7lWFOjC9t0UoGyH0x1saD9IWg+EtneCA\nYS4oaNtTi9k69KL47zCEs4W72GBbiLvZZYvzCRVfTgKugVIzxbDQUAbEeYAe\nM4WuWv4OxPOi22+j6ifJJBEJEs5l9BXJcE7yLgO+9qq87xZ1a1yjkhCOBADj\nyXIKXprsJYVomJiN/cZ4906dgKj/95VA4vUKmXNvI8scYAkC2iTxY4M+MydT\nyVxmmjgIPdfVRP7QSZklJpCotHchs3gyXXsQwwLE/cTflGpyVHO4KX1Soq2m\nns3z9UG0v5ivQ1ndb3RR7PWFB9e1uN05ZCvdlKjBK1cKgRJJjwDDbaO67TZa\nDr5I\r\n=l6GW\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-to-string","type":"git"},"_npmVersion":"6.14.3","description":"hast utility to get the plain-text value of a node","directories":{},"_nodeVersion":"13.10.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string_1.0.3_1584815269447_0.05033004430967458","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"hast-util-to-string","version":"1.0.4","keywords":["unist","hast","hast-util","util","utility","html","string","serialize","content","stringify","text"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@1.0.4","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"9b24c114866bdb9478927d7e9c36a485ac728378","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-1.0.4.tgz","fileCount":3,"integrity":"sha512-eK0MxRX47AV2eZ+Lyr18DCpQgodvaS3fAQO2+b9Two9F5HEoRPhiUMNzoXArMJfZi2yieFzUBMRl3HNJ3Jus3w==","signatures":[{"sig":"MEUCIFUlsZgs/7frM3j5Klx9jPVEqMaKZVNa90mfAQq6zKFaAiEA4be5HEKR0AU8jOoXmgKKJZQZJXBlitdD1Hmkg5E5eq4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/cEQCRA9TVsSAnZWagAA0UwP/RevxW807IsB1LjYEcUB\ncBIhkR2RZqK/UBuzvJmkvWfP8j+H6cOcC7yZ0sNn48cKLhxla9cuaOgVUdpH\nesvLSFX5wk/hN76stjqIH0Xu4lriWL2VpnrKYcrbPV4ThuU9igHXwYJtGDQw\nBfzHpwduDn+HszZ3Pjspc7CcnUsX5rLyw4Mbl+47OwuSGpdKInXQ/yFSkQZg\n8VcC9NsuY7zv1WAu6HxshX90fykNYVI1hr+Vl4uvwpQ8C94oeKVlkTk5hqI5\nH1kC9ou6Nx9Tmg2oRKpFNu5iFm8qvcbtoWzLpNfbB5LnK+wLvXgbGHUGkPHz\nHM5DsOzqGQMp4F71/5X+zYY+mdW77SF5IhLdOq9d1NesRLvN+tGZ0E2vz6oX\nHsF2FD4E5pgQXEg5PqMWOxDLDVk9hJYamJvhPasIdBh+GjERh5O1XI1am2Vz\nGMz9I2S1ZgavZfl0yy4YQI8LlzIZ9qJ8tBgWcDEHwGnBPirCrvxQBSrJ3quY\ncXDzwzZh450Zfqfq+WeRz8C/kFa2ogE/VN+fN2GeHW7PlG+IwHVG4W3ieFwl\neoqfe8rYHLDmwp9g6naszA18+xWBvCeUj6F684FcGhK1Vd6u/mLG6gBYpqoi\njeyw0LjnZo089ZzZU38D1iUh6s3kd+ekOcgycvaoTVpQ3GSS6YYy8GpA5HuI\nUAr3\r\n=CSux\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-to-string","type":"git"},"_npmVersion":"6.14.5","description":"hast utility to get the plain-text value of a node","directories":{},"_nodeVersion":"14.0.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string_1.0.4_1593688335928_0.7531685266107948","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"hast-util-to-string","version":"2.0.0","keywords":["unist","hast","hast-util","util","utility","html","string","serialize","content","stringify","text"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@2.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"b008b0a4ea472bf34dd390b7eea1018726ae152a","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-2.0.0.tgz","fileCount":4,"integrity":"sha512-02AQ3vLhuH3FisaMM+i/9sm4OXGSq1UhOOCpTLLQtHdL3tZt7qil69r8M8iDkZYyC0HCFylcYoP+8IO7ddta1A==","signatures":[{"sig":"MEUCIC1iF1l/dcxK5odF3cXoTwGgScP/lvumZ+Ay3ItwDb/nAiEAkmgau/Ac4mKVVQgtjczvGJB3ChFipIf3agIIp+IjqEw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBvCGCRA9TVsSAnZWagAAOcMQAJfNtNj+nNKbCQ85TZP3\ndA9zeR1VBk1ptnxIsCGNEVm0KcCWQqSuziKkEFXvGbEPlAPR6VflY1r72XEk\nU6IDiKvqI4ojq4c2yoZGgiOI8lZtBumuNivLRM+sQra8JbaJFEJt+d346TEN\nUQQGcu1JUfYt1hnnCEm7P9PWQZtlhLRBvw3DOsHpguK6TVVvitNjSz4vv/h9\nVNLxT2qogYuKbW7Mdc7Y6syqW9x4US22Y27gX5m8ZcmHM5bhBq6F0Wvji2n3\nKoIEDW2GOp+tuNHqoNylQqg5LoZyp8xr31Yupo9KXkDECe2h9+FH4YYP3tSm\nfw5elgXPZ+S4AGQvmKgMz9b8S3WZ2FM7/Vrz7P/g289n5Vj0fXDtlkQzOmN6\noSs9VBCB5hRc+omhZPULLlz93dQvBgavE2D5sCDyGIc0zopEiMCCx7ZFT7dT\niTUjrA6+bnDkruXdyGSX94tI6ZZL8/q2vu6Ky+ksKXOw9+Li5owrlam60zK6\nYUwuksJPS4wpZ4gNpwQcGn+V0Bc8oDVnZAa/4vB2pUbnOqa1yMYH5QkliVIe\naWdzkuJU+9IOQ7y3AoqCM1oBgDns+xf6hRtmLqnrOvx2XsWf6z/keSUOqCzQ\n5DfLn/36DZhUC0gAV9BS1QnCjR0/4CZFxbyjsDJ3r0UfIyXwtN2CfsxcC8bT\nSTXt\r\n=rPI4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"scripts":{"test":"node --conditions development test.js","build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/rehypejs/rehype-minify.git#main","type":"git"},"_npmVersion":"7.18.1","description":"hast utility to get the plain-text value of a node","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","dependencies":{"@types/hast":"^2.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string_2.0.0_1627844741994_0.486401634927917","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"hast-util-to-string","version":"3.0.0","keywords":["content","hast","hast-util","html","serialize","string","stringify","text","unist","util","utility"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-to-string@3.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"2a131948b4b1b26461a2c8ac876e2c88d02946bd","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.0.tgz","fileCount":6,"integrity":"sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==","signatures":[{"sig":"MEQCIFvGHOQEPSSNw4unSrXj1krR4MbSNnxcD/sIBIuP0PaSAiBY8qeE3TRtybjl0KRLmvEaWRbQ5gOWxxEYgaYYeeIXFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8520},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"142a16cf75ea59ab9a32b1a38e02cc42cdca3f6d","scripts":{},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/rehypejs/rehype-minify.git#main","type":"git"},"_npmVersion":"9.8.0","description":"hast utility to get the plain-text value of a node","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","dependencies":{"@types/hast":"^3.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-to-string_3.0.0_1693408797318_0.8710555321332674","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"hast-util-to-string","version":"3.0.1","description":"hast utility to get the plain-text value of a node","license":"MIT","keywords":["content","hast","hast-util","html","serialize","string","stringify","text","unist","util","utility"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0"},"scripts":{},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"capitalized-comments":"off"}},"_id":"hast-util-to-string@3.0.1","gitHead":"79383ba769010ff52c547c57850d2dd3ecb815a9","types":"./index.d.ts","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","_nodeVersion":"22.7.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==","shasum":"a4f15e682849326dd211c97129c94b0c3e76527c","tarball":"https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz","fileCount":9,"unpackedSize":9851,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAzVIiduLosm7wMLP3k3nhENHre8Hk6oamIOmp986PVAiBowdHkYJgp/mFA81Uge/8Zyj8eX/F1U7Mhg3DhgvjNwA=="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-to-string_3.0.1_1727437749697_0.6877321866354471"},"_hasShrinkwrap":false}},"time":{"created":"2016-09-08T13:13:00.890Z","modified":"2024-09-27T11:49:10.175Z","1.0.0":"2016-09-08T13:13:00.890Z","1.0.1":"2017-07-24T20:52:52.962Z","1.0.2":"2019-06-01T13:39:39.102Z","1.0.3":"2020-03-21T18:27:49.538Z","1.0.4":"2020-07-02T11:12:16.074Z","2.0.0":"2021-08-01T19:05:42.114Z","3.0.0":"2023-08-30T15:19:57.527Z","3.0.1":"2024-09-27T11:49:09.914Z"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"license":"MIT","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","keywords":["content","hast","hast-util","html","serialize","string","stringify","text","unist","util","utility"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"description":"hast utility to get the plain-text value of a node","contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"readme":"<!--This file is generated-->\n\n# hast-util-to-string\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][funding-sponsors-badge]][funding]\n[![Backers][funding-backers-badge]][funding]\n[![Chat][chat-badge]][chat]\n\n[`hast`][hast] utility to get the plain-text value of a node.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`toString(node)`](#tostringnode)\n* [Syntax](#syntax)\n* [Syntax tree](#syntax-tree)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a utility to get the plain-text value of a node.\n\n## When should I use this?\n\nYou can use this package when you want to get the plain text value of a node.\nThe algorithm used by this package is like the DOMs `Node#textContent`\ngetter.\n\nTo use the DOMs `Node#innerText` algorithm instead, use\n[`hast-util-to-text`](https://github.com/syntax-tree/hast-util-to-text).\n`innerText` is aware of how things are displayed, for example turning hard\nbreaks (`<br>`) into line endings.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install hast-util-to-string\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport {toString} from 'https://esm.sh/hast-util-to-string@3'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import {toString} from 'https://esm.sh/hast-util-to-string@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {h} from 'hastscript'\nimport {toString} from 'hast-util-to-string'\n\ntoString(h('p', 'Alpha'))\n//=> 'Alpha'\ntoString(h('div', [h('b', 'Bold'), ' and ', h('i', 'italic'), '.']))\n//=> 'Bold and italic.'\n```\n\n## API\n\nThis package exports the identifier\n`toString`.\nThere is no default export.\n\n### `toString(node)`\n\nGet the plain-text value of a node.\n\n###### Parameters\n\n* `node` (`Node`) — node to serialize\n\n###### Returns\n\nSerialized node (`string`).\n\n## Syntax\n\nHTML is parsed according to WHATWG HTML (the living standard), which is also\nfollowed by all browsers.\n\n## Syntax tree\n\nThe syntax tree used is [hast][].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`hast-util-to-string@^3`,\ncompatible with Node.js 16.\n\n## Security\n\nAs **rehype** works on HTML and improper use of HTML can open you up to a\n[cross-site scripting (XSS)][xss] attack, use of rehype can also be unsafe.\nUse [`rehype-sanitize`][rehype-sanitize] to make the tree safe.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n[author]: https://wooorm.com\n\n[build]: https://github.com/rehypejs/rehype-minify/actions\n\n[build-badge]: https://github.com/rehypejs/rehype-minify/workflows/main/badge.svg\n\n[chat]: https://github.com/rehypejs/rehype/discussions\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[coc]: https://github.com/rehypejs/.github/blob/main/code-of-conduct.md\n\n[contributing]: https://github.com/rehypejs/.github/blob/main/contributing.md\n\n[coverage]: https://codecov.io/github/rehypejs/rehype-minify\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-minify.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-to-string\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-to-string.svg\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esm-sh]: https://esm.sh\n\n[funding]: https://opencollective.com/unified\n\n[funding-backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[funding-sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[hast]: https://github.com/syntax-tree/hast\n\n[health]: https://github.com/rehypejs/.github\n\n[license]: https://github.com/rehypejs/rehype-minify/blob/main/license\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[size]: https://bundlejs.com/?q=hast-util-to-string\n\n[size-badge]: https://img.shields.io/bundlejs/size/hast-util-to-string\n\n[support]: https://github.com/rehypejs/.github/blob/main/support.md\n\n[typescript]: https://www.typescriptlang.org\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}