{"_id":"html-to-gutenberg","_rev":"217-39166dbca306cea3f3c40516459de675","name":"html-to-gutenberg","dist-tags":{"latest":"4.2.13"},"versions":{"4.2.1":{"name":"html-to-gutenberg","version":"4.2.1","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.1","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"4d86c9e146557d4e625cb3cfeaa6ba518a4980a7","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.1.tgz","fileCount":8,"integrity":"sha512-irHm/1SC1h6ITTm+fQakc3UaBfh4REapFZOD+UMwKl0fLs5VBJZJRO/PPZMitvBgZxdq9izUqIs4JmUFJ36PJQ==","signatures":[{"sig":"MEQCIFqfYfO5LNIyElprsG/o1iRUeQFhJd7OXpxi9d8EDbSGAiBvlUaHr/oLoAcrh5R8mt33LPdDBvUkIpnjFXCbOkhWyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89736},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"8f70557fe75639e3961c88c7063dc36b157df372","scripts":{"test":"jest"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"8.19.4","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"16.20.2","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.0","@svgr/core":"^8.1.0","@babel/core":"^7.27.4","css-scoping":"^1.0.0","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.2","fetch-page-assets":"^1.2.0","@babel/preset-react":"^7.27.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/cheerio":"^1.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.1_1752195462878_0.4148246100795774","host":"s3://npm-registry-packages-npm-production"}},"4.2.2":{"name":"html-to-gutenberg","version":"4.2.2","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.2","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"f5696997fb9faef01e6c35a02c75d0a596fa8d67","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.2.tgz","fileCount":8,"integrity":"sha512-p0jH1k8IQ0dvhBo0aY5E87WwoJVaTmcrYqU1f11c8RcOJQY41NEju0DOY2YLGU9KT8yvRB9Ec6AKZTL3Ke14HQ==","signatures":[{"sig":"MEYCIQDxsbA+MhC0wbjn0YGz/dDwXQoLJJFPPE5rRYDSeLdCNwIhANg5S/2NYVn/1uZkEp84K3NHzDTwo8GDu6eDp5qnyg/N","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89736},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"513e94d49e4631f7e76fdf4aef2b0a4e82e0943e","scripts":{"test":"jest"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"22.8.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.0","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.5","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/cheerio":"^1.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.2_1762553768959_0.8630002612587535","host":"s3://npm-registry-packages-npm-production"}},"4.2.3":{"name":"html-to-gutenberg","version":"4.2.3","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.3","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"e57798ce7594459318f03fcf01f250aecf197613","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.3.tgz","fileCount":8,"integrity":"sha512-SrV07Bt40mIvOE/ZW6x/OK9g2Tir5uNjZajCHY4YCN/yXjKxOof5yeS/ToHY1btlAgc/kcAF8M1WEeuA0Rti9Q==","signatures":[{"sig":"MEUCIQC1j6F6NrKpjc4kTBcqR87eJSmgJa5X1FEOhcRhGe9fpQIgP7C+Ih/KDIVVHxKXneDj8NTbZhxPTLUOqwyN8iRrPlY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89938},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"513e94d49e4631f7e76fdf4aef2b0a4e82e0943e","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.9.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"23.10.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.0","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.5","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/svgo":"^3.0.0","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.3_1762619875168_0.44865541624144756","host":"s3://npm-registry-packages-npm-production"}},"4.2.4":{"name":"html-to-gutenberg","version":"4.2.4","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.4","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"c31838e077639dd76cbfd3ebafbec735a44fc670","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.4.tgz","fileCount":8,"integrity":"sha512-SbcuObEkjkYRclJBrcJSAvT1Y/60CMtzdR2AjIHHrDWPlvcALfJABTvpWYt6HZWWup+X0Snv93oxspXjEHAWZg==","signatures":[{"sig":"MEYCIQDFOHX4iylZuw+R1LZZW+7CdywCzEvjXrJhDBjSjNx9nQIhAJYGc7OJjwO4xJbggQsVDYQv6b5as+lRpW6JKQHYmooh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90021},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"513e94d49e4631f7e76fdf4aef2b0a4e82e0943e","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.9.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"23.10.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.0","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.5","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/svgo":"^3.0.0","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.4_1762620319059_0.639934727964899","host":"s3://npm-registry-packages-npm-production"}},"4.2.5":{"name":"html-to-gutenberg","version":"4.2.5","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.5","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"9e1834eec31219e7e8417ad4a19688281af1f8c3","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.5.tgz","fileCount":8,"integrity":"sha512-rzoDyD29wn9PJLBg0sD+LKAZwv/ZEu2HlfPkBk0USDgPuJXGJeoxShA/vXPdtlOJ0w2L0eEZmJ0jHsap/I3q4g==","signatures":[{"sig":"MEQCIBjdinScrPRuU2iHOslJrQy3ms4Eb5Pyz4bMMs0rg1V3AiBLuS4k4wKYTeg/D5/SkdZTd6lnCvR2ddIqlsmpGilASA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88287},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"513e94d49e4631f7e76fdf4aef2b0a4e82e0943e","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"22.8.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.1","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.5","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/svgo":"^3.0.0","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.5_1763171073287_0.7129887446242291","host":"s3://npm-registry-packages-npm-production"}},"4.2.6":{"name":"html-to-gutenberg","version":"4.2.6","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.6","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"448c9db7ff7bafb9622c942edd53a30d5e35b503","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.6.tgz","fileCount":8,"integrity":"sha512-0D6+H8iED/LMTbY1MfJy9+J7gdrDaejNjJwrsWYe4TPTXOhQg+w2LmxCuR14iEidy1ytEE1xJZk1VNk0kyXM1A==","signatures":[{"sig":"MEQCIEZOoqCF6voGrRjDTFRIhNDhViQnnNLRBA/CF5Ea6wCZAiAHNhzZkKp7tztn9At3GgZpUQB/A1itxhFUauXRck/Ykg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88287},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"2844e67a84ebdc86f48f070143025ab2bcbcd220","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"22.8.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.1","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.6","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/svgo":"^3.0.0","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.6_1763275210074_0.2701156607240367","host":"s3://npm-registry-packages-npm-production"}},"4.2.7":{"name":"html-to-gutenberg","version":"4.2.7","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.7","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"89685161432e6e9e8472f008742d14d484a44e27","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.7.tgz","fileCount":8,"integrity":"sha512-4cG4RLLQbMIDPqoS/9C1DodhiCLUZVkYtb55nkZknyJpFFfszkxv8TICGDx7B+y3z6CwMevFIFgK8nYODAut/A==","signatures":[{"sig":"MEUCIQCXnNm9f82hzBw9HRmosqxnWkzNmE9sCsFgOX9zQktJFQIgRpg/MxgIR2jvKRNBFuglzGRNuZiWLX2dIFXHZQTDNnA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104414},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"2844e67a84ebdc86f48f070143025ab2bcbcd220","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"22.8.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.1","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.6","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/svgo":"^3.0.0","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.7_1763276699357_0.22977674949631632","host":"s3://npm-registry-packages-npm-production"}},"4.2.8":{"name":"html-to-gutenberg","version":"4.2.8","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.8","maintainers":[{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"dist":{"shasum":"102623c7835a7534f3fa39d823e266a7826a2c60","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.8.tgz","fileCount":8,"integrity":"sha512-NopMwT9ulfOttOvbjhA/xFG1bUU3rLo95z/KZQ3sPYQbjAikp62Cpuiq48OefMW/Xnme0MDInFO0T4pE/VvCXw==","signatures":[{"sig":"MEUCIBV+SJ0Ymsx34D9OAiwZ3c7ZqiefKzoNi0xZYgmW8ef7AiEAyXaXsfIDzxW9Rw5FN5TRvXMHUSc7QrosparS6MOhp3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104453},"main":"index.js","type":"module","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"e4d44e2ed40cdd4a53521edac1527dd6a1ee8e28","scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"diogoangelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"22.8.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","cheerio":"^1.1.2","@svgr/core":"^8.1.0","@babel/core":"^7.28.5","css-scoping":"^1.0.1","image-to-base64":"^2.2.0","html-screenshots":"^1.2.7","node-html-to-jsx":"^1.3.7","fetch-page-assets":"^1.2.6","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/svgo":"^3.0.0","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","@types/babel__core":"^7.20.5","@types/image-to-base64":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.8_1763277150051_0.5749389426409113","host":"s3://npm-registry-packages-npm-production"}},"4.2.9":{"name":"html-to-gutenberg","version":"4.2.9","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.9","maintainers":[{"name":"digelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"nyc":{"all":true,"exclude":["coverage"],"include":["src/*.ts","src/**/*.ts"],"require":["ts-node/register"],"reporter":["lcov","text"],"extension":[".ts",".js"],"sourceMap":true,"instrument":true},"dist":{"shasum":"a5d7c5c9a285ceac55de5f7b81b7a3e13ed79a00","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.9.tgz","fileCount":54,"integrity":"sha512-tZ0MuzlK3aznQlz8KiANh0B0C/7tbbFqaZ8virtpYHck3Gb28mrmGm39jjHK17m8VV/5BzBQajyO38hnP3V2pg==","signatures":[{"sig":"MEUCID3o2gnLXnSWisj2H6e/+2LIctZRLt1XfFWUygxn6ThMAiEA24libbJcUjxp8Lqo1eyMoZIBWs8q2OjzwPSZXdtcTTY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":267826},"jest":{"preset":"ts-jest/presets/js-with-ts","globals":{"ts-jest":{"useESM":true,"tsconfig":"tsconfig.json"}},"testMatch":["<rootDir>/dist/*.test.js"],"transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":true}]},"collectCoverage":true,"testEnvironment":"node","moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"collectCoverageFrom":["dist/*.js","!dist/*.test.js"],"extensionsToTreatAsEsm":[".ts"]},"main":"index.js","types":"index.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"fd3f6a11bdd833eb7d995924b0caaed94b284bdf","scripts":{"test":"mocha -r ts-node/register index.test.ts","build":"tsc","coverage":"nyc mocha -r ts-node/register index.test.ts","coveralls":"nyc mocha -r ts-node/register index.test.ts && nyc report --reporter=lcov && cat coverage/lcov.info | coveralls","postinstall":"mv ./node_modules/fetch-page-assets/index.ts ./node_modules/fetch-page-assets/index.ts.bak || true"},"_npmUser":{"name":"digelim","email":"iamdiogoangelim@gmail.com"},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"20.19.6","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","dotenv":"^17.3.1","cheerio":"^1.2.0","@svgr/core":"^8.1.0","node-fetch":"^3.3.2","@babel/core":"^7.29.0","css-scoping":"^1.0.5","node-html-to-jsx":"^1.4.4","fetch-page-assets":"^1.2.7","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^18.0.0","chai":"^6.2.2","mocha":"^11.3.0","eslint":"^10.0.2","ts-jest":"^29.4.6","ts-node":"^10.9.2","coveralls":"^3.1.1","@eslint/js":"^10.0.1","@types/chai":"^5.2.3","@types/svgo":"^3.0.0","@types/mocha":"^10.0.10","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","typescript-eslint":"^8.56.1","@types/babel__core":"^7.20.5","source-map-support":"^0.5.21","@types/image-to-base64":"^2.1.2","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.9_1772145239911_0.9907642771637577","host":"s3://npm-registry-packages-npm-production"}},"4.2.10":{"name":"html-to-gutenberg","version":"4.2.10","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.10","maintainers":[{"name":"digelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"c8":{"all":true,"exclude":["coverage","dist","node_modules","scripts","**/*.test.ts"],"include":["index.js","utils.ts","globals.js","vendor/fetch-page-assets/index.js"],"reporter":["text","lcov"]},"dist":{"shasum":"5e8a1f5f790b4444a67b78670d910efd63339ec3","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.10.tgz","fileCount":63,"integrity":"sha512-1sR8zr/BsGMKEAsHjSsnrfi3EJttV1n7TYFAp69lUAi3qD0v56IcbfTC1s735ExgTPM+SIwdsjc+p8FOakpxRQ==","signatures":[{"sig":"MEUCIFLnPSenDw2D0vFgOYzSx6XK7yHeD8Tl/sdw2I+y27eJAiEAunROcHR2iq0Wx1gKq8F808BowcKcp5RNV/GmVUkqvfs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/html-to-gutenberg@4.2.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":353940},"jest":{"preset":"ts-jest/presets/js-with-ts","globals":{"ts-jest":{"useESM":true,"tsconfig":"tsconfig.json"}},"testMatch":["<rootDir>/dist/*.test.js"],"transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":true}]},"collectCoverage":true,"testEnvironment":"node","moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"collectCoverageFrom":["dist/*.js","!dist/*.test.js"],"extensionsToTreatAsEsm":[".ts"]},"main":"index.js","types":"index.d.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"ace8af5c6b94787794b4074994ebdedf67a2a768","scripts":{"test":"mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts","build":"tsc","coverage":"c8 mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts","coveralls":"c8 mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts && c8 report --reporter=lcov && cat coverage/lcov.info | coveralls","postinstall":"mv ./node_modules/fetch-page-assets/index.ts ./node_modules/fetch-page-assets/index.ts.bak || true && node ./scripts/patch-fetch-page-assets.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3750e058-5e79-4598-9da6-95836657b672"}},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"11.9.0","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"24.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","jszip":"^3.10.1","dotenv":"^17.3.1","cheerio":"^1.2.0","@svgr/core":"^8.1.0","mime-types":"^3.0.1","node-fetch":"^3.3.2","@babel/core":"^7.29.0","css-scoping":"^1.0.5","node-html-to-jsx":"^1.4.4","fetch-page-assets":"^1.2.7","@aws-sdk/client-s3":"^3.888.0","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","nyc":"^18.0.0","chai":"^6.2.2","mocha":"^11.3.0","eslint":"^10.0.2","ts-jest":"^29.4.6","ts-node":"^10.9.2","coveralls":"^3.1.1","@eslint/js":"^10.0.1","@types/chai":"^5.2.3","@types/svgo":"^3.0.0","@types/mocha":"^10.0.10","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","typescript-eslint":"^8.56.1","@types/babel__core":"^7.20.5","source-map-support":"^0.5.21","@types/image-to-base64":"^2.1.2","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.10_1774758517677_0.9256160734372343","host":"s3://npm-registry-packages-npm-production"}},"4.2.12":{"name":"html-to-gutenberg","version":"4.2.12","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","_id":"html-to-gutenberg@4.2.12","maintainers":[{"name":"digelim","email":"iamdiogoangelim@gmail.com"}],"homepage":"https://www.html-to-gutenberg.io","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"c8":{"all":true,"exclude":["coverage","dist","node_modules","scripts","**/*.test.ts"],"include":["index.js","utils.ts","globals.js","vendor/fetch-page-assets/index.js"],"reporter":["text","lcov"]},"dist":{"shasum":"5f7ed9ca8ed36f117469678ac70f547f40a8eea6","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.12.tgz","fileCount":68,"integrity":"sha512-9vwQzOuI8gwtbcI7/mYJHeNOm3lzJgswAJoZu9PgI30/u/J6YipSdlhxwV0pJJbdO/ks/AmQlM5vPq8C3MHRqw==","signatures":[{"sig":"MEUCIFk3qrw/l24rMuWPuq6vr8GQ+MeJ4T+TcGQvsDiXvpfwAiEA0MK/z+m0gFJjQbMVSlTI5pOWKMQa3V+J6C6XIlAhEyo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/html-to-gutenberg@4.2.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":357336},"jest":{"preset":"ts-jest/presets/js-with-ts","globals":{"ts-jest":{"useESM":true,"tsconfig":"tsconfig.json"}},"testMatch":["<rootDir>/dist/*.test.js"],"transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":true}]},"collectCoverage":true,"testEnvironment":"node","moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"collectCoverageFrom":["dist/*.js","!dist/*.test.js"],"extensionsToTreatAsEsm":[".ts"]},"main":"index.js","types":"index.d.ts","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","gitHead":"ff6829fe150b058cc3cc543ca2f7feb93392e48f","scripts":{"test":"mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts","build":"tsc","coverage":"c8 mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts","coveralls":"c8 mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts && c8 report --reporter=lcov && cat coverage/lcov.info | coveralls","postinstall":"mv ./node_modules/fetch-page-assets/index.ts ./node_modules/fetch-page-assets/index.ts.bak || true && node ./scripts/patch-fetch-page-assets.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3750e058-5e79-4598-9da6-95836657b672"}},"repository":{"url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git","type":"git"},"_npmVersion":"11.16.0","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","directories":{"test":"test"},"_nodeVersion":"24.18.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","jszip":"^3.10.1","dotenv":"^17.3.1","cheerio":"^1.2.0","@svgr/core":"^8.1.0","mime-types":"^3.0.1","node-fetch":"^3.3.2","@babel/core":"^7.29.0","css-scoping":"^1.0.5","node-html-to-jsx":"^1.4.4","fetch-page-assets":"^1.2.7","@aws-sdk/client-s3":"^3.888.0","@babel/preset-react":"^7.28.5"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","nyc":"^18.0.0","chai":"^6.2.2","mocha":"^11.3.0","eslint":"^10.0.2","ts-jest":"^29.4.6","ts-node":"^10.9.2","coveralls":"^3.1.1","@eslint/js":"^10.0.1","@types/chai":"^5.2.3","@types/svgo":"^3.0.0","@types/mocha":"^10.0.10","@types/cheerio":"^1.0.0","@types/beautify":"^0.0.3","@types/prettier":"^3.0.0","typescript-eslint":"^8.56.1","@types/babel__core":"^7.20.5","source-map-support":"^0.5.21","@types/image-to-base64":"^2.1.2","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/html-to-gutenberg_4.2.12_1784102296243_0.37334652507454447","host":"s3://npm-registry-packages-npm-production"}},"4.2.13":{"dependencies":{"@aws-sdk/client-s3":"^3.888.0","@babel/core":"^7.29.0","@babel/preset-react":"^7.28.5","@svgr/core":"^8.1.0","cheerio":"^1.2.0","css-scoping":"^1.0.5","dotenv":"^17.3.1","fetch-page-assets":"^1.2.7","fs":"^0.0.1-security","jszip":"^3.10.1","mime-types":"^3.0.1","node-fetch":"^3.3.2","node-html-to-jsx":"^1.4.4","path":"^0.12.7"},"devDependencies":{"@eslint/js":"^10.0.1","@types/babel__core":"^7.20.5","@types/beautify":"^0.0.3","@types/chai":"^5.2.3","@types/cheerio":"^1.0.0","@types/image-to-base64":"^2.1.2","@types/mocha":"^10.0.10","@types/prettier":"^3.0.0","@types/svgo":"^3.0.0","@typescript-eslint/eslint-plugin":"^8.56.1","@typescript-eslint/parser":"^8.56.1","chai":"^6.2.2","c8":"^11.0.0","coveralls":"^3.1.1","eslint":"^10.0.2","mocha":"^11.3.0","nyc":"^18.0.0","source-map-support":"^0.5.21","ts-jest":"^29.4.6","ts-node":"^10.9.2","typescript-eslint":"^8.56.1"},"types":"index.d.ts","name":"html-to-gutenberg","version":"4.2.13","description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","main":"index.js","directories":{"test":"test"},"scripts":{"postinstall":"mv ./node_modules/fetch-page-assets/index.ts ./node_modules/fetch-page-assets/index.ts.bak || true && node ./scripts/patch-fetch-page-assets.mjs","test":"mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts","build":"tsc","coverage":"c8 mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts","coveralls":"c8 mocha -r ts-node/register/transpile-only index.test.ts fetch-page-assets.test.ts && c8 report --reporter=lcov && cat coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git"},"keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"author":{"name":"Diogo Angelim"},"license":"MIT","funding":"https://www.paypal.com/donate/?hosted_button_id=XA5LN4XR39PMQ","bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"homepage":"https://www.html-to-gutenberg.io","c8":{"reporter":["text","lcov"],"include":["index.js","utils.ts","globals.js","vendor/fetch-page-assets/index.js"],"exclude":["coverage","dist","node_modules","scripts","**/*.test.ts"],"all":true},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node","extensionsToTreatAsEsm":[".ts"],"transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":true}]},"globals":{"ts-jest":{"tsconfig":"tsconfig.json","useESM":true}},"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"collectCoverage":true,"collectCoverageFrom":["dist/*.js","!dist/*.test.js"],"testMatch":["<rootDir>/dist/*.test.js"]},"gitHead":"a7f212f8b323325dd47710285a6634cc1d34fec1","_id":"html-to-gutenberg@4.2.13","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-8Z/oH1SPNxTOEOJWifOpSkHZrPlEzAeTTlTfqT9HfINwd920tupJBg/UNqbi/lih3qMVop2zDDmTQLCsgz7uLA==","shasum":"2c8cc528ab78e43a8f33d24723e5a23057972459","tarball":"https://registry.npmjs.org/html-to-gutenberg/-/html-to-gutenberg-4.2.13.tgz","fileCount":68,"unpackedSize":357336,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/html-to-gutenberg@4.2.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF8WFtSU887tzrv1iwerW3fOtVb9IJB4BAxIJHenky/0AiEAyVE12v1S+Ysyvsl9sHHEeCa2K20fgpWL+t2Pt7IbOhU="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3750e058-5e79-4598-9da6-95836657b672"}},"maintainers":[{"name":"digelim","email":"iamdiogoangelim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/html-to-gutenberg_4.2.13_1784157685038_0.3053872289087918"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-11T00:57:42.876Z","modified":"2026-07-15T23:21:25.608Z","1.0.0":"2024-06-16T00:05:06.357Z","1.0.1":"2024-06-16T00:06:49.537Z","1.0.2":"2024-06-18T18:19:29.517Z","1.0.3":"2024-06-19T10:14:14.994Z","1.0.4":"2024-06-19T16:14:38.272Z","1.0.5":"2024-08-22T18:42:21.333Z","1.0.6":"2024-08-22T20:48:36.443Z","1.0.7":"2024-08-22T20:56:00.787Z","1.0.8":"2024-08-22T20:59:34.180Z","1.0.9":"2024-08-22T21:27:26.671Z","1.1.0":"2024-08-22T22:36:23.414Z","1.1.1":"2024-08-22T22:39:21.957Z","1.1.2":"2024-08-22T23:06:40.754Z","1.1.3":"2024-08-22T23:07:49.660Z","1.1.4":"2024-08-22T23:20:29.581Z","1.1.5":"2024-08-22T23:29:48.429Z","1.1.6":"2024-08-22T23:35:45.016Z","1.1.7":"2024-08-23T00:14:38.802Z","1.1.8":"2024-08-23T02:39:45.973Z","1.1.9":"2024-08-23T18:07:40.738Z","1.2.0":"2024-08-23T19:41:26.757Z","1.2.1":"2024-08-23T19:46:59.325Z","1.2.2":"2024-08-23T19:52:21.013Z","1.2.3":"2024-08-23T20:30:13.834Z","1.2.4":"2024-08-24T08:50:40.100Z","1.2.5":"2024-08-24T09:21:11.534Z","1.2.6":"2024-08-24T12:50:01.184Z","1.2.7":"2024-08-24T15:39:51.041Z","1.2.8":"2024-08-24T16:18:17.845Z","1.2.9":"2024-08-24T16:37:07.922Z","1.3.0":"2024-08-24T16:42:46.958Z","1.3.1":"2024-08-24T16:51:49.680Z","1.3.3":"2024-08-27T14:11:55.090Z","1.3.4":"2024-08-27T16:15:10.852Z","1.3.5":"2024-08-27T19:49:14.700Z","1.3.6":"2024-08-27T22:01:28.479Z","1.3.7":"2024-08-27T22:36:04.989Z","1.3.8":"2024-08-27T22:58:09.289Z","1.3.9":"2024-08-27T23:19:19.682Z","1.4.0":"2024-08-28T18:49:40.834Z","1.4.1":"2024-08-28T19:07:37.012Z","1.4.2":"2024-08-28T22:53:33.917Z","1.4.3":"2024-08-28T22:58:25.790Z","1.4.4":"2024-08-28T22:59:57.525Z","1.4.5":"2024-08-28T23:37:31.466Z","1.4.6":"2024-08-28T23:39:57.632Z","1.4.7":"2024-08-28T23:53:36.383Z","1.4.8":"2024-08-29T00:27:50.509Z","1.4.9":"2024-08-29T00:46:04.558Z","1.5.0":"2024-08-29T15:08:45.604Z","1.5.1":"2024-08-29T17:54:58.641Z","1.5.2":"2024-08-29T18:03:09.446Z","1.5.3":"2024-08-29T18:04:50.040Z","1.5.4":"2024-08-29T21:42:38.598Z","1.5.5":"2024-08-29T21:46:36.185Z","1.5.6":"2024-08-29T22:18:17.388Z","1.5.7":"2024-08-29T22:49:10.638Z","1.5.8":"2024-08-30T00:10:43.422Z","1.5.9":"2024-08-30T00:25:10.745Z","1.6.0":"2024-08-30T16:28:49.326Z","1.6.1":"2024-08-30T20:57:56.089Z","1.6.2":"2024-08-30T21:09:40.751Z","1.6.3":"2024-08-30T21:20:14.448Z","1.6.4":"2024-08-30T21:21:57.245Z","1.6.5":"2024-08-30T21:23:20.565Z","1.6.6":"2024-08-30T21:43:41.482Z","1.6.7":"2024-08-30T21:59:44.635Z","1.6.8":"2024-08-30T22:05:48.300Z","1.6.9":"2024-08-30T22:40:33.248Z","1.7.0":"2024-08-30T22:48:44.101Z","1.7.1":"2024-08-30T23:33:29.506Z","1.7.2":"2024-08-31T00:14:09.527Z","1.7.3":"2024-08-31T01:06:08.194Z","1.7.4":"2024-08-31T01:21:05.408Z","1.7.6":"2024-08-31T02:20:39.410Z","1.7.7":"2024-08-31T02:35:43.176Z","1.7.8":"2024-08-31T02:54:54.156Z","1.7.9":"2024-08-31T03:15:52.790Z","1.8.0":"2024-08-31T03:26:43.137Z","1.8.1":"2024-08-31T03:31:45.598Z","1.8.2":"2024-08-31T03:38:37.694Z","1.8.3":"2024-08-31T04:03:42.915Z","1.8.4":"2024-08-31T04:24:23.422Z","1.8.5":"2024-08-31T04:43:52.987Z","1.8.6":"2024-08-31T05:04:56.483Z","1.8.7":"2024-09-02T12:54:21.230Z","1.8.8":"2024-09-02T12:57:37.673Z","1.8.9":"2024-09-10T04:18:29.863Z","1.9.0":"2024-09-10T04:21:38.726Z","1.9.1":"2024-09-10T04:29:05.356Z","1.9.2":"2024-09-10T04:33:16.537Z","1.9.3":"2024-09-10T04:34:13.446Z","1.9.4":"2024-09-10T04:41:23.532Z","1.9.5":"2024-09-10T04:48:46.378Z","1.9.6":"2024-09-10T05:34:37.832Z","1.9.7":"2024-09-10T06:07:14.155Z","1.9.8":"2024-09-10T06:13:59.526Z","1.9.9":"2024-09-10T06:29:57.332Z","2.0.0":"2024-09-10T06:54:58.345Z","2.0.1":"2024-09-10T08:24:08.908Z","2.0.2":"2024-09-10T08:24:59.505Z","2.0.3":"2024-09-10T08:26:31.548Z","2.0.4":"2024-09-10T08:35:58.296Z","2.0.5":"2024-09-10T08:40:22.400Z","2.0.6":"2024-09-10T08:44:26.975Z","2.0.7":"2024-09-10T08:52:25.832Z","2.0.8":"2024-09-10T08:56:20.220Z","2.0.9":"2024-09-10T08:59:03.271Z","2.1.0":"2024-09-10T09:01:20.281Z","2.1.1":"2024-09-10T09:09:49.237Z","2.1.2":"2024-09-10T09:41:57.501Z","2.1.3":"2024-09-10T09:47:07.997Z","2.1.4":"2024-09-10T10:01:02.849Z","2.1.5":"2024-09-10T10:04:36.776Z","2.1.6":"2024-09-10T10:07:49.273Z","2.1.7":"2024-09-10T10:11:13.277Z","2.1.8":"2024-09-10T10:11:53.104Z","2.1.9":"2024-09-10T10:55:30.812Z","2.2.0":"2024-09-10T11:08:57.943Z","2.2.1":"2024-09-10T11:15:01.431Z","2.2.2":"2024-09-10T11:20:50.019Z","2.2.3":"2024-09-11T05:05:15.578Z","2.2.4":"2024-09-26T10:21:08.419Z","2.2.6":"2024-09-28T00:10:32.110Z","2.2.7":"2024-09-28T00:19:23.856Z","2.2.8":"2024-09-28T00:20:17.820Z","2.2.9":"2024-09-29T17:20:38.036Z","2.3.0":"2024-09-29T17:37:22.135Z","2.3.1":"2024-10-20T00:24:23.517Z","2.3.2":"2024-10-20T01:09:48.942Z","2.3.3":"2024-10-20T01:36:11.628Z","2.3.4":"2024-10-23T17:50:58.375Z","2.3.5":"2024-10-23T18:03:08.176Z","2.3.6":"2024-11-01T21:18:02.908Z","2.3.7":"2024-11-11T10:19:15.399Z","2.3.8":"2024-11-11T10:23:21.848Z","2.3.9":"2024-11-11T10:25:04.286Z","2.4.0":"2025-02-21T21:44:22.461Z","2.4.1":"2025-02-21T21:48:56.097Z","2.4.2":"2025-02-21T22:08:10.396Z","2.4.3":"2025-02-22T23:22:37.457Z","2.4.4":"2025-02-23T01:06:40.049Z","2.4.5":"2025-02-23T01:11:47.201Z","2.4.6":"2025-02-23T01:16:01.093Z","2.4.7":"2025-02-23T01:38:35.268Z","2.4.8":"2025-02-23T02:23:06.029Z","2.4.9":"2025-02-23T21:31:16.617Z","2.5.0":"2025-02-23T21:40:30.577Z","2.5.1":"2025-02-23T22:21:30.870Z","2.5.2":"2025-02-23T22:42:36.762Z","2.5.3":"2025-02-23T22:51:49.391Z","2.5.4":"2025-02-23T23:07:00.866Z","2.5.5":"2025-02-23T23:14:59.906Z","2.5.6":"2025-02-23T23:19:51.849Z","2.5.7":"2025-02-23T23:25:17.379Z","2.5.8":"2025-02-27T06:13:41.244Z","2.5.9":"2025-02-27T06:46:28.456Z","2.6.0":"2025-02-27T22:07:32.370Z","2.6.1":"2025-03-03T23:48:14.823Z","2.6.2":"2025-03-06T06:28:17.148Z","2.6.3":"2025-03-31T16:32:01.752Z","3.0.0":"2025-06-08T03:07:54.715Z","3.0.1":"2025-06-08T03:13:40.862Z","3.0.2":"2025-06-09T19:41:56.482Z","3.0.3":"2025-06-11T17:31:47.897Z","3.0.4":"2025-06-12T04:30:54.147Z","3.0.5":"2025-06-12T06:32:13.844Z","3.0.6":"2025-06-13T10:02:20.543Z","3.0.7":"2025-06-13T12:05:53.115Z","3.0.8":"2025-06-13T12:18:07.705Z","3.0.9":"2025-06-13T12:37:27.657Z","3.1.0":"2025-06-15T04:56:56.828Z","3.1.1":"2025-06-15T05:33:32.187Z","3.1.2":"2025-06-15T05:45:23.504Z","3.1.3":"2025-06-15T13:05:17.155Z","3.1.4":"2025-06-15T13:36:06.141Z","3.1.5":"2025-06-15T14:48:58.061Z","3.1.6":"2025-06-15T15:40:01.398Z","4.0.0":"2025-06-18T11:37:54.213Z","4.0.1":"2025-06-18T12:28:32.964Z","4.0.2":"2025-06-18T13:45:55.969Z","4.0.3":"2025-06-18T16:59:59.442Z","4.0.4":"2025-06-18T17:25:43.928Z","4.0.5":"2025-06-18T18:17:50.881Z","4.0.6":"2025-06-18T18:34:03.951Z","4.0.7":"2025-06-19T10:57:07.435Z","4.0.8":"2025-06-19T11:29:04.246Z","4.0.9":"2025-06-19T17:16:09.701Z","4.1.0":"2025-06-21T13:09:27.438Z","4.1.1":"2025-06-21T14:23:24.641Z","4.1.2":"2025-06-22T14:10:49.563Z","4.1.3":"2025-06-22T14:40:54.383Z","4.1.4":"2025-06-24T11:38:24.724Z","4.1.5":"2025-06-24T12:29:27.543Z","4.1.6":"2025-06-24T13:14:04.934Z","4.1.7":"2025-06-24T15:15:07.804Z","4.1.8":"2025-06-24T20:30:35.304Z","4.1.9":"2025-06-25T13:25:35.408Z","4.2.0":"2025-07-04T20:00:19.824Z","4.2.1":"2025-07-11T00:57:43.053Z","4.2.2":"2025-11-07T22:16:09.153Z","4.2.3":"2025-11-08T16:37:55.405Z","4.2.4":"2025-11-08T16:45:19.248Z","4.2.5":"2025-11-15T01:44:33.493Z","4.2.6":"2025-11-16T06:40:10.293Z","4.2.7":"2025-11-16T07:04:59.565Z","4.2.8":"2025-11-16T07:12:30.284Z","4.2.9":"2026-02-26T22:34:00.219Z","4.2.10":"2026-03-29T04:28:37.818Z","4.2.11":"2026-05-25T19:19:47.408Z","4.2.12":"2026-07-15T07:58:16.368Z","4.2.13":"2026-07-15T23:21:25.209Z"},"bugs":{"url":"https://github.com/DiogoAngelim/html-to-gutenberg/issues"},"author":{"name":"Diogo Angelim"},"license":"MIT","homepage":"https://www.html-to-gutenberg.io","keywords":["frontend","gutenberg","html","wordpress","wp","jsx","converter","template","block","UI"],"repository":{"type":"git","url":"git+https://github.com/DiogoAngelim/html-to-gutenberg.git"},"description":"Transform any valid HTML string into fully editable WP Gutenberg blocks in seconds rather than hours.","maintainers":[{"name":"digelim","email":"iamdiogoangelim@gmail.com"}],"readme":"# HTML to Gutenberg Converter\n\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/DiogoAngelim/html-to-gutenberg/blob/main/LICENSE.MD)\n\nConvert HTML into editable WordPress Gutenberg blocks and publish the generated package to Cloudflare R2 without writing the output to disk.\n\n## What changed\n\n- `html-to-gutenberg` now supports a `job` output mode that uploads generated files to R2 and returns a JSON manifest.\n- `fetch-page-assets` can upload downloaded assets directly to R2 and return their metadata.\n- Output bundles are zipped in memory and uploaded to R2 as `output.zip`.\n- Secrets stay in `.env` and should never be committed.\n\n## Installation\n\n```bash\nnpm install html-to-gutenberg\n```\n\n## Environment\n\nCopy `.env.example` to `.env` and keep the real values private.\n\n```bash\ncp .env.example .env\n```\n\nRequired for R2-backed job output:\n\n- `CLOUDFLARE_R2_ACCOUNT_ID`\n- `CLOUDFLARE_R2_BUCKET`\n- `CLOUDFLARE_R2_ACCESS_KEY_ID`\n- `CLOUDFLARE_R2_SECRET_ACCESS_KEY`\n- `CLOUDFLARE_R2_PUBLIC_BASE_URL`\n\nOptional:\n\n- `CLOUDFLARE_API_TOKEN`\n- `SNAPAPI_KEY`\n\n## Getting and rotating Cloudflare credentials\n\n1. Open the Cloudflare dashboard.\n2. Create or update your R2 access keys for the target bucket.\n3. Store the new values in `.env`.\n4. If you use a Cloudflare API token for verification or account workflows, create a new token in the API Tokens section and update `.env`.\n5. Restart your app or redeploy after updating `.env`.\n6. Revoke the old token or key after the new one is live.\n\nTo verify a Cloudflare API token without exposing it in code, use an environment variable:\n\n```bash\ncurl \"https://api.cloudflare.com/client/v4/user/tokens/verify\" \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\"\n```\n\n## Usage\n\n```js\nimport block from 'html-to-gutenberg';\n\nconst result = await block('<div>Hello world</div>', {\n  title: 'Marketing Hero',\n  slug: 'marketing-hero',\n  namespace: 'wp',\n  baseUrl: 'https://example.com',\n  outputMode: 'job',\n  uploadToR2: true,\n  jobId: 'conv_123'\n});\n\nconsole.log(result);\n```\n\nExample response:\n\n```json\n{\n  \"jobId\": \"conv_123\",\n  \"status\": \"completed\",\n  \"output\": {\n    \"files\": [\n      {\n        \"id\": \"file_1\",\n        \"name\": \"block.js\",\n        \"type\": \"text/javascript\",\n        \"size\": 18234,\n        \"path\": \"/generated/conv_123/block.js\",\n        \"url\": \"https://storage.example.com/generated/conv_123/block.js\",\n        \"kind\": \"source\"\n      },\n      {\n        \"id\": \"file_2\",\n        \"name\": \"asset.png\",\n        \"type\": \"image/png\",\n        \"size\": 48211,\n        \"path\": \"/generated/conv_123/assets/asset.png\",\n        \"url\": \"https://storage.example.com/generated/conv_123/assets/asset.png\",\n        \"kind\": \"asset\"\n      }\n    ],\n    \"bundle\": {\n      \"name\": \"output.zip\",\n      \"path\": \"/generated/conv_123/output.zip\",\n      \"url\": \"https://storage.example.com/generated/conv_123/output.zip\",\n      \"zipUrl\": \"https://storage.example.com/generated/conv_123/output.zip\"\n    }\n  }\n}\n```\n\n## Legacy mode\n\nIf you still need the previous local-string output for existing tooling or tests, use:\n\n```js\nconst files = await block('<div>Hello world</div>', {\n  title: 'Legacy Block',\n  outputPath: process.cwd(),\n  writeFiles: false,\n  outputMode: 'legacy'\n});\n```\n\nIn `legacy` mode, the function returns the generated file contents instead of the R2 job manifest.\n\n## Options\n\n| Option | Description | Type | Default |\n| --- | --- | --- | --- |\n| `title` | Human-readable block title shown in the editor. | `string` | `My block` |\n| `slug` | Filesystem-safe internal block name. Defaults to a slugified title. | `string` | slugified `title` |\n| `baseUrl` | Base URL used to resolve relative asset paths in HTML and CSS. | `string \\| null` | `null` |\n| `namespace` | Gutenberg block namespace. | `string` | `wp` |\n| `category` | Gutenberg block category. | `string` | `common` |\n| `registerCategoryIfMissing` | Adds a custom editor category before block registration when needed. | `boolean` | `false` |\n| `outputPath` | Absolute directory used for local legacy output. In `job` mode it is only a logical working base. | `string` | current directory |\n| `writeFiles` | Writes local files in `legacy` mode. When `false`, returns generated files in memory. | `boolean` | `false` in the streamlined API |\n| `generatePreviewImage` | Generates and uploads `preview.jpeg` using SnapAPI. | `boolean` | `false` |\n| `jsFiles` | Remote JS dependencies to enqueue. | `string[]` | `[]` |\n| `cssFiles` | Remote CSS dependencies to enqueue. | `string[]` | `[]` |\n| `outputMode` | Advanced option. `job` uploads to R2 and returns JSON. `legacy` returns raw file contents. | `'job' \\| 'legacy'` | `job`, unless local-output options imply `legacy` |\n| `uploadToR2` | Advanced option to force or disable R2 uploads. | `boolean` | `true` in `job` mode |\n| `jobId` | Advanced stable conversion identifier. | `string` | autogenerated |\n\nLegacy aliases still work for backwards compatibility:\n\n- `name` -> `title`\n- `prefix` -> `namespace`\n- `source` -> `baseUrl`\n- `basePath` -> `outputPath`\n- `shouldSaveFiles` -> `writeFiles`\n- `generateIconPreview` -> `generatePreviewImage`\n\n## Notes\n\n- Generated output is zipped in memory before upload.\n- R2 uploads use the values from `.env`.\n- Do not hardcode real tokens or keys in source code, docs, or tests.\n\n## Running tests\n\n```bash\nnpm install\nnpm test\n```\n\n## License\n\n[MIT](https://github.com/DiogoAngelim/html-to-gutenberg/blob/main/LICENSE.MD)\n","readmeFilename":"readme.md"}