{"_id":"@kaliber/html-to-portable-text","_rev":"37-96ca6ab0b2a147a7875b91d1ea86156c","name":"@kaliber/html-to-portable-text","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.0":{"name":"@kaliber/html-to-portable-text","version":"1.0.0","keywords":["sanity","sanity-plugin","portable-text"],"license":"MIT","_id":"@kaliber/html-to-portable-text@1.0.0","maintainers":[{"name":"melissabos18","email":"mbos@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"hjsielcken","email":"hsielcken@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"eecolor@gmail.com"},{"name":"pkuepers","email":"pkuepers@kaliber.net"},{"name":"larsvankleef","email":"spamlabtap@gmail.com"}],"dist":{"shasum":"28ca44e88c858fad0b2da29258ad47335b525dc0","tarball":"https://registry.npmjs.org/@kaliber/html-to-portable-text/-/html-to-portable-text-1.0.0.tgz","fileCount":7,"integrity":"sha512-jKgx+V+MlKbVHEpJXkxMklFi4nvABO94LvW7VXFCRQcO6yaltBCOIYAcxe7Tt3zvTRlCT7cr3eWBcss6dKxEVg==","signatures":[{"sig":"MEUCIFk4z/emlB29IJnG5GNoTJUtYP3od3FrJu7YLA2716gTAiEAvuBeZXHg0ci4/3uawdhHkLiuN/3ZHjN1+Ol6ZJcxtNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7809},"main":"index.js","private":false,"_npmUser":{"name":"jerryduijm","email":"jduijm@kaliber.net"},"repository":{"url":"https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"description":"A plugin for converting html to portableText","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 kaliber.js\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"dependencies":{"htmlparser2":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-portable-text_1.0.0_1690976541300_0.2177265828790571","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@kaliber/html-to-portable-text","version":"2.0.0","keywords":["sanity","sanity-plugin","portable-text"],"license":"MIT","_id":"@kaliber/html-to-portable-text@2.0.0","maintainers":[{"name":"melissabos18","email":"mbos@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"hjsielcken","email":"hsielcken@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"eecolor@gmail.com"},{"name":"pkuepers","email":"pkuepers@kaliber.net"},{"name":"larsvankleef","email":"spamlabtap@gmail.com"}],"dist":{"shasum":"b7d8faa4569e6e3c86b11d17aab517cf6e07708a","tarball":"https://registry.npmjs.org/@kaliber/html-to-portable-text/-/html-to-portable-text-2.0.0.tgz","fileCount":7,"integrity":"sha512-KyjOJdGqrXCVw0sSN2pQ8GGTvL2Ko5lOl2pN/J1N5Sh3ZoL8ktEFwhNUk2fpWP6uffTkZOVTiHs+COq5icuvcw==","signatures":[{"sig":"MEQCIGs/Jfb8/J+Imrebe3LDzyCQxA+GtOI+nIi/93JK3aMLAiB+yF6Ysep/pIQJJKIw+tBc449bPrkapy5Nz+wMIRLLUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8021},"main":"index.js","private":false,"scripts":{"test":"jest"},"_npmUser":{"name":"daveykropf","email":"davey@kaliber.net"},"repository":{"url":"https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"description":"A plugin for converting html to portableText","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 kaliber.js\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"dependencies":{"htmlparser2":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-portable-text_2.0.0_1702893868636_0.6843483354922819","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@kaliber/html-to-portable-text","version":"3.0.0","keywords":["sanity","sanity-plugin","portable-text"],"license":"MIT","_id":"@kaliber/html-to-portable-text@3.0.0","maintainers":[{"name":"melissabos18","email":"mbos@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"hjsielcken","email":"hsielcken@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"eecolor@gmail.com"},{"name":"pkuepers","email":"pkuepers@kaliber.net"},{"name":"larsvankleef","email":"spamlabtap@gmail.com"}],"dist":{"shasum":"600e2541fa030615c05984244cbba3dc95a05305","tarball":"https://registry.npmjs.org/@kaliber/html-to-portable-text/-/html-to-portable-text-3.0.0.tgz","fileCount":7,"integrity":"sha512-Ac2VNvQ1NTQG1hh1qlMTQF8ub9Gc3ak0HMqOMNfjzfD7XmvX9yB59CeBYc4tfiKoatCmr33Sdr96KGJBKO/8pQ==","signatures":[{"sig":"MEUCIFlQIKHgrjzwOE5mctoaOOHSH71TYW4uw4fijI5mTVXlAiEA9WsD3h+pxtM2FZcY6i65QsuDJKozXACMt/wr5CTvRVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8021},"main":"index.js","private":false,"scripts":{"test":"jest"},"_npmUser":{"name":"eecolor","email":"eecolor@gmail.com"},"repository":{"url":"https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"description":"A plugin for converting html to portableText","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 kaliber.js\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"dependencies":{"htmlparser2":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-portable-text_3.0.0_1702983411224_0.21764301623493942","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@kaliber/html-to-portable-text","version":"3.0.1","keywords":["sanity","sanity-plugin","portable-text"],"license":"MIT","_id":"@kaliber/html-to-portable-text@3.0.1","maintainers":[{"name":"melissabos18","email":"mbos@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"hjsielcken","email":"hsielcken@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"eecolor@gmail.com"},{"name":"pkuepers","email":"pkuepers@kaliber.net"},{"name":"larsvankleef","email":"spamlabtap@gmail.com"}],"dist":{"shasum":"7e3f3ca0515979fb39fbe410a6cff6ee1e256730","tarball":"https://registry.npmjs.org/@kaliber/html-to-portable-text/-/html-to-portable-text-3.0.1.tgz","fileCount":7,"integrity":"sha512-k2IunSHcMPrPwQ7vUT/6mdJP6bFm820dRkhIt+1DK2T8Zj+/YSC3AoE8rI5Fn6C61WeQuxGE8vho8tzZpPgQTw==","signatures":[{"sig":"MEQCIAPo4ahBzeou2sHTf1U9B9DUiIdeHEn+brGxwdUjrRVDAiBCar83AnMtX9KdGBhWq5XqB4msl4nAQxK8ABIAn6GEAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8176},"main":"index.js","private":false,"scripts":{"test":"jest"},"_npmUser":{"name":"eecolor","email":"eecolor@gmail.com"},"repository":{"url":"https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"description":"A plugin for converting html to portableText","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 kaliber.js\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"dependencies":{"htmlparser2":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-portable-text_3.0.1_1702986342577_0.0247126361285277","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@kaliber/html-to-portable-text","version":"3.0.2","keywords":["sanity","sanity-plugin","portable-text"],"license":"MIT","_id":"@kaliber/html-to-portable-text@3.0.2","maintainers":[{"name":"melissabos18","email":"mbos@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"hjsielcken","email":"hsielcken@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"eecolor@gmail.com"},{"name":"pkuepers","email":"pkuepers@kaliber.net"},{"name":"larsvankleef","email":"spamlabtap@gmail.com"}],"dist":{"shasum":"b65ae74c688eb307f7f5d3f2f49c19cf81f58967","tarball":"https://registry.npmjs.org/@kaliber/html-to-portable-text/-/html-to-portable-text-3.0.2.tgz","fileCount":7,"integrity":"sha512-0PofZVnmEonfdJ5N3/fyqsVTi2TzMpOxCwde4fUtFFvIuT2R339IW0NhUpHea2SCBE/LThtk8RztLUNHskGTgw==","signatures":[{"sig":"MEYCIQD74Z/HAdfiVHdOz/kPez90xq3yqJ8GjV1kJWxtM7mbNQIhANDbB6Xz4PutyrJ8hxJH8s8aNiMkbdGUUcCM/O2dJEyr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8197},"main":"index.js","private":false,"scripts":{"test":"jest"},"_npmUser":{"name":"eecolor","email":"eecolor@gmail.com"},"repository":{"url":"https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"description":"A plugin for converting html to portableText","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 kaliber.js\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"dependencies":{"htmlparser2":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-portable-text_3.0.2_1702993071604_0.5379311576135042","host":"s3://npm-registry-packages"}},"3.0.3":{"_id":"@kaliber/html-to-portable-text@3.0.3","bugs":{"url":"https://github.com/kaliberjs/html-to-portable-text/issues"},"dist":{"shasum":"577fd3b4d7e0281409fb4041bf448e429843b5a9","tarball":"https://registry.npmjs.org/@kaliber/html-to-portable-text/-/html-to-portable-text-3.0.3.tgz","fileCount":5,"integrity":"sha512-sQS0XFCH8liTr+ytCg9tJtXoJc3JWnvwQbvQWZvWclRv9VB70ZMfL97xXB22IAoTygQFSanKYDg7nucY305crg==","signatures":[{"sig":"MEQCIEgsq34/8pR6cBM5X234FT3lj7ksJLK+/VhySg2E+YlLAiAEPpAFHKGOIYPOeFTi+v0ECEGiwYgXZU7kW3recXnYYA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH3K99fCAYw/1EKfZ3snVQmED30lMvl3nB3/W5qjVCU5AiBkb10qfDq1kmMkeRFpPTeDj+aoGofXRTQTU8Go0Rut0w=="}],"unpackedSize":8195},"main":"index.js","name":"@kaliber/html-to-portable-text","gitHead":"cbb541208b726e8fcb03779086031e597010196d","license":"MIT","private":false,"scripts":{"test":"node --test"},"version":"3.0.3","_npmUser":{"name":"eecolor","email":"ewestra@kaliber.net"},"homepage":"https://github.com/kaliberjs/html-to-portable-text#readme","keywords":["sanity","sanity-plugin","portable-text"],"repository":{"url":"git+https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"_npmVersion":"10.9.8","description":"A plugin for converting html to portableText","directories":{},"maintainers":[{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"ewestra@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"nhoenderop","email":"nhoenderop@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"mvanbrakel","email":"mvanbrakel@kaliber.net"},{"name":"r0h-oh","email":"Rvanschaik@kaliber.net"},{"name":"1cln","email":"claan@kaliber.net"},{"name":"maart-22","email":"mreimus@kaliber.net"},{"name":"yoreljenkins","email":"ldavidsondescelles@kaliber.net"},{"name":"mdevalk1983","email":"mdevalk@kaliber.net"},{"name":"guido.evertzen","email":"guido.evertzen@gmail.com"},{"name":"svroom-kaliber","email":"svroom@kaliber.net"},{"name":"tomharms","email":"tomharms93@proton.me"},{"name":"rinus.vh","email":"rinus.vh@hotmail.com"},{"name":"pgoddijn","email":"pgoddijn@gmail.com"},{"name":"jvankralingen","email":"jvankralingen@kaliber.net"}],"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"htmlparser2":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/html-to-portable-text_3.0.3_1790855675220_0.7870875201411678"}}},"time":{"created":"2023-08-02T11:42:21.249Z","modified":"2026-10-01T11:54:35.518Z","1.0.0":"2023-08-02T11:42:21.463Z","2.0.0":"2023-12-18T10:04:28.823Z","3.0.0":"2023-12-19T10:56:51.455Z","3.0.1":"2023-12-19T11:45:42.739Z","3.0.2":"2023-12-19T13:37:51.850Z","3.0.3":"2026-10-01T11:54:35.319Z"},"license":"MIT","keywords":["sanity","sanity-plugin","portable-text"],"repository":{"url":"git+https://github.com/kaliberjs/html-to-portable-text.git","type":"git"},"description":"A plugin for converting html to portableText","maintainers":[{"name":"daveykropf","email":"davey@kaliber.net"},{"name":"eecolor","email":"ewestra@kaliber.net"},{"name":"jerryduijm","email":"jduijm@kaliber.net"},{"name":"kaliber-owner","email":"development@kaliber.net"},{"name":"nhoenderop","email":"nhoenderop@kaliber.net"},{"name":"janbru","email":"jbrunemann@kaliber.net"},{"name":"albertkaliber","email":"asmit@kaliber.net"},{"name":"mvanbrakel","email":"mvanbrakel@kaliber.net"},{"name":"r0h-oh","email":"Rvanschaik@kaliber.net"},{"name":"1cln","email":"claan@kaliber.net"},{"name":"maart-22","email":"mreimus@kaliber.net"},{"name":"yoreljenkins","email":"ldavidsondescelles@kaliber.net"},{"name":"mdevalk1983","email":"mdevalk@kaliber.net"},{"name":"guido.evertzen","email":"guido.evertzen@gmail.com"},{"name":"svroom-kaliber","email":"svroom@kaliber.net"},{"name":"tomharms","email":"tomharms93@proton.me"},{"name":"rinus.vh","email":"rinus.vh@hotmail.com"},{"name":"pgoddijn","email":"pgoddijn@gmail.com"},{"name":"jvankralingen","email":"jvankralingen@kaliber.net"}],"readme":"# Kaliber HTML to portableText plugin\nA plugin for converting html to portableText\n\n## Usage\n`htmlToPortableText(html, overrides = {})`\n\n```js\nconst htmlToPortableText = require('@kaliber/html-to-portable-text')\n\nconst portableText = processHTML('<p><h1>This</strong><em>is HTML</em></p>')\n\nfunction processHTML(html) {\n  return removeUndefinedValues(htmlToPortableText(html, { h1: 'heading', h2: 'subheading' }))\n}\n\nfunction removeUndefinedValues(o) {\n  return JSON.parse(JSON.stringify(o))\n}\n```\n\n## Development\n\n```\n> yarn\n> yarn link\n> yarn watch\n```\n\n```\nyarn link @kaliber/html-to-portable-text\n```\n\n## Publish\n\n```\nyarn publish\ngit push\ngit push --tags\n```\n---\n![](https://media.giphy.com/media/C6JQPEUsZUyVq/giphy.gif)\n\n## Disclaimer\nThis library is intended for internal use, we provide __no__ support, use at your own risk. It does not import React, but expects it to be provided, which [@kaliber/build](https://kaliberjs.github.io/build/) can handle for you.\n\nThis library is not transpiled.\n","readmeFilename":"readme.md","homepage":"https://github.com/kaliberjs/html-to-portable-text#readme","bugs":{"url":"https://github.com/kaliberjs/html-to-portable-text/issues"}}