{"_id":"@3-/htm2md","_rev":"3-4403068babd6c246021c997a365bc6ad","name":"@3-/htm2md","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@3-/htm2md","version":"0.0.1","author":{"name":"3Ti.Site@gmail.com"},"license":"Apache-2.0","_id":"@3-/htm2md@0.0.1","maintainers":[{"name":"3tier","email":"3ti.site@gmail.com"}],"homepage":"https://github.com/3TiSite/node/tree/main/htm2md","bugs":{"url":"https://github.com/3TiSite/node/issues"},"dist":{"shasum":"20457678db86ffa5ff856a9db7ecc37b8ac3b5cb","tarball":"https://registry.npmjs.org/@3-/htm2md/-/htm2md-0.0.1.tgz","fileCount":3,"integrity":"sha512-24iU5st1SJVkH7Dr4dtrbe3qjKAgkzG8XkephMy1vO0+n5lZ/Urmgo0uSQXB19hjO8blm+HO346BNEktbOpTSg==","signatures":[{"sig":"MEMCIGsnOICowfoWv3DSymbuxNbnWiljCj2xzvDhd0n6UFRQAh8QR95WMjjxDYRroX69joDskTv05G7shfqdZt9Y9xsT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2772},"type":"module","exports":{".":"./index.js","./*":"./*"},"gitHead":"be623b3988abb63b6501da6f90a2f1fce17b0270","_npmUser":{"name":"3tier","email":"3ti.site@gmail.com"},"repository":{"url":"git+https://github.com/3TiSite/node.git","type":"git"},"_npmVersion":"10.1.0","description":"[‼️]: ✏️README.mdt","directories":{},"_nodeVersion":"20.8.1","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/htm2md_0.0.1_1698028203445_0.7574541832015809","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@3-/htm2md","version":"0.0.2","repository":{"type":"git","url":"https://atomgit.com/i18n/lib.git"},"homepage":"https://atomgit.com/i18n/lib/tree/dev/htm2md","author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","exports":{".":"./index.js","./*":"./*"},"type":"module","dependencies":{"lodash-es":"^4.17.21"},"_id":"@3-/htm2md@0.0.2","description":"[test/main.coffee](./test/main.coffee) :","_integrity":"sha512-vRdKdJvRXd9ySvugE7otK0H/3GKI9erTt5+f20uBc7W+LQ/CGh1swW00ywpanJ4FLQxFMR918oWORxI4LO833Q==","_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/bb5e344725d31a8100eec9d706139fef/3--htm2md-0.0.2.tgz","_from":"file:3--htm2md-0.0.2.tgz","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-vRdKdJvRXd9ySvugE7otK0H/3GKI9erTt5+f20uBc7W+LQ/CGh1swW00ywpanJ4FLQxFMR918oWORxI4LO833Q==","shasum":"aabdb342b8797ebc2c623b49c394063401406a42","tarball":"https://registry.npmjs.org/@3-/htm2md/-/htm2md-0.0.2.tgz","fileCount":3,"unpackedSize":4052,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8xNlE5o+0L7e4eF1IaJR3SD4MWtH0dB95W/cemCjqUAiAmNI7CqJmXxndqXXR0YW+laqljQyHgOCl+Cs/eTKwjVA=="}]},"_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_1723892762624_0.6785756356380939"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-23T02:30:03.326Z","modified":"2024-08-17T11:06:03.079Z","0.0.1":"2023-10-23T02:30:03.589Z","0.0.2":"2024-08-17T11:06:02.775Z"},"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","homepage":"https://atomgit.com/i18n/lib/tree/dev/htm2md","repository":{"type":"git","url":"https://atomgit.com/i18n/lib.git"},"description":"[test/main.coffee](./test/main.coffee) :","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"readme":"# @3-/htm2md\n\n[test/main.coffee](./test/main.coffee) :\n\n```coffee\n#!/usr/bin/env coffee\n\n> @3-/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\n## About This Project\n\nThis project is an open-source component of [i18n.site ⋅ Internationalization Solution](https://i18n.site).\n\n* [i18 : MarkDown Command Line Translation Tool](https://i18n.site/i18)\n\n  The translation perfectly maintains the Markdown format.\n\n  It recognizes file changes and only translates the modified files.\n\n  The translated Markdown content is editable; if you modify the original text and translate it again, manually edited translations will not be overwritten (as long as the original text has not been changed).\n\n* [i18n.site : MarkDown Multi-language Static Site Generator](https://i18n.site/i18n.site)\n\n  Optimized for a better reading experience\n\n## 关于本项目\n\n本项目为 [i18n.site ⋅ 国际化解决方案](https://i18n.site) 的开源组件。\n\n* [i18 :  MarkDown命令行翻译工具](https://i18n.site/i18)\n\n  翻译能够完美保持 Markdown 的格式。能识别文件的修改，仅翻译有变动的文件。\n\n  Markdown 翻译内容可编辑；如果你修改原文并再次机器翻译，手动修改过的翻译不会被覆盖（如果这段原文没有被修改）。\n\n* [i18n.site : MarkDown多语言静态站点生成器](https://i18n.site/i18n.site) 为阅读体验而优化。","readmeFilename":"README.md"}