{"_id":"@3-/half","_rev":"1-1ff35b4584cf7a9d9b26f662de1de433","name":"@3-/half","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@3-/half","version":"0.1.1","author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","_id":"@3-/half@0.1.1","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"homepage":"https://atomgit.com/i18n/lib/tree/dev/half","dist":{"shasum":"e5451b722906949f383af5450a3195288cb2675f","tarball":"https://registry.npmjs.org/@3-/half/-/half-0.1.1.tgz","fileCount":3,"integrity":"sha512-JC/Ar5m5iO2FyeydNAOc3VVi9jzOU9K+msM0AhNbPahyUG3hY9lByyjVxobAl6JPPjLH6zDZ9PWDeCw4MASyxg==","signatures":[{"sig":"MEYCIQDWafSzyw23G2CcmAxZwxpbShag4b8HETicmhChIpd/zgIhAN1pVtYUiXnHze2f1bbgF4ct/Oc6DvZVP+Y0gyCrsHPC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3376},"type":"module","_from":"file:3--half-0.1.1.tgz","exports":{".":"./lib.js","./*":"./*"},"scripts":{},"_npmUser":{"name":"i18n-now","email":"i18n.site@gmail.com"},"_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/b757786e4c8da5efaa888bd688a9166a/3--half-0.1.1.tgz","_integrity":"sha512-JC/Ar5m5iO2FyeydNAOc3VVi9jzOU9K+msM0AhNbPahyUG3hY9lByyjVxobAl6JPPjLH6zDZ9PWDeCw4MASyxg==","repository":{"url":"git+https://atomgit.com/i18n/lib.git","type":"git"},"_npmVersion":"10.8.1","description":"[test/main.coffee](./test/main.coffee) :","directories":{},"_nodeVersion":"22.3.0","_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/half_0.1.1_1730536811280_0.664713215820558","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@3-/half","version":"0.1.2","repository":{"type":"git","url":"git+https://atomgit.com/i18n/lib.git"},"homepage":"https://atomgit.com/i18n/lib/tree/dev/half","author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","exports":{".":"./lib.js","./*":"./*"},"devDependencies":{},"type":"module","scripts":{},"_id":"@3-/half@0.1.2","description":"[test/main.coffee](./test/main.coffee) :","_integrity":"sha512-LU+zFw1XHElRTrV0TBvkGKAP1+j9RoLVGBZ66GHmCCGKBohpDKo/gEuSaU5dJfNgiAGSA4owG/SlMyhBGuvzVw==","_resolved":"/private/var/folders/4x/n5x1dwrj39v_hl53vyprqcn80000gn/T/f5046dcecf5173c25570a74fbb7df691/3--half-0.1.2.tgz","_from":"file:3--half-0.1.2.tgz","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-LU+zFw1XHElRTrV0TBvkGKAP1+j9RoLVGBZ66GHmCCGKBohpDKo/gEuSaU5dJfNgiAGSA4owG/SlMyhBGuvzVw==","shasum":"f55ac92302f51f32fac181c2686ddc4aeba56710","tarball":"https://registry.npmjs.org/@3-/half/-/half-0.1.2.tgz","fileCount":3,"unpackedSize":3504,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTPN0EeIsUGp/iAvjOaVngW5J2xaxRXWgwfj83sbfo+AIhAM1f8XX1l3VOqu2ZOJrI+1ZSAal9cTFl5a2WmOcsT2aI"}]},"_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/half_0.1.2_1730538127429_0.5079461664904861"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-02T08:40:11.139Z","modified":"2024-11-02T09:02:07.846Z","0.1.1":"2024-11-02T08:40:11.487Z","0.1.2":"2024-11-02T09:02:07.614Z"},"author":{"name":"i18n.site@gmail.com"},"license":"Apache-2.0","homepage":"https://atomgit.com/i18n/lib/tree/dev/half","repository":{"type":"git","url":"git+https://atomgit.com/i18n/lib.git"},"description":"[test/main.coffee](./test/main.coffee) :","maintainers":[{"name":"i18n-now","email":"i18n.site@gmail.com"}],"readme":"# @3-/half\n\n[test/main.coffee](./test/main.coffee) :\n\n```coffee\n#!/usr/bin/env coffee\n\n> @3-/half\n\ntestCases = [\n  \"全角字符：啊！你好，世界。\",\n  \"这是一段测试文本，包含全角标点！\",\n  \"测试正常的空格和全角空格：　\",\n  \"只有半角字符：Hello World!\",\n]\n\nfor testCase in testCases\n  console.log(\"输入: #{testCase}\\n输出: #{half(testCase)}\\n\")\n```\n\noutput :\n\n```\n输入: 全角字符：啊！你好，世界。\n输出: 全角字符: 啊! 你好, 世界。\n\n输入: 这是一段测试文本，包含全角标点！\n输出: 这是一段测试文本, 包含全角标点!\n\n输入: 测试正常的空格和全角空格：　\n输出: 测试正常的空格和全角空格:\n\n输入: 只有半角字符：Hello World!\n输出: 只有半角字符: Hello World!\n```\n\n## About\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) 为阅读体验而优化。\n","readmeFilename":"README.md"}