{"_id":"@8n/htm2md","_rev":"5-66a9b060b746b1371b415ea692c7d79b","name":"@8n/htm2md","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@8n/htm2md","version":"0.0.1","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"homepage":"https://github.com/i18n-site/node/tree/main/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"BSL1.1","exports":{".":"./index.js","./*":"./*"},"scripts":{},"type":"module","_id":"@8n/htm2md@0.0.1","gitHead":"16d19e21060fd22294fc0bd001c36cdf8c5e7865","description":"[‼️]: ✏️README.mdt","bugs":{"url":"https://github.com/i18n-site/node/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-dJo6sDIe6/FYDJ4+f8keIG3Mvg+pjDKucrhk/JMuj/9YTp0c/NbLlFp7MVaW5PxHCPwCTu4xM9l/moOyIVS7vA==","shasum":"6b2da7609373aaa45d07bf1f275aa73ac10d4ba6","tarball":"https://registry.npmjs.org/@8n/htm2md/-/htm2md-0.0.1.tgz","fileCount":3,"unpackedSize":1964,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcVmbYtBrtlnfSNLhIAuO7RRb9cnozzTjdH1vG1x48rgIhAJ7PiWnGkrQwCzhkX9AWQzLrpypHSKdetnGAALEDPkOY"}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm2md_0.0.1_1695807439541_0.3002986669358818"},"_hasShrinkwrap":false},"0.0.2":{"name":"@8n/htm2md","version":"0.0.2","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"homepage":"https://github.com/i18n-site/node/tree/main/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"BSL1.1","exports":{".":"./index.js","./*":"./*"},"scripts":{},"type":"module","_id":"@8n/htm2md@0.0.2","gitHead":"c761da30aa95ea815ae62df81a9be571979ee6f3","description":"[‼️]: ✏️README.mdt","bugs":{"url":"https://github.com/i18n-site/node/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-mL4s70uIef+xlmUgIvC0sFf2pqayU3e3Zw1b/0l/TznVkqKI9I1J0zNKL1HFLNtEMyZQNOR0V56yCvtTO0NSYQ==","shasum":"ab32e0da1b7b25c2b4c0b4864df0ece06058fbf3","tarball":"https://registry.npmjs.org/@8n/htm2md/-/htm2md-0.0.2.tgz","fileCount":3,"unpackedSize":2201,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkSw0t5xNy/51/ulTSGlv4heMBssvdd35NE4J47S1tSAIgVOZ/nPn0ZDicSN8gncW3lqFTLYeQgxV6SZB8nPGWQl4="}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm2md_0.0.2_1695808415050_0.673393751968351"},"_hasShrinkwrap":false},"0.0.3":{"name":"@8n/htm2md","version":"0.0.3","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"homepage":"https://github.com/i18n-site/node/tree/main/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"BSL1.1","exports":{".":"./index.js","./*":"./*"},"scripts":{},"type":"module","_id":"@8n/htm2md@0.0.3","gitHead":"73d17f8306803d774a8f9cc92785c6cee170c4b0","description":"[‼️]: ✏️README.mdt","bugs":{"url":"https://github.com/i18n-site/node/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-iM3fy1p2sPc3TbJreEwjiSSkuEoIDVNp4kJracpCBMLnTjBZtor+H5g8BQ3De7tvVkAhdrpwYw+/+nEeFX5GEg==","shasum":"4f7f7c895f32e2a34fc6894b82b8ed602902a5f9","tarball":"https://registry.npmjs.org/@8n/htm2md/-/htm2md-0.0.3.tgz","fileCount":3,"unpackedSize":2265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEele1sBMbTVnG2AROOgT7b3DLDwSWRaPYhrQYDuSBANAiEAw93HZuuOrlFFdE8zLrPl5YFzwPYEdQGNgr5FeubXSaI="}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm2md_0.0.3_1695809005403_0.9915138692173753"},"_hasShrinkwrap":false},"0.0.4":{"name":"@8n/htm2md","version":"0.0.4","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"homepage":"https://github.com/i18n-site/node/tree/main/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"BSL1.1","exports":{".":"./index.js","./*":"./*"},"scripts":{},"type":"module","_id":"@8n/htm2md@0.0.4","gitHead":"bd8ecf91077213d6c9b2291bd719853e0be19f8f","description":"[‼️]: ✏️README.mdt","bugs":{"url":"https://github.com/i18n-site/node/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-QoxD6VVhKiOjxJIYzZYS/X4rKJ6YCa38dRNqhrHcIYN5ItVSCbBtCbBIcVR4jeE2fxyRnFLKcNbrHjqZJk/RPw==","shasum":"c070413345aa5b75ae7ebc742e874b160adc4181","tarball":"https://registry.npmjs.org/@8n/htm2md/-/htm2md-0.0.4.tgz","fileCount":3,"unpackedSize":2637,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQswfCgFcDaYM3Fc7LurTcKKnPadAvVmSNRhh6NHSsiQIhAPL9aId8TlWhPMOIiaOKf5qzRxPJr1e79XXfq63ApV9v"}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm2md_0.0.4_1695810345643_0.3813467309374041"},"_hasShrinkwrap":false},"0.0.5":{"name":"@8n/htm2md","version":"0.0.5","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"homepage":"https://github.com/i18n-site/node/tree/main/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"BSL1.1","exports":{".":"./lib/index.js","./*":"./lib/*"},"scripts":{},"type":"module","_id":"@8n/htm2md@0.0.5","gitHead":"7935184cb65471c038b1c0b7f29521acbe4ee230","description":"[‼️]: ✏️README.mdt","bugs":{"url":"https://github.com/i18n-site/node/issues"},"_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-wyF7kBPw/RqdnTVka7eDhbmwDXUsA6M2ad7npWWehSmVpfoJ9/JS90Si1+KnhcHbFsbHla5xEnO1nOxX1o13ZQ==","shasum":"73aef1709128709d9975f89579038f4a521d3067","tarball":"https://registry.npmjs.org/@8n/htm2md/-/htm2md-0.0.5.tgz","fileCount":6,"unpackedSize":4467,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCu0oixgPFpnUrEUMY2NGZ5hc8AkVDQKoZWBrZ1smpUfgIhAOs8E67N+0lnBw6R0i+2+aXAs0Gc2942T4yDEvyxf8VR"}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm2md_0.0.5_1696123700241_0.28542577095826327"},"_hasShrinkwrap":false},"0.0.6":{"name":"@8n/htm2md","version":"0.0.6","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"homepage":"https://github.com/i18n-site/node/tree/main/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"BSL1.1","exports":{".":"./index.js","./*":"./*"},"scripts":{},"type":"module","dependencies":{"lodash-es":"^4.17.21"},"_id":"@8n/htm2md@0.0.6","gitHead":"9518a979c9bf98dff9117ca9b9b4c2b0d97fc265","description":"[‼️]: ✏️README.mdt","bugs":{"url":"https://github.com/i18n-site/node/issues"},"_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-Yx5IIQLNaX3+UrsPYSjZRz5k7yHBZ8x0MuTP2YfK5wxZCRpNgsuEN+9VkFjrrwS/EYvIY0IIm15HPEsj9AfbJw==","shasum":"46e47f9f2f042a31b18b8b2ab0e0086d1924878f","tarball":"https://registry.npmjs.org/@8n/htm2md/-/htm2md-0.0.6.tgz","fileCount":3,"unpackedSize":2786,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiFx/agO5HLpYcKCArZMqBqs2B8UcNS2emwiBroUFkNQIhAMOE/nvQU1hqhpGq/FKTOfOn4B/jf3UgDfUqxgbURU67"}]},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"directories":{},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm2md_0.0.6_1696736295622_0.8002875551557771"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-27T09:37:19.472Z","0.0.1":"2023-09-27T09:37:19.686Z","modified":"2023-10-08T03:38:15.991Z","0.0.2":"2023-09-27T09:53:35.241Z","0.0.3":"2023-09-27T10:03:25.585Z","0.0.4":"2023-09-27T10:25:45.782Z","0.0.5":"2023-10-01T01:28:20.432Z","0.0.6":"2023-10-08T03:38:15.787Z"},"maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"description":"[‼️]: ✏️README.mdt","homepage":"https://github.com/i18n-site/node/tree/main/htm2md","repository":{"type":"git","url":"git+https://github.com/i18n-site/node.git"},"author":{"name":"i18n.site@gmail.com"},"bugs":{"url":"https://github.com/i18n-site/node/issues"},"license":"BSL1.1","readme":"[‼️]: ✏️README.mdt\n\n# @8n/htm2md\n\n[test/main.coffee](./test/main.coffee) :\n\n```coffee\n#!/usr/bin/env coffee\n\n> @8n/htm2md\n\nfor htm from [\n  '<h1>I18N.SITE · 文档无国界 <img src=\"//ok0.pw/5l\" style=\"width:42px;float:right;margin-top:6px\"></h1>'\n  '<p>test&gt;</p>'\n  '<p>test&gt;<a href=\"#\">b</a></p>'\n  '<p>修改译文后需要重新运行 <code>./i18n.sh</code> 更新缓存。</p>'\n  '<p>修改译文后需要重新运行 <a href=\"/\">./i18n.sh</a> 更新缓存。</p>'\n  '<img src=\"/x.png\" alt=\"123\" />'\n  '<img src=\"/x.png\" alt=\"123\" style=\"width:100px\">'\n  '<p>需要在 ``` 之后表明语言， 比如 <code>```rust</code> 。</p>'\n  '<p>我想说，<strong>只有做了全站国际化，才能支持多语种的站内全文搜索和搜索引擎优化</strong>。</p>'\n]\n  console.log htm2md htm\n```\n\noutput :\n\n```\n# I18N.SITE · 文档无国界 <img src=\"//ok0.pw/5l\" style=\"width:42px;float:right;margin-top:6px\">\ntest&gt;\ntest&gt;[b](#)\n修改译文后需要重新运行 `./i18n.sh` 更新缓存。\n修改译文后需要重新运行 [./i18n.sh](/) 更新缓存。\n![123](/x.png)\n<img src=\"/x.png\" alt=\"123\" style=\"width:100px\">\n需要在 \\``` 之后表明语言， 比如 ` ```rust` 。\n我想说，**只有做了全站国际化，才能支持多语种的站内全文搜索和搜索引擎优化**。\n```\n","readmeFilename":"README.md"}