{"_id":"@288-toolkit/html-parser","_rev":"6-96b448887629913aa9a1e5ed878db407","name":"@288-toolkit/html-parser","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@288-toolkit/html-parser","version":"1.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/html-parser@1.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"63900a47a2dac65e516ba1a19c7baad8aa3e8141","tarball":"https://registry.npmjs.org/@288-toolkit/html-parser/-/html-parser-1.0.0.tgz","fileCount":6,"integrity":"sha512-v1TWZGNY9aZUQ9MiypmXp5sE/CZDPo4O/15SE8bKfbS9oaTOGmcXyZDxdBSz8QtXN3HWY7eyuorJ7tMaiYLr9Q==","signatures":[{"sig":"MEYCIQC9x6gKfaQ6Ug5ylpuZtdj69NYqsA9Sq9RXzeS2zAoyCQIhANNdw9X+UVDmAwQv8PJNGih/T5qKSk5eu/gBDuxRhwNo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5230},"type":"module","_from":"file:288-toolkit-html-parser-1.0.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/b95841d6b226b70cd39ba50cb98529f1/288-toolkit-html-parser-1.0.0.tgz","_integrity":"sha512-v1TWZGNY9aZUQ9MiypmXp5sE/CZDPo4O/15SE8bKfbS9oaTOGmcXyZDxdBSz8QtXN3HWY7eyuorJ7tMaiYLr9Q==","_npmVersion":"10.5.0","description":"```sh npm i @288-toolkit/html-parser ```","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@288-toolkit/types":"3.0.0","@288-toolkit/strings":"^4.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/html-parser_1.0.0_1714576882392_0.4676778439346996","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@288-toolkit/html-parser","version":"1.0.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/html-parser@1.0.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"0eed704eb4d94407d2bfe3e99668ab29f358bbfc","tarball":"https://registry.npmjs.org/@288-toolkit/html-parser/-/html-parser-1.0.1.tgz","fileCount":6,"integrity":"sha512-YqCHkl04DfCW5j0EmL0zIr/stgggnX9O8mHlRtkZK/X1D9VbvEi0Q1Ff7AR1+xE736HbSFPKJ1P7AJPpqvboNQ==","signatures":[{"sig":"MEYCIQDVhAkM9kDA8cuCqBBwvX0GIjmPFuxw8NW1wmFbdLn5fgIhAIAvi5elBVwUwayjpxVn8y8gx0UJDI6ENkRiuaXCkiyZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5236},"type":"module","_from":"file:288-toolkit-html-parser-1.0.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/2cafd2680e95914e335ae0e27567d74a/288-toolkit-html-parser-1.0.1.tgz","_integrity":"sha512-YqCHkl04DfCW5j0EmL0zIr/stgggnX9O8mHlRtkZK/X1D9VbvEi0Q1Ff7AR1+xE736HbSFPKJ1P7AJPpqvboNQ==","_npmVersion":"10.5.0","description":"```sh npm i @288-toolkit/html-parser ```","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@288-toolkit/types":"3.0.0","@288-toolkit/strings":"^4.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/html-parser_1.0.1_1714577412070_0.5451301513086768","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@288-toolkit/html-parser","version":"1.0.2","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/html-parser@1.0.2","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"40c6633cd70224d4ed062acfc8ad0d6cc7a23c72","tarball":"https://registry.npmjs.org/@288-toolkit/html-parser/-/html-parser-1.0.2.tgz","fileCount":6,"integrity":"sha512-D4KmooahHjZairfnPWLmv1a4E1RCQJbR7B54yIV+rheSfRieeLO0k4AalSGpCdA4cqVcW1Vxp57dzE5AEA8E8A==","signatures":[{"sig":"MEUCIDzmOBnnP2yj/6Pc9Iro9KW7rRkUhPyJ9hZoaOkpk/AEAiEAm4H1wtG/Vy42PycnWrK158BHxBFuDg3RDtkG6RrQq9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5236},"type":"module","_from":"file:288-toolkit-html-parser-1.0.2.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/60fea0c5b7d867a529d789146a9021c4/288-toolkit-html-parser-1.0.2.tgz","_integrity":"sha512-D4KmooahHjZairfnPWLmv1a4E1RCQJbR7B54yIV+rheSfRieeLO0k4AalSGpCdA4cqVcW1Vxp57dzE5AEA8E8A==","_npmVersion":"10.5.2","description":"```sh npm i @288-toolkit/html-parser ```","directories":{},"_nodeVersion":"20.13.1","dependencies":{"@288-toolkit/types":"3.1.0","@288-toolkit/strings":"^4.2.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/html-parser_1.0.2_1715871154525_0.8387529629496451","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@288-toolkit/html-parser","version":"1.0.3","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/html-parser@1.0.3","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"7a497c04329879c16773e53a8fbbef34a94ed723","tarball":"https://registry.npmjs.org/@288-toolkit/html-parser/-/html-parser-1.0.3.tgz","fileCount":6,"integrity":"sha512-CNVmHM+LWYRk7zWS09B5iZlS2gXJgw6IuE8HkwUFwSGDoJZZeEGXV+ohvaN2xLlg6IlrNaj8psapR/Zavm6yOA==","signatures":[{"sig":"MEUCIQDJYdj33BdEjsbDGghYaayGHh4sLOUfT0uvJx+lriIJCQIgeZa3L9HhQ3APF/A6URg2tgdoWO4H0pIJjTHgJS3VGxU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5236},"type":"module","_from":"file:288-toolkit-html-parser-1.0.3.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/846797ec24841169d92d6ca156f088dd/288-toolkit-html-parser-1.0.3.tgz","_integrity":"sha512-CNVmHM+LWYRk7zWS09B5iZlS2gXJgw6IuE8HkwUFwSGDoJZZeEGXV+ohvaN2xLlg6IlrNaj8psapR/Zavm6yOA==","_npmVersion":"10.8.2","description":"```sh npm i @288-toolkit/html-parser ```","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@288-toolkit/types":"3.1.0","@288-toolkit/strings":"^4.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/html-parser_1.0.3_1738601271106_0.5965783061833647","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@288-toolkit/html-parser","version":"1.0.4","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/html-parser@1.0.4","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"b298d5d4e09e3c87d527ebb5341b8384fe496872","tarball":"https://registry.npmjs.org/@288-toolkit/html-parser/-/html-parser-1.0.4.tgz","fileCount":6,"integrity":"sha512-WN/dccTGtZUSb2Mdw2M18mqNvMl8jUKUsg7OVax+gUJwKiT0thYNNhXZu/yckAbbyAKFjoURjUHYU7pZqT47TA==","signatures":[{"sig":"MEUCIAmR3WfAgtzCGjZwKrbVixDbYhEtaqOIgtS4chYdDht+AiEAz8soHi7wu6nac93TTc4/orYbUFV2YMNjCD58mK9AVSI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5236},"type":"module","_from":"file:288-toolkit-html-parser-1.0.4.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/8c0627c163db4c641a7b9c4e03ac8868/288-toolkit-html-parser-1.0.4.tgz","_integrity":"sha512-WN/dccTGtZUSb2Mdw2M18mqNvMl8jUKUsg7OVax+gUJwKiT0thYNNhXZu/yckAbbyAKFjoURjUHYU7pZqT47TA==","_npmVersion":"10.8.2","description":"```sh npm i @288-toolkit/html-parser ```","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@288-toolkit/types":"3.1.0","@288-toolkit/strings":"^4.3.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/html-parser_1.0.4_1738679243562_0.6681827605124062","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-05-01T15:21:22.285Z","modified":"2025-09-23T15:34:40.176Z","1.0.0":"2024-05-01T15:21:22.535Z","1.0.1":"2024-05-01T15:30:12.238Z","1.0.2":"2024-05-16T14:52:34.668Z","1.0.3":"2025-02-03T16:47:51.342Z","1.0.4":"2025-02-04T14:27:23.721Z"},"author":{"name":"DeuxHuitHuit"},"license":"MIT","description":"```sh npm i @288-toolkit/html-parser ```","maintainers":[{"email":"open-source@deuxhuithuit.com","name":"nitriques"}],"readme":"# Html-parser\n\n```sh\nnpm i @288-toolkit/html-parser\n```\n\nA collection of functions to work with html strings.\n\n## `html()`\n\nProvides a simple way to manipulate HTML strings. It returns itself after each method call, so you\ncan chain them. You end the chain by calling the `toString()` method.\n\n```ts\nconst textWithOnlyBoldAndItalic = html(text)\n\t.newLinesToBr() // Converts line break characters to <br /> tags\n\t.removeEmptyTags() // Removes empty tags from the HTML string\n\t.stripTags(['strong', 'em']) // Removes all HTML tags from the string, except `strong` and `em`.\n\t.toString(); // Returns the processed HTML string\n```\n","readmeFilename":"README.md"}