{"_id":"dom-to-semantic-markdown","_rev":"29-d6d59d2e394517d9c7737e0536646e2b","name":"dom-to-semantic-markdown","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"dom-to-semantic-markdown","version":"1.0.0","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.0","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"70751be0e2251056cc3946313ff9518954796e8a","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.0.tgz","fileCount":39,"integrity":"sha512-K/VdAIS+sKkgov5HcoI4sZt18TTii58aFjG9/RCelBYNkhMXA7PODw9KQftBFVIdAmizBrbinha25lgRVCbGMg==","signatures":[{"sig":"MEUCIAkmfF8cihWoKi7xE63oo3OtgmEgqFv31HImY64nriU0AiEAitLwKuxlbGtLknloWrtjKo4jR5822FU1FTe7HenG/WA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":887885},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.0_1721719401950_0.30184508130960364","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"dom-to-semantic-markdown","version":"1.0.3","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.3","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"c9d4b07cfee1e154ec80d27276d2bc7eb48492e2","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.3.tgz","fileCount":68,"integrity":"sha512-82Ps0IalIzmJ7L9nfyZ5S9kNY9Fo4dYgPjLYDjAIfoGgCIr9CyGmZlnK0R1EDJSniVAZXXMDXC8YuMVdAVUF8g==","signatures":[{"sig":"MEQCIAeqHrnpljkgzTjzkvNKWiBEzr4ZLL7HJSsXuujfQDfbAiAn0116JhjJcRw63dZ/0+gzllgEPcpDrta9g+/pVwx7XQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1011144},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.3_1721730410329_0.3682999538011955","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"dom-to-semantic-markdown","version":"1.0.7","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.7","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"3066909a3fd1d0d4df503df2c997c6e2b7549a0a","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.7.tgz","fileCount":70,"integrity":"sha512-vAX9M3pZXen1ChAO/v3FvR5Gb90WL0MYuZV1yCDeMxrkEhLM9xOXHpu5y2x001Cw7QPURDxL56lpCx7+abaSSQ==","signatures":[{"sig":"MEYCIQCL1Zaunj5ZdX6Yomhq+v0Kg7EufzEde6jZ4S6kjL5pnQIhAP9tjD13V16W61FSB4msgUbqGB7fRjlvjFs1wHtiX+hJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1013679},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.7_1721762822940_0.7487981462214663","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"dom-to-semantic-markdown","version":"1.0.8","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.8","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"378d70713202e8a28bcab83b514a81d9af37c1ad","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.8.tgz","fileCount":70,"integrity":"sha512-BzcS6wg23xDHbBcWm/pPRX/K+RXWtubdcBTnIUQdvoF0EVM7jdhNiKGXo63rL63zDUh77yXNJ0sQGPIfoqsKHw==","signatures":[{"sig":"MEUCIQCVXkHEjLgtcWlebbF3wLV1CvuRqa6wNKoLl6PB00NkwAIgWjsDNyiRLpZRrde/XUdqytvX1mi4jl/wdQEPpXH/eX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1015986},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.8_1721800229438_0.34014272742381224","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"dom-to-semantic-markdown","version":"1.0.9","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.9","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"d4b964d86d3366da01be6271b37cf77564614ad1","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.9.tgz","fileCount":70,"integrity":"sha512-4ZzPE425yQg+cOV05KdMuLBpJzBjvtDI2U1yXssi0SYGqe8ARq7LdPMDdicte1g1ldsRYnsl8B0Y4czRrInPxw==","signatures":[{"sig":"MEUCICFWpS1aLe4FWYlW6EuV8e9lY2T0aoQPiEOi7LhSs2jaAiEAtAwefYWaaMSVDvAk8xzvMlDUWcOk+dFvzE4xjBn7Dlg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1016108},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.9_1721801239280_0.5240128784943408","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"dom-to-semantic-markdown","version":"1.0.10","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.10","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"e101f3f9784d3f9432153a256b14ef9004574f01","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.10.tgz","fileCount":70,"integrity":"sha512-YeK6MruROlPzfEnDwDuhjsnKEJOyMiubYdoIl85t1gH9cEpWFYffWu7YK7X+RNEJ6tIoRq4l7/R28Z6H5yqEuw==","signatures":[{"sig":"MEYCIQCVWmpT3sDNC/TZ4APfDZmaZKryQv0lU0v/BU/Py9BArgIhANPiaiB9syB1wdZ+RnL8lj30c80ghGnAgneKqTumSd5t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1025213},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.10_1721812057094_0.878124897593118","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"dom-to-semantic-markdown","version":"1.0.11","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.0.11","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"938e833789d54fe20311fe84815228545d0182a6","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.0.11.tgz","fileCount":70,"integrity":"sha512-wuDqZEX89+6EwOHiR2QtWll+7Ppv3Rm3tZL+L3iYcpQ8PIay3fgkuNXvsCVI3lerG3ZAtRO0g+6NwH8wMCk8pw==","signatures":[{"sig":"MEQCIDCe2Yck659H9I/JxbP1WRdvtjRbazimAeNY650JKDkLAiBNHeQIPmC06cuGGP0pcFyX5CQHc8Czvmdb5g/De1bPIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030137},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.0.11_1721822128879_0.0811539940751611","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"dom-to-semantic-markdown","version":"1.1.0","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.1.0","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"7f146f3efd64827d5aaec0840398dbb7f5af28c1","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.1.0.tgz","fileCount":70,"integrity":"sha512-LDePmD2nPC6QegNtCOMMHP/+v3NjrvQvF+MjiU9KDGF4tL3BNWnI++gDgZ8sRgLjdPzUi8SXmqx9hRqy+BR9FQ==","signatures":[{"sig":"MEUCIQDq2CDDozZLfsA8T6yo1OZkwNwW5MF55TySbS0FwvbZQQIgI9VJhewE9HKLO4LIOeyucZyn3uCPTEn0rM8utry9YzU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1042546},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.1.0_1721895981596_0.7101745815181284","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"dom-to-semantic-markdown","version":"1.1.1","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.1.1","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"2cb7123d9e110b6b800ffc4446c211d91a1ddd80","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.1.1.tgz","fileCount":70,"integrity":"sha512-nH6oaFQuvaZYI0PUdtAZW+2LZTjdpEoOTB8zOpZBpIRrnYCOPnYhMT0QfjjD32wNkHdyiscQgouCMs4Bb5L68g==","signatures":[{"sig":"MEYCIQD3Iugx3rPhXRRcxexIZp2HGQJHKNXHBcW8seRg3CxTigIhAJ8fOyymoSF9khArRA04UUmfKZiHLLxC4yNp78uoVC5u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1044228},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.0","ts-jest":"^29.2.3","typescript":"^5.5.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.1.1_1721900263345_0.45237507770802754","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"dom-to-semantic-markdown","version":"1.1.2","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.1.2","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"3e8537968d24f6acb3e7fb7138a6f183dcfe2e67","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.1.2.tgz","fileCount":70,"integrity":"sha512-IRUopiWP0F7MRnk1vgNSzKjONaj9Npla06dIWkACtBTbWGXVuTKH/KwsY26qHFC0ZabS4tIv26JoE/gzajUjEw==","signatures":[{"sig":"MEUCIHBhxEoxT4Ut0iIcocMMj8C6aJmUTtJnQMxoG6A5UDO/AiEA68wHixr8vKXzLVJPnEV5xh9YVvKMz1sSFHRKRj/OC4w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1044406},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.1","ts-jest":"^29.2.3","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.1.2_1722353225636_0.13630213463704322","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"dom-to-semantic-markdown","version":"1.2.0","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.0","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"b9d243e07ecee5142423db70f837051af75f1e3c","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.0.tgz","fileCount":70,"integrity":"sha512-eCvlkf43b/d6PW5IbsNkkyPpPFRNJTdbSz9XSlWYXCrLLTQRxVEpt5Wte8IlMvS5YIfjU4TCv7rxFPZEXX7oGQ==","signatures":[{"sig":"MEUCIQDUQWenBimd07Y32G/OjKJoKcaGDXG3a06ftbIa8oE9AgIgYYBGqscDL4bxyfLB1Zch6tmpGXOQ8Y2reFRyO0iPNa8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1072251},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.9","rollup":"^4.19.1","ts-jest":"^29.2.3","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.0_1722496886242_0.8239767451097308","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"dom-to-semantic-markdown","version":"1.2.1","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.1","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"f8ad5c060567482acaaa0aadbba843597cd4fa56","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.1.tgz","fileCount":70,"integrity":"sha512-Olbewn3g3xjbiwBrXiDfeM8K/DOmbQhwicz+oqLetJTFTO3tlxCF4/YP2ox3koksAn3v1tbNzSHr2ULpfP/xuw==","signatures":[{"sig":"MEUCIQD6vg5ZiaIbYoX9nKix4wgGysffCCsmrCwpwVCC1zwPmQIgViHRIiBZNHGcJCNFakuRTbPA+BUH84YMedl5SVJ+7qg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1072314},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"^0.7.21"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.19.2","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.1_1722603406326_0.5926270159922722","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"dom-to-semantic-markdown","version":"1.2.2","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.2","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"613162ea7ca06817eb1f9f49cf9eae390f0fcab1","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.2.tgz","fileCount":70,"integrity":"sha512-aA72JKZH3XGafbO2a6xUNgdNC71gIhqMWXL2G4DAtZvkiRt05gLyqkKtOe27BpHSEYVxvGUuASt1BrN5E+Yr2g==","signatures":[{"sig":"MEQCIBedFJIfEl1VLkElliAQXWX1AA7Gp2aCGlEFuOrKp8NSAiB5HODvNfZuk/o8WaeBqYzJzRHggp94wmcEqr1c7qhykA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1053107},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","dependencies":{"useful":"0.8.4"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.2_1723019786282_0.7312509271984378","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"dom-to-semantic-markdown","version":"1.2.3","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.3","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"340dc82a2d38682023560453e44ff90a28de5515","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.3.tgz","fileCount":71,"integrity":"sha512-B6FB0ucJXIOCHXZBb2ueC8Wwr8kyTb2FTclUPOehhTkBnxd9H+qSMZ6t97DrCm4sChzF4RD0+j9LJqyqT/Upnw==","signatures":[{"sig":"MEUCIFjTCocmzYliepL+SZ5TByCNHWfBuAauPBoSgbQxV/XNAiEAoCkKdy7fG26McS06yVKLsixTHXpTM1rAz5fEtPGE0aU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030164},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.3_1723020158667_0.09803172668523907","host":"s3://npm-registry-packages"}},"1.2.4":{"name":"dom-to-semantic-markdown","version":"1.2.4","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.4","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"f294fa0cd3f6877fbf0b50e644f8a8c39f134b19","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.4.tgz","fileCount":71,"integrity":"sha512-Irhb/cOpZkTMVTiyIK4NJnJLVJrToSc0c5ogqa5mm0s2OdVyyioQfEsqF0rbeaLu96t+AS03SqVFE1j/7RR2Sw==","signatures":[{"sig":"MEUCIQDCgvqaDtefd8nlCk/jQ9BrM+Z52ORtSAERb6vOc3NvdwIgYgGVmw5EQDlpKJHX2Uq3io87xjnpiSFSPL2/Fh4LJxQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030164},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.4_1723020287784_0.975245153028182","host":"s3://npm-registry-packages"}},"1.2.5":{"name":"dom-to-semantic-markdown","version":"1.2.5","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.5","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"c711ee60c791264ad29b66e11aa78193e3570049","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.5.tgz","fileCount":71,"integrity":"sha512-9l37jllc6bs5f82FIGJsewJxfTlbVFVioEtWA332KcMKSCGjl3rDW8kOoOswlSFq62yRfffAad3sARWDKjSJrg==","signatures":[{"sig":"MEUCIQDjMLbOSk2qRwgQA7Nzuy+w6XLrhqixaFSfWlxiprV3OgIgNdt0g7tvGyWru1RpEMlOUp24HW9sp6g5/nPK89aojt4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030185},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.5_1725690752773_0.7428487216448845","host":"s3://npm-registry-packages"}},"1.2.6":{"name":"dom-to-semantic-markdown","version":"1.2.6","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.6","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"f24aaa383d5f243334f6d34a9112462785e910c0","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.6.tgz","fileCount":71,"integrity":"sha512-VxjGqC1fQlF7dcO8CI8wjddLz7OCvYfy2WZYIQr/k+2pOQXwKvJi4bL3wiJjjZMn4y79GOElkym8xsHkrXW8gA==","signatures":[{"sig":"MEYCIQC7VZGOrjBjw7n4nP179M3bLNScuFsGY4CyRpA9tj0aggIhAPna+xbWNmON8+up5WsXBf7EYccBDeIGoz7e7fMMNpw/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030297},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.6_1725694580825_0.27117923710739467","host":"s3://npm-registry-packages"}},"1.2.7":{"name":"dom-to-semantic-markdown","version":"1.2.7","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.7","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"f56b8a904a3399ef0a41630a63d1dcd03d1ab789","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.7.tgz","fileCount":71,"integrity":"sha512-HwkIUzuhjwY5cUkjLye+7YqATGbFV5soVUa5VCB3huC2Pwiqc3071Dici3X0BSrUAd9yqQrarzFmmZ3tBTItew==","signatures":[{"sig":"MEYCIQDmMu0U6HvHZKriH1Pxc9t7cBC5uUaoXLj/hmdg66bUggIhANV0AHFG3bKg6XIx7uBIfCAq94xg2DiLpjItJ7YQWBYJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030348},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.7_1725796180990_0.812020658279029","host":"s3://npm-registry-packages"}},"1.2.8":{"name":"dom-to-semantic-markdown","version":"1.2.8","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.8","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"80bf6ef5b99de6514fb4d8ca67fb1c4b996d077a","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.8.tgz","fileCount":75,"integrity":"sha512-8L3Lh6g5USY+lAhqKg75M0Sx8ymg06aXRL2zcqTg/ejOExPKIFM25Mxf0g/ySqBBbqywKHmYUwSZ/E93sg9VIg==","signatures":[{"sig":"MEYCIQCSMNWEV3aZFhj1R1Ssn/hk8MiZmi52frxTb01cB4ZrcQIhAKVSUkjQubtFYd7+iT39ceOtbhH1S882q29c/GrjiRzw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1035873},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.8_1725797298272_0.20171721738311743","host":"s3://npm-registry-packages"}},"1.2.9":{"name":"dom-to-semantic-markdown","version":"1.2.9","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.9","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"07546c3d2f4dfe57da8964f66745964670ff56a0","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.9.tgz","fileCount":75,"integrity":"sha512-EkL0N1cEhjmkV9GM8MqZX842SCz2sQEpr6N+T8YViC0Wodt9S1uX0X2xZkRbzdpvfbM+bV+z05xkWk60nUKV0w==","signatures":[{"sig":"MEUCIQC9X8i2zi2Nh47TJaHcjiOfoGwJt0YNbrlQ4noU953VzQIgFDePV7gkuZT5jlzEg/929PQIP0/KjbnrEc5k91Ghrr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1035873},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.9_1725797471883_0.48834560192217946","host":"s3://npm-registry-packages"}},"1.2.10":{"name":"dom-to-semantic-markdown","version":"1.2.10","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.10","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"03fcdf0b10fba6c2425c72554f6005463147c4dd","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.10.tgz","fileCount":75,"integrity":"sha512-ll9fBdk+2HntwXiEcakvyGK4mCiFTEZl0wpC8Ro+ufSbqXLnFD7ruABv9yrTzJuNUQkTXU6J+ZdD3oOSZrgYyg==","signatures":[{"sig":"MEQCICwEhsU91R8Ob3pm0qv4CTRHtwvuvZkouZADPCXZ3oAfAiBP2DBzWZWl36UsCc9pm4gTDbGoSGBBxTzH3xwDRtdLFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1036539},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.10_1725798085440_0.8877531380820642","host":"s3://npm-registry-packages"}},"1.2.11":{"name":"dom-to-semantic-markdown","version":"1.2.11","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.11","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"171f5d09abc271489cdcac98bd82da72aa381702","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.11.tgz","fileCount":75,"integrity":"sha512-VDDrQjBO2pNlgcSyuK5NPMBBMCChbV4bjstok8MfT41lzD87uqjoIhTXbA0kxN2id1Dou4iRg8tadnudCVY5oQ==","signatures":[{"sig":"MEYCIQDgTjpQB5+7R9YRGsmqYnDbwoGDI66uqJ9A1O2xyy1I2gIhAMVL2qCS7nCFI4RScvdGdI32Couqc01H9jwDbFzc9cMb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1036548},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.11_1725798179004_0.8953824633431151","host":"s3://npm-registry-packages"}},"1.2.12":{"name":"dom-to-semantic-markdown","version":"1.2.12","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.12","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"a901e1e11452948ce3c9ad72a3cabd0361752464","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.12.tgz","fileCount":75,"integrity":"sha512-cMrDqcFM3TbGiRb4tnhnDEyI/+eYsaA+Jy6ceCfOEMVgHKWcu63RN/5AMeI6MBIRy1vax5DxyyDiVrFH/c1WXw==","signatures":[{"sig":"MEYCIQD/kbDereNcJ0AQ7duf9slT/jxClJ8uJg74KXokpo5kLQIhAMDmVpudNoMycO1GSRNmdKBlTVpj3qXNtSnLXvih6SBr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1038278},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.12_1726517491116_0.3151202693242523","host":"s3://npm-registry-packages"}},"1.2.13":{"name":"dom-to-semantic-markdown","version":"1.2.13","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.13","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"4e48f6201f9773c315dbe8ecbaa59624879d39ff","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.13.tgz","fileCount":77,"integrity":"sha512-UE2Yx1mlZYgGmVQNs433Lvjnp6Xy+aeValfx8srd3txL8PWrin0bJIFD5pxU9I1p6V7O5eLVapd3suvwyKLhzw==","signatures":[{"sig":"MEQCICHcm5jIhFooVbPz+UvtmDEYVTsxjMITSHut+PjdTjo3AiBUtUfnVWjoIaSmVr8E5fZnRVs98+Inig8PWFJSOTULtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1046048},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.13_1727248510862_0.15258486709489238","host":"s3://npm-registry-packages"}},"1.2.14":{"name":"dom-to-semantic-markdown","version":"1.2.14","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.14","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"c54f5d173a51df28585008961359505ef1478775","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.14.tgz","fileCount":77,"integrity":"sha512-U+yjJeJyTjO/TwHrSD/CbB6xZxZ6SlDzmjp06ZcraWzwPOowLurEQO+I85pHu2WKwfmRxqkrn6IR/bXD186KJg==","signatures":[{"sig":"MEYCIQD5DBw65+SJSfPSGO9zZP8AJ55wXaYw+VRt+aHa55Sd1gIhAPYRc2spXhBm6vbGrFceVX9s+1kN0zZlspHtuwRI/NQI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1049225},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.14_1728217428856_0.041821035457279","host":"s3://npm-registry-packages"}},"1.2.16":{"name":"dom-to-semantic-markdown","version":"1.2.16","keywords":[],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.2.16","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"45cb6275be9859910bb94793ee8be6b7bf4a9d08","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.2.16.tgz","fileCount":77,"integrity":"sha512-ZuqTZu2yn2GRP8Ay+N3O2bYE7fcw0LiQFRlRz1L9fPKCKz6Rhsey58W6i5WXuUBydeD0TAXI6IR6XlL2abow1w==","signatures":[{"sig":"MEQCIGAxkj4S0mVEdHM366KimLPBC/2lHnxQ59d3VBMy1dwUAiAlX6F8b76vLS+5bIfRH9OO4s5yTSET/Q+eioj2YR3ufQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1052022},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.6.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.2.16_1736513352652_0.7017621725662149","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"dom-to-semantic-markdown","version":"1.3.0","keywords":["markdown","html","llm"],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.3.0","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"53e1a9e026c0bfb02dcf43ec98343d58abebebf7","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.3.0.tgz","fileCount":79,"integrity":"sha512-E2ASavhUpRM26YIfBE2t5EhATOCb2lU74Rn5CVjOscQtX42vSGuDRZe4scc7u9TAjsUqqq8QecbY55rVPPAi6g==","signatures":[{"sig":"MEQCIBXXPVaJl9iVtzYmu7J99XIovh9aCW2E/IVQ22c4xMd3AiBusGrZQjCVpWluP0e66YjoNskjiZeqB/RThD+c2j+sww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1061890},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.6.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.3.0_1738833426202_0.40846929634772944","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"dom-to-semantic-markdown","version":"1.4.0","keywords":["markdown","html","llm"],"author":{"name":"Roman Landenband"},"license":"MIT","_id":"dom-to-semantic-markdown@1.4.0","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"dist":{"shasum":"5cb00fc8a41081fd84ce5fae4c9d97ca4f271ea8","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.4.0.tgz","fileCount":78,"integrity":"sha512-oGEM6ApGUyqQkfktvEzOqCLWjkiQniNMoMErPZtifC9khE6IXTK2GPHpPK2oqpk6n+TKQmuDJPOYZbUwzkxSFw==","signatures":[{"sig":"MEUCIQDy28AGVJmT4ACELJaOA+tC3+C6TUz2tL2udOtKG6VXyAIgFxqd5cawiReoiBB+wzMvnUP/eqbp2ssRwegGBA0tT/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1063109},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"test":"jest","build":"yarn clean && npm run build:browser && npm run build:node","clean":"rimraf dist","watch":"tsc -p tsconfig.json --watch","example":"open examples/browser.html","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs"},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"repository":{"url":"https://github.com/romansky/dom-to-semantic-markdown.git","type":"git"},"description":"DOM to Semantic-Markdown for use in LLMs","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"jest":"^29.7.0","jsdom":"^24.1.1","tslib":"^2.6.3","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","typescript":"^5.6.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","@tsconfig/node16":"^16.1.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/dom-to-semantic-markdown_1.4.0_1747832623863_0.7150938428724924","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"dom-to-semantic-markdown","version":"1.5.0","description":"DOM to Semantic-Markdown for use in LLMs","repository":{"type":"git","url":"https://github.com/romansky/dom-to-semantic-markdown.git"},"main":"./dist/node/index.js","types":"./dist/node/index.d.ts","scripts":{"clean":"rimraf dist","build":"yarn clean && npm run build:browser && npm run build:node","build:node":"tsc -p tsconfig.node.json","build:browser":"rollup -c --bundleConfigAsCjs","watch":"tsc -p tsconfig.json --watch","test":"jest","example":"open examples/browser.html"},"author":{"name":"Roman Landenband"},"license":"MIT","devDependencies":{"@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@tsconfig/node16":"^16.1.3","@types/jest":"^29.5.12","@types/jsdom":"^21.1.7","jest":"^29.7.0","jsdom":"^24.1.1","rimraf":"^5.0.10","rollup":"^4.20.0","ts-jest":"^29.2.4","tslib":"^2.6.3","typescript":"^5.6.3"},"keywords":["markdown","html","llm"],"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","licenseText":"MIT License\n\nCopyright (c) 2024 Roman Landenband\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","_id":"dom-to-semantic-markdown@1.5.0","dist":{"shasum":"cb2e2797681f96de38e048d19c3021be8a8309f8","integrity":"sha512-pFXYwst8ajK3jDmoUmglu3wdBOq4gMGhriD2i0is/Ge9f1DwldohstQIg+TABRav5IFHisnwtQM64laMs1M/kw==","tarball":"https://registry.npmjs.org/dom-to-semantic-markdown/-/dom-to-semantic-markdown-1.5.0.tgz","fileCount":79,"unpackedSize":1094307,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDghuWqOjcR+qrwYUGPMrtupSaz71Ni6KYHkv+rOiRTDgIgEHIt8mWlNUn6xdKYiBi9wbEwdttqemUEnOsvEsNxAEo="}]},"_npmUser":{"name":"romansky","email":"roman.land@gmail.com"},"directories":{},"maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dom-to-semantic-markdown_1.5.0_1747864972323_0.25025937988060365"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-23T07:23:21.870Z","modified":"2025-05-21T22:02:52.799Z","1.0.0":"2024-07-23T07:23:22.158Z","1.0.3":"2024-07-23T10:26:50.598Z","1.0.7":"2024-07-23T19:27:03.232Z","1.0.8":"2024-07-24T05:50:29.694Z","1.0.9":"2024-07-24T06:07:19.588Z","1.0.10":"2024-07-24T09:07:37.350Z","1.0.11":"2024-07-24T11:55:29.120Z","1.1.0":"2024-07-25T08:26:21.802Z","1.1.1":"2024-07-25T09:37:43.568Z","1.1.2":"2024-07-30T15:27:05.918Z","1.2.0":"2024-08-01T07:21:26.505Z","1.2.1":"2024-08-02T12:56:46.568Z","1.2.2":"2024-08-07T08:36:26.554Z","1.2.3":"2024-08-07T08:42:38.982Z","1.2.4":"2024-08-07T08:44:48.021Z","1.2.5":"2024-09-07T06:32:33.097Z","1.2.6":"2024-09-07T07:36:21.122Z","1.2.7":"2024-09-08T11:49:41.235Z","1.2.8":"2024-09-08T12:08:18.479Z","1.2.9":"2024-09-08T12:11:12.125Z","1.2.10":"2024-09-08T12:21:25.709Z","1.2.11":"2024-09-08T12:22:59.241Z","1.2.12":"2024-09-16T20:11:31.386Z","1.2.13":"2024-09-25T07:15:11.067Z","1.2.14":"2024-10-06T12:23:49.081Z","1.2.16":"2025-01-10T12:49:12.914Z","1.3.0":"2025-02-06T09:17:06.452Z","1.4.0":"2025-05-21T13:03:44.080Z","1.5.0":"2025-05-21T22:02:52.616Z"},"author":{"name":"Roman Landenband"},"license":"MIT","keywords":["markdown","html","llm"],"repository":{"type":"git","url":"https://github.com/romansky/dom-to-semantic-markdown.git"},"description":"DOM to Semantic-Markdown for use in LLMs","maintainers":[{"name":"romansky","email":"roman.land@gmail.com"}],"readme":"<h1 align=\"center\">\n    <img width=\"100\" height=\"100\" src=\"d2m_color.svg\" alt=\"DOM to Semantic Markdown Logo\"><br>\n    DOM to Semantic Markdown\n</h1>\n\n[![CI](https://github.com/romansky/dom-to-semantic-markdown/actions/workflows/ci.yml/badge.svg)](https://github.com/romansku/dom-to-semantic-markdown/actions/workflows/ci.yml)\n[![npm version](https://badge.fury.io/js/dom-to-semantic-markdown.svg)](https://badge.fury.io/js/dom-to-semantic-markdown)\n[![License: ISC](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nThis library converts HTML DOM to a semantic Markdown format optimized for use with Large Language Models (LLMs). It\npreserves the semantic structure of web content, extracts essential metadata, and reduces token usage compared to raw\nHTML, making it easier for LLMs to understand and process information.\n\n## Key Features\n\n* **Semantic Structure Preservation:** Retains the meaning of HTML elements like `<header>`, `<footer>`, `<nav>`, and\n  more.\n* **Metadata Extraction:** Captures important metadata such as title, description, keywords, Open Graph tags, Twitter\n  Card tags, and JSON-LD data.\n* **Token Efficiency:** Optimizes for token usage through URL refification and concise representation of content.\n* **Main Content Detection:** Automatically identifies and extracts the primary content section of a webpage.\n* **Table Column Tracking:** Adds unique identifiers to table columns, improving LLM's ability to correlate data across\n  rows.\n\n## Special Feature Examples\n\nHere are examples showcasing the library's special features using the CLI tool:\n\n**1. Simple Content Extraction:**\n\n```bash\nnpx d2m@latest -u https://xkcd.com\n```\n\nThis command fetches `https://xkcd.com` and converts it to Markdown\n\n<details>\n<summary>Click to view the output</summary>\n\n```markdown\n- [Archive](/archive)\n- [What If?](https://what-if.xkcd.com/)\n- [About](/about)\n- [Feed](/atom.xml) • [Email](/newsletter/)\n- [TW](https://twitter.com/xkcd/) • [FB](https://www.facebook.com/TheXKCD/) • [IG](https://www.instagram.com/xkcd/)\n- [-Books-](/books/)\n- [What If? 2](/what-if-2/)\n- [WI?](/what-if/) • [TE](/thing-explainer/) • [HT](/how-to/)\n  <a href=\"/\">![xkcd.com logo](/s/0b7742.png)</a> A webcomic of romance,\n  sarcasm, math, and language. [Special 10th anniversary edition of WHAT IF?](https://xkcd.com/what-if/) —revised and annotated with brand-new illustrations and answers to important questions you never thought to ask—out now. Order it [here](https://bit.ly/WhatIf10th)! Renormalization\n- [|<](/1/)\n- [< Prev](/3090/)\n- [Random](//c.xkcd.com/random/comic/)\n- [Next >](about:blank#)\n- [>|](/)\n\n![Renormalization](//imgs.xkcd.com/comics/renormalization.png)\n\n- [|<](/1/)\n- [< Prev](/3090/)\n- [Random](//c.xkcd.com/random/comic/)\n- [Next >](about:blank#)\n- [>|](/)\n\nPermanent link to this comic: [https://xkcd.com/3091/](https://xkcd.com/3091)\nImage URL (for hotlinking/embedding): [https://imgs.xkcd.com/comics/renormalization.png](https://imgs.xkcd.com/comics/renormalization.png)\n![Selected Comics](//imgs.xkcd.com/s/a899e84.jpg)\n\n<a href=\"//xkcd.com/1732/\">![Earth temperature timeline](//imgs.xkcd.com/s/temperature.png)</a>\n[RSS Feed](/rss.xml) - [Atom Feed](/atom.xml) - [Email](/newsletter/)\nComics I enjoy:\n[Three Word Phrase](http://threewordphrase.com/), [SMBC](https://www.smbc-comics.com/), [Dinosaur Comics](https://www.qwantz.com/), [Oglaf](https://oglaf.com/) (nsfw), [A Softer World](https://www.asofterworld.com/), [Buttersafe](https://buttersafe.com/), [Perry Bible Fellowship](https://pbfcomics.com/), [Questionable Content](https://questionablecontent.net/), [Buttercup Festival](http://www.buttercupfestival.com/), [Homestuck](https://www.homestuck.com/), [Junior Scientist Power Hour](https://www.jspowerhour.com/)\nOther things:\n[Tips on technology and government](https://medium.com/civic-tech-thoughts-from-joshdata/so-you-want-to-reform-democracy-7f3b1ef10597),\n[Climate FAQ](https://www.nytimes.com/interactive/2017/climate/what-is-climate-change.html), [Katharine Hayhoe](https://twitter.com/KHayhoe)\nxkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS\nat a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device\nfrom Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing. This work is licensed under a [Creative Commons Attribution-NonCommercial 2.5 License](https://creativecommons.org/licenses/by-nc/2.5/).\n\nThis means you're free to copy and share these comics (but not to sell them). [More details](/license.html).\n```\n\n</details>\n\n**2. Table Column Tracking:**\n\n```bash\nnpx d2m@latest -u https://softwareyoga.com/latency-numbers-everyone-should-know/ -t -e\n```\n\nThis command fetches and converts the main content from to Markdown and adds unique identifiers to table columns, aiding\nLLMs in understanding table structure.\n\n<details>\n<summary>Click to view the output</summary>\n\n```markdown\n# Latency Numbers Everyone Should Know\n\n## Latency\n\nIn a computer network, latency is defined as the amount of time it takes for a packet of data to get from one designated point to another.\n\nIn more general terms, it is the amount of time between the cause and the observation of the effect.\n\nAs you would expect, latency is important, very important. As programmers, we all know reading from disk takes longer than reading from memory or the fact that L1 cache is faster than the L2 cache.\n\nBut do you know the orders of magnitude by which these aspects are faster/slower compared to others?\n\n## Latency for common operations\n\nJeff Dean from Google studied exactly that and came up with figures for latency in various situations.\n\nWith improving hardware, the latency at the higher ends of the spectrum are reducing, but not enough to ignore them completely! For instance, to read 1MB sequentially from disk might have taken 20,000,000 ns a decade earlier and with the advent of SSDs may probably take 1,000,000 ns today. But it is never going to surpass reading directly from memory.\n\nThe table below presents the latency for the most common operations on commodity hardware. These data are only approximations and will vary with the hardware and the execution environment of your code. However, they do serve their primary purpose, which is to enable us make informed technical decisions to reduce latency.\n\nFor better comprehension of  the multi-fold increase in latency, scaled figures in relation to L2 cache are also provided by assuming that the L1 cache reference is 1 sec.\n\n**Scroll horizontally on the table in smaller screens**\n\n| Operation <!-- col-0 --> | Note <!-- col-1 --> | Latency <!-- col-2 --> | Scaled Latency <!-- col-3 --> |\n| --- | --- | --- | --- |\n| L1 cache reference <!-- col-0 --> | Level-1 cache, usually built onto the microprocessor chip itself. <!-- col-1 --> | 0.5 ns <!-- col-2 --> | Consider L1 cache reference duration is 1 sec <!-- col-3 --> |\n| Branch mispredict <!-- col-0 --> | During the execution of a program, CPU predicts the next set of instructions. Branch misprediction is when it makes the wrong prediction. Hence, the previous prediction has to be erased and new one calculated and placed on the execution stack. <!-- col-1 --> | 5 ns <!-- col-2 --> | 10 s <!-- col-3 --> |\n| L2 cache reference <!-- col-0 --> | Level-2 cache is memory built on a separate chip. <!-- col-1 --> | 7 ns <!-- col-2 --> | 14 s <!-- col-3 --> |\n| Mutex lock/unlock <!-- col-0 --> | Simple synchronization method used to ensure exclusive access to resources shared between many threads. <!-- col-1 --> | 25 ns <!-- col-2 --> | 50 s <!-- col-3 --> |\n| Main memory reference <!-- col-0 --> | Time to reference main memory i.e. RAM. <!-- col-1 --> | 100 ns <!-- col-2 --> | 3m 20s <!-- col-3 --> |\n| Compress 1K bytes with Snappy <!-- col-0 --> | Snappy is a fast data compression and decompression library written in C++ by Google and used in many Google projects like BigTable, MapReduce and other open source projects. <!-- col-1 --> | 3,000 ns <!-- col-2 --> | 1h 40 m <!-- col-3 --> |\n| Send 1K bytes over 1 Gbps network <!-- col-0 --> |  <!-- col-1 --> | 10,000 ns <!-- col-2 --> | 5h 33m 20s <!-- col-3 --> |\n| Read 1 MB sequentially from memory <!-- col-0 --> | Read from RAM. <!-- col-1 --> | 250,000 ns <!-- col-2 --> | 5d 18h 53m 20s <!-- col-3 --> |\n| Round trip within same datacenter <!-- col-0 --> | We can assume that the DNS lookup will be much faster within a datacenter than it is to go over an external router. <!-- col-1 --> | 500,000 ns <!-- col-2 --> | 11d 13h 46m 40s <!-- col-3 --> |\n| Read 1 MB sequentially from SSD disk <!-- col-0 --> | Assumes SSD disk. SSD boasts random data access times of 100000 ns or less. <!-- col-1 --> | 1,000,000 ns <!-- col-2 --> | 23d 3h 33m 20s <!-- col-3 --> |\n| Disk seek <!-- col-0 --> | Disk seek is method to get to the sector and head in the disk where the required data exists. <!-- col-1 --> | 10,000,000 ns <!-- col-2 --> | 231d 11h 33m 20s <!-- col-3 --> |\n| Read 1 MB sequentially from disk <!-- col-0 --> | Assumes regular disk, not SSD. Check the difference in comparison to SSD! <!-- col-1 --> | 20,000,000 ns <!-- col-2 --> | 462d 23h 6m 40s <!-- col-3 --> |\n| Send packet CA->Netherlands->CA <!-- col-0 --> | Round trip for packet data from U.S.A to Europe and back. <!-- col-1 --> | 150,000,000 ns <!-- col-2 --> | 3472d 5h 20m <!-- col-3 --> |\n\n### References:\n\n1. [Designs, Lessons and Advice from Building Large Distributed Systems](http://www.cs.cornell.edu/projects/ladis2009/talks/dean-keynote-ladis2009.pdf)\n2. [Peter Norvig’s post on – Teach Yourself Programming in Ten Years](http://norvig.com/21-days.html#answers)\n```\n\n</details>\n\n**3. Metadata Extraction (Basic):**\n\n```bash\nnpx d2m@latest -u https://xkcd.com -m basic\n```\n\nThis command extracts basic metadata (title, description, keywords) and includes it in the Markdown output.\n\n<details>\n<summary>Click to view the output</summary>\n\n```markdown\n---\ntitle: \"xkcd: Renormalization\"\n---\n\n\n- [Archive](/archive)\n- [What If?](https://what-if.xkcd.com/)\n- [About](/about)\n- [Feed](/atom.xml) • [Email](/newsletter/)\n- [TW](https://twitter.com/xkcd/) • [FB](https://www.facebook.com/TheXKCD/) • [IG](https://www.instagram.com/xkcd/)\n- [-Books-](/books/)\n- [What If? 2](/what-if-2/)\n- [WI?](/what-if/) • [TE](/thing-explainer/) • [HT](/how-to/)\n  <a href=\"/\">![xkcd.com logo](/s/0b7742.png)</a> A webcomic of romance,\n  sarcasm, math, and language. [Special 10th anniversary edition of WHAT IF?](https://xkcd.com/what-if/) —revised and annotated with brand-new illustrations and answers to important questions you never thought to ask—out now. Order it [here](https://bit.ly/WhatIf10th)! Renormalization\n- [|<](/1/)\n- [< Prev](/3090/)\n- [Random](//c.xkcd.com/random/comic/)\n- [Next >](about:blank#)\n- [>|](/)\n\n![Renormalization](//imgs.xkcd.com/comics/renormalization.png)\n\n- [|<](/1/)\n- [< Prev](/3090/)\n- [Random](//c.xkcd.com/random/comic/)\n- [Next >](about:blank#)\n- [>|](/)\n\nPermanent link to this comic: [https://xkcd.com/3091/](https://xkcd.com/3091)\nImage URL (for hotlinking/embedding): [https://imgs.xkcd.com/comics/renormalization.png](https://imgs.xkcd.com/comics/renormalization.png)\n![Selected Comics](//imgs.xkcd.com/s/a899e84.jpg)\n\n<a href=\"//xkcd.com/1732/\">![Earth temperature timeline](//imgs.xkcd.com/s/temperature.png)</a>\n[RSS Feed](/rss.xml) - [Atom Feed](/atom.xml) - [Email](/newsletter/)\nComics I enjoy:\n[Three Word Phrase](http://threewordphrase.com/), [SMBC](https://www.smbc-comics.com/), [Dinosaur Comics](https://www.qwantz.com/), [Oglaf](https://oglaf.com/) (nsfw), [A Softer World](https://www.asofterworld.com/), [Buttersafe](https://buttersafe.com/), [Perry Bible Fellowship](https://pbfcomics.com/), [Questionable Content](https://questionablecontent.net/), [Buttercup Festival](http://www.buttercupfestival.com/), [Homestuck](https://www.homestuck.com/), [Junior Scientist Power Hour](https://www.jspowerhour.com/)\nOther things:\n[Tips on technology and government](https://medium.com/civic-tech-thoughts-from-joshdata/so-you-want-to-reform-democracy-7f3b1ef10597),\n[Climate FAQ](https://www.nytimes.com/interactive/2017/climate/what-is-climate-change.html), [Katharine Hayhoe](https://twitter.com/KHayhoe)\nxkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS\nat a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device\nfrom Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing. This work is licensed under a [Creative Commons Attribution-NonCommercial 2.5 License](https://creativecommons.org/licenses/by-nc/2.5/).\n\nThis means you're free to copy and share these comics (but not to sell them). [More details](/license.html).\n```\n\n</details>\n\n**4. Metadata Extraction (Extended):**\n\n```bash\nnpx d2m@latest -u https://xkcd.com -m extended\n```\n\nThis command extracts extended metadata, including Open Graph, Twitter Card tags, and JSON-LD data, and includes it in\nthe Markdown output.\n\n<details>\n<summary>Click to view the output</summary>\n\n```markdown\n---\ntitle: \"xkcd: Renormalization\"\nopenGraph:\n  site_name: \"xkcd\"\n  title: \"Renormalization\"\n  url: \"https://xkcd.com/3091/\"\n  image: \"https://imgs.xkcd.com/comics/renormalization_2x.png\"\ntwitter:\n  card: \"summary_large_image\"\n---\n\n\n- [Archive](/archive)\n- [What If?](https://what-if.xkcd.com/)\n- [About](/about)\n- [Feed](/atom.xml) • [Email](/newsletter/)\n- [TW](https://twitter.com/xkcd/) • [FB](https://www.facebook.com/TheXKCD/) • [IG](https://www.instagram.com/xkcd/)\n- [-Books-](/books/)\n- [What If? 2](/what-if-2/)\n- [WI?](/what-if/) • [TE](/thing-explainer/) • [HT](/how-to/)\n  <a href=\"/\">![xkcd.com logo](/s/0b7742.png)</a> A webcomic of romance,\n  sarcasm, math, and language. [Special 10th anniversary edition of WHAT IF?](https://xkcd.com/what-if/) —revised and annotated with brand-new illustrations and answers to important questions you never thought to ask—out now. Order it [here](https://bit.ly/WhatIf10th)! Renormalization\n- [|<](/1/)\n- [< Prev](/3090/)\n- [Random](//c.xkcd.com/random/comic/)\n- [Next >](about:blank#)\n- [>|](/)\n\n![Renormalization](//imgs.xkcd.com/comics/renormalization.png)\n\n- [|<](/1/)\n- [< Prev](/3090/)\n- [Random](//c.xkcd.com/random/comic/)\n- [Next >](about:blank#)\n- [>|](/)\n\nPermanent link to this comic: [https://xkcd.com/3091/](https://xkcd.com/3091)\nImage URL (for hotlinking/embedding): [https://imgs.xkcd.com/comics/renormalization.png](https://imgs.xkcd.com/comics/renormalization.png)\n![Selected Comics](//imgs.xkcd.com/s/a899e84.jpg)\n\n<a href=\"//xkcd.com/1732/\">![Earth temperature timeline](//imgs.xkcd.com/s/temperature.png)</a>\n[RSS Feed](/rss.xml) - [Atom Feed](/atom.xml) - [Email](/newsletter/)\nComics I enjoy:\n[Three Word Phrase](http://threewordphrase.com/), [SMBC](https://www.smbc-comics.com/), [Dinosaur Comics](https://www.qwantz.com/), [Oglaf](https://oglaf.com/) (nsfw), [A Softer World](https://www.asofterworld.com/), [Buttersafe](https://buttersafe.com/), [Perry Bible Fellowship](https://pbfcomics.com/), [Questionable Content](https://questionablecontent.net/), [Buttercup Festival](http://www.buttercupfestival.com/), [Homestuck](https://www.homestuck.com/), [Junior Scientist Power Hour](https://www.jspowerhour.com/)\nOther things:\n[Tips on technology and government](https://medium.com/civic-tech-thoughts-from-joshdata/so-you-want-to-reform-democracy-7f3b1ef10597),\n[Climate FAQ](https://www.nytimes.com/interactive/2017/climate/what-is-climate-change.html), [Katharine Hayhoe](https://twitter.com/KHayhoe)\nxkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS\nat a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device\nfrom Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing. This work is licensed under a [Creative Commons Attribution-NonCommercial 2.5 License](https://creativecommons.org/licenses/by-nc/2.5/).\n\nThis means you're free to copy and share these comics (but not to sell them). [More details](/license.html).\n```\n\n</details>\n\n## Installation\n\n### Using npm\n\n```bash\nnpm install dom-to-semantic-markdown\n```\n\n### Using npx (CLI)\n\n```bash\n> npx d2m@latest -h\nUsage: d2m [options]\n\nConvert DOM to Semantic Markdown\n\nOptions:\n  -V, --version                                   output the version number\n  -i, --input <file>                              Input HTML file\n  -o, --output <file>                             Output Markdown file\n  -e, --extract-main                              Extract main content\n  -u, --url <url>                                 URL to fetch HTML content from\n  -t, --track-table-columns                       Enable table column tracking for improved LLM data correlation\n  -m, --include-meta-data <\"basic\" | \"extended\">  Include metadata extracted from the HTML head\n  -p, --use-playwright                            Use Playwright to fetch HTML from URL (handles dynamic content)\n  --playwright-wait-until <event>                 Playwright page.goto waitUntil event. Allowed values: load, domcontentloaded, networkidle, commit. Default: load. (default: \"load\")\n  -h, --help                                      display help for command\n```\n\n## Usage\n\n### Browser\n\n```javascript\nimport {convertHtmlToMarkdown} from 'dom-to-semantic-markdown';\n\nconst markdown = convertHtmlToMarkdown(document.body);\nconsole.log(markdown);\n```\n\n### Node.js\n\n```javascript\nimport {convertHtmlToMarkdown} from 'dom-to-semantic-markdown';\nimport {JSDOM} from 'jsdom';\n\nconst html = '<h1>Hello, World!</h1><p>This is a <strong>test</strong>.</p>';\nconst dom = new JSDOM(html);\nconst markdown = convertHtmlToMarkdown(html, {overrideDOMParser: new dom.window.DOMParser()});\nconsole.log(markdown);\n```\n\n### CLI\n\n```bash\nd2m -i input.html -o output.md # Convert input.html to output.md\nd2m -u https://example.com -o output.md # Fetch and convert a webpage to Markdown\nd2m -i input.html -e # Extract main content from input.html\nd2m -i input.html -t # Enable table column tracking\nd2m -i input.html -m basic # Include basic metadata\nd2m -i input.html -m extended # Include extended metadata\n```\n\n## API\n\n### `convertHtmlToMarkdown(html: string, options?: ConversionOptions): string`\n\nConverts an HTML string to semantic Markdown.\n\n### `convertElementToMarkdown(element: Element, options?: ConversionOptions): string`\n\nConverts an HTML Element to semantic Markdown.\n\n### `ConversionOptions`\n\n* `websiteDomain?: string`: The domain of the website being converted.\n* `extractMainContent?: boolean`: Whether to extract only the main content of the page.\n* `refifyUrls?: boolean`: Whether to convert URLs to reference-style links.\n* `debug?: boolean`: Enable debug logging.\n* `overrideDOMParser?: DOMParser`: Custom DOMParser for Node.js environments.\n* `enableTableColumnTracking?: boolean`: Adds unique identifiers to table columns.\n* `overrideElementProcessing?: (element: Element, options: ConversionOptions, indentLevel: number) => SemanticMarkdownAST[] | undefined`:\n  Custom processing for HTML elements.\n* `processUnhandledElement?: (element: Element, options: ConversionOptions, indentLevel: number) => SemanticMarkdownAST[] | undefined`:\n  Handler for unknown HTML elements.\n* `overrideNodeRenderer?: (node: SemanticMarkdownAST, options: ConversionOptions, indentLevel: number) => string | undefined`:\n  Custom renderer for AST nodes.\n* `renderCustomNode?: (node: CustomNode, options: ConversionOptions, indentLevel: number) => string | undefined`:\n  Renderer for custom AST nodes.\n* `includeMetaData?: 'basic' | 'extended'`: Controls whether to include metadata extracted from the HTML head.\n    - `'basic'`: Includes standard meta tags like title, description, and keywords.\n    - `'extended'`: Includes basic meta tags, Open Graph tags, Twitter Card tags, and JSON-LD data.\n\n## Using the Output with LLMs\n\nThe semantic Markdown produced by this library is optimized for use with Large Language Models (LLMs). To use it effectively:\n\n1. Extract the Markdown content using the library.\n2. Start with a brief instruction or context for the LLM.\n3. Wrap the extracted Markdown in triple backticks (```).\n4. Follow the Markdown with your question or prompt.\n\nExample:\n\n````\nThe following is a semantic Markdown representation of a webpage. Please analyze its content:\n\n```markdown\n{paste your extracted markdown here}\n```\n\n{your question, e.g., \"What are the main points discussed in this article?\"}\n````\n\nThis format helps the LLM understand its task and the context of the content, enabling more accurate and relevant responses to your questions.\n\n## Contributing\n\nContributions are welcome! See the [CONTRIBUTING.md](CONTRIBUTING.md) file for details.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","readmeFilename":"README.md"}