{"_id":"@arkts/twoslash","_rev":"5-af01fb263ef30e444899675f6d3d702d","name":"@arkts/twoslash","dist-tags":{"latest":"0.3.8"},"versions":{"0.3.4":{"name":"@arkts/twoslash","version":"0.3.4","author":{"name":"TypeScript team"},"license":"MIT","_id":"@arkts/twoslash@0.3.4","maintainers":[{"name":"guhuan","email":"1203970284@qq.com"}],"homepage":"https://github.com/twoslashes/twoslash","bugs":{"url":"https://github.com/twoslashes/twoslash/issues"},"dist":{"shasum":"d84846c1aff118602b9ee556b4e0c6d118ab61f3","tarball":"https://registry.npmjs.org/@arkts/twoslash/-/twoslash-0.3.4.tgz","fileCount":1640,"integrity":"sha512-rGHVWTUIUNPHpxkSCCZLR46Ph5FD6bxAjSdM363ljPJuMeAUZdeF8Q9fExatYfMSHd6IcPLJASPRRvRwKjJnrA==","signatures":[{"sig":"MEYCIQDQalpA+ICVllqlm/9MQWibvj9KPRmJFCbmIuNdeK0IfgIhAJ+TdrlEMQT6vqbYOLcwa79j9Ls9dAZWpgnyznN8dfxo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23129139},"main":"dist/index.mjs","type":"module","_from":"file:arkts-twoslash-0.3.4.tgz","types":"dist/index.d.mts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./core":{"import":"./dist/core.mjs","require":"./dist/core.cjs"},"./loader":{"import":"./dist/loader.mjs","require":"./dist/loader.cjs"},"./fallback":{"import":"./dist/fallback.mjs","require":"./dist/fallback.cjs"}},"scripts":{"build":"tsdown"},"_npmUser":{"name":"guhuan","email":"1203970284@qq.com"},"_resolved":"/private/var/folders/dz/l6cpg0g106g9wm2yjy00y1ph0000gn/T/7be53baf7b7d89efb6b682c34834507e/arkts-twoslash-0.3.4.tgz","_integrity":"sha512-rGHVWTUIUNPHpxkSCCZLR46Ph5FD6bxAjSdM363ljPJuMeAUZdeF8Q9fExatYfMSHd6IcPLJASPRRvRwKjJnrA==","repository":{"url":"git+https://github.com/twoslashes/twoslash.git","type":"git","directory":"packages/twoslash"},"_npmVersion":"10.9.2","description":"Twoslash for ArkTS language, markup for generating rich type information in your documentations ahead of time.","directories":{},"lint-staged":{"*":"eslint --fix"},"_nodeVersion":"22.17.1","dependencies":{"fast-glob":"^3.3.3","@typescript/vfs":"npm:@arkts/vfs@1.1.5","twoslash-protocol":"^0.3.4"},"_hasShrinkwrap":false,"devDependencies":{"ohash":"^2.0.11"},"peerDependencies":{"ohos-typescript":"^4.9.5-r10"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/twoslash_0.3.4_1762442915486_0.730151863540407","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@arkts/twoslash","version":"0.3.5","author":{"name":"TypeScript team"},"license":"MIT","_id":"@arkts/twoslash@0.3.5","maintainers":[{"name":"guhuan","email":"1203970284@qq.com"}],"homepage":"https://github.com/twoslashes/twoslash","bugs":{"url":"https://github.com/twoslashes/twoslash/issues"},"dist":{"shasum":"0c4af3477b285b361ce1418cd17d527cba8fc9ae","tarball":"https://registry.npmjs.org/@arkts/twoslash/-/twoslash-0.3.5.tgz","fileCount":1640,"integrity":"sha512-Zb2JsW1dwIFMTanViDOST2gLNVyFtgtP5laxiMhyFB1eVmuGljOljnrN/oLwinFdHyeVKguMQEToYTRyUk+06Q==","signatures":[{"sig":"MEUCIQChWgm6oPP7ZivG/H/Z3MZSo31WceNcvwLkxr1VYGkNAAIgTaIQNF1fd8cVG7EBj37nRzKKlxnarervixSfapAMKRU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23129603},"main":"dist/index.mjs","type":"module","_from":"file:arkts-twoslash-0.3.5.tgz","types":"dist/index.d.mts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./core":{"import":"./dist/core.mjs","require":"./dist/core.cjs"},"./loader":{"import":"./dist/loader.mjs","require":"./dist/loader.cjs"},"./fallback":{"import":"./dist/fallback.mjs","require":"./dist/fallback.cjs"}},"scripts":{"build":"tsdown"},"_npmUser":{"name":"guhuan","email":"1203970284@qq.com"},"_resolved":"/private/var/folders/dz/l6cpg0g106g9wm2yjy00y1ph0000gn/T/393b549520b40983d1de6de1277f9484/arkts-twoslash-0.3.5.tgz","_integrity":"sha512-Zb2JsW1dwIFMTanViDOST2gLNVyFtgtP5laxiMhyFB1eVmuGljOljnrN/oLwinFdHyeVKguMQEToYTRyUk+06Q==","repository":{"url":"git+https://github.com/twoslashes/twoslash.git","type":"git","directory":"packages/twoslash"},"_npmVersion":"10.9.2","description":"Twoslash for ArkTS language, markup for generating rich type information in your documentations ahead of time.","directories":{},"lint-staged":{"*":"eslint --fix"},"_nodeVersion":"22.17.1","dependencies":{"fast-glob":"^3.3.3","@typescript/vfs":"npm:@arkts/vfs@1.1.5","twoslash-protocol":"^0.3.4"},"_hasShrinkwrap":false,"devDependencies":{"ohash":"^2.0.11"},"peerDependencies":{"ohos-typescript":"^4.9.5-r10"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/twoslash_0.3.5_1762454634989_0.29076072904124683","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"@arkts/twoslash","version":"0.3.6","author":{"name":"TypeScript team"},"license":"MIT","_id":"@arkts/twoslash@0.3.6","maintainers":[{"name":"guhuan","email":"1203970284@qq.com"}],"homepage":"https://github.com/twoslashes/twoslash","bugs":{"url":"https://github.com/twoslashes/twoslash/issues"},"dist":{"shasum":"3d95bb7bce0960a654ea8f6213218f245d892468","tarball":"https://registry.npmjs.org/@arkts/twoslash/-/twoslash-0.3.6.tgz","fileCount":1640,"integrity":"sha512-MnqMNzfTDUumR99HRiElgqMjzo9xRe9mRxgRZxhpMhK5OxLhGsOm/JKEEyLb+U9AaIu6Q/ktsyGVbWFiXkvAng==","signatures":[{"sig":"MEUCIQD44D3DKuBko3AYimRz4qUVRU7Nv/WxtO0gtfn0CAL2PQIgBHDrsC42IJcgagmsmCJ2XO7KF+RngDq6GK2VuT7g9Ow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23129632},"main":"dist/index.mjs","type":"module","_from":"file:arkts-twoslash-0.3.6.tgz","types":"dist/index.d.mts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./core":{"import":"./dist/core.mjs","require":"./dist/core.cjs"},"./loader":{"import":"./dist/loader.mjs","require":"./dist/loader.cjs"},"./fallback":{"import":"./dist/fallback.mjs","require":"./dist/fallback.cjs"}},"scripts":{"build":"tsdown"},"_npmUser":{"name":"guhuan","email":"1203970284@qq.com"},"_resolved":"/private/var/folders/dz/l6cpg0g106g9wm2yjy00y1ph0000gn/T/5e73a79837b22aae3d4d5a7d40886d73/arkts-twoslash-0.3.6.tgz","_integrity":"sha512-MnqMNzfTDUumR99HRiElgqMjzo9xRe9mRxgRZxhpMhK5OxLhGsOm/JKEEyLb+U9AaIu6Q/ktsyGVbWFiXkvAng==","repository":{"url":"git+https://github.com/twoslashes/twoslash.git","type":"git","directory":"packages/twoslash"},"_npmVersion":"10.9.2","description":"Twoslash for ArkTS language, markup for generating rich type information in your documentations ahead of time.","directories":{},"lint-staged":{"*":"eslint --fix"},"_nodeVersion":"22.17.1","dependencies":{"fast-glob":"^3.3.3","@typescript/vfs":"npm:@arkts/vfs@1.1.5","twoslash-protocol":"^0.3.4"},"_hasShrinkwrap":false,"devDependencies":{"ohash":"^2.0.11"},"peerDependencies":{"ohos-typescript":"^4.9.5-r10"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/twoslash_0.3.6_1762522906700_0.15969158703004127","host":"s3://npm-registry-packages-npm-production"}},"0.3.7":{"name":"@arkts/twoslash","version":"0.3.7","author":{"name":"TypeScript team"},"license":"MIT","_id":"@arkts/twoslash@0.3.7","maintainers":[{"name":"guhuan","email":"1203970284@qq.com"}],"homepage":"https://github.com/twoslashes/twoslash","bugs":{"url":"https://github.com/twoslashes/twoslash/issues"},"dist":{"shasum":"c7d6b8eba16afb743f3d4c236db5082b35b0ef5e","tarball":"https://registry.npmjs.org/@arkts/twoslash/-/twoslash-0.3.7.tgz","fileCount":1640,"integrity":"sha512-6pBK94d9aAT7gp0DfuYN+1F3H3W0ssIT4j93xSCl+YIVW+pwYZyO/j+9U+SUHNSHzhT/givjezXGCspu9SXrsg==","signatures":[{"sig":"MEQCIAV7Lli9dy46fHfKdgR/0TdGU0ErEmgqUhG1usr7iXJhAiApd3oCk6zVi8stAjxvPzkcA8kBqIdv2tiQTCeRtFf79g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23129683},"main":"dist/index.mjs","type":"module","_from":"file:arkts-twoslash-0.3.7.tgz","types":"dist/index.d.mts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./core":{"import":"./dist/core.mjs","require":"./dist/core.cjs"},"./loader":{"import":"./dist/loader.mjs","require":"./dist/loader.cjs"},"./fallback":{"import":"./dist/fallback.mjs","require":"./dist/fallback.cjs"}},"scripts":{"build":"tsdown"},"_npmUser":{"name":"guhuan","email":"1203970284@qq.com"},"_resolved":"/private/var/folders/dz/l6cpg0g106g9wm2yjy00y1ph0000gn/T/2ac935f77846587fbd66e90506abf835/arkts-twoslash-0.3.7.tgz","_integrity":"sha512-6pBK94d9aAT7gp0DfuYN+1F3H3W0ssIT4j93xSCl+YIVW+pwYZyO/j+9U+SUHNSHzhT/givjezXGCspu9SXrsg==","repository":{"url":"git+https://github.com/twoslashes/twoslash.git","type":"git","directory":"packages/twoslash"},"_npmVersion":"10.9.2","description":"Twoslash for ArkTS language, markup for generating rich type information in your documentations ahead of time.","directories":{},"lint-staged":{"*":"eslint --fix"},"_nodeVersion":"22.17.1","dependencies":{"fast-glob":"^3.3.3","@typescript/vfs":"npm:@arkts/vfs@1.1.5","twoslash-protocol":"^0.3.4"},"_hasShrinkwrap":false,"devDependencies":{"ohash":"^2.0.11"},"peerDependencies":{"ohos-typescript":"^4.9.5-r10"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/twoslash_0.3.7_1762523471779_0.9182253630565826","host":"s3://npm-registry-packages-npm-production"}},"0.3.8":{"name":"@arkts/twoslash","type":"module","version":"0.3.8","description":"Twoslash for ArkTS (.ets), markup for generating rich type information in your documentations ahead of time.","author":{"name":"Naily Zero","email":"zero@naily.cc"},"license":"MIT","homepage":"https://github.com/ohosvscode/twoslash","repository":{"url":"git+https://github.com/ohosvscode/twoslash.git","type":"git","directory":"packages/twoslash"},"bugs":{"url":"https://github.com/ohosvscode/twoslash/issues"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./core":{"import":"./dist/core.mjs","require":"./dist/core.cjs"},"./fallback":{"import":"./dist/fallback.mjs","require":"./dist/fallback.cjs"},"./loader":{"import":"./dist/loader.mjs","require":"./dist/loader.cjs"}},"main":"dist/index.mjs","module":"dist/index.mjs","types":"dist/index.d.mts","peerDependencies":{"ohos-typescript":"^4.9.5-r10"},"dependencies":{"@typescript/vfs":"npm:@arkts/vfs@1.1.5","fast-glob":"^3.3.3","twoslash-protocol":"^0.3.4"},"devDependencies":{"ohash":"^2.0.11"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"tsdown"},"_id":"@arkts/twoslash@0.3.8","_integrity":"sha512-6T1yFztR0eRYWk+dkH7GSproNW9vbumndu+25TQL4oLlyYZS00nfMq3emkPb4EYmDXMhvDYUahtIUvkVOKYd2Q==","_resolved":"/private/var/folders/dz/l6cpg0g106g9wm2yjy00y1ph0000gn/T/f77bb09134a2d6f1268cd6ab5877e0c3/arkts-twoslash-0.3.8.tgz","_from":"file:arkts-twoslash-0.3.8.tgz","_nodeVersion":"22.17.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-6T1yFztR0eRYWk+dkH7GSproNW9vbumndu+25TQL4oLlyYZS00nfMq3emkPb4EYmDXMhvDYUahtIUvkVOKYd2Q==","shasum":"240f70606283664577d3388c9bc7da7e25231e5a","tarball":"https://registry.npmjs.org/@arkts/twoslash/-/twoslash-0.3.8.tgz","fileCount":1640,"unpackedSize":23129579,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCxyTQY0qwX+M9Jrw4B7TGblnU/llklDyJgaxkc5BujKAIhAJeAj4qUSt2sJOr0WdyS9/9AKEmypNaQsl6PoirQTUWj"}]},"_npmUser":{"name":"guhuan","email":"1203970284@qq.com"},"directories":{},"maintainers":[{"name":"guhuan","email":"1203970284@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/twoslash_0.3.8_1762557355183_0.8232959418994308"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-06T15:28:35.398Z","modified":"2025-11-07T23:15:55.796Z","0.3.4":"2025-11-06T15:28:35.750Z","0.3.5":"2025-11-06T18:43:55.245Z","0.3.6":"2025-11-07T13:41:46.986Z","0.3.7":"2025-11-07T13:51:11.991Z","0.3.8":"2025-11-07T23:15:55.574Z"},"bugs":{"url":"https://github.com/ohosvscode/twoslash/issues"},"author":{"name":"Naily Zero","email":"zero@naily.cc"},"license":"MIT","homepage":"https://github.com/ohosvscode/twoslash","repository":{"url":"git+https://github.com/ohosvscode/twoslash.git","type":"git","directory":"packages/twoslash"},"description":"Twoslash for ArkTS (.ets), markup for generating rich type information in your documentations ahead of time.","maintainers":[{"name":"guhuan","email":"1203970284@qq.com"}],"readme":"<img src=\"https://arkcode.dev/images/twoslash-plus-arkts.svg\" alt=\"Twoslash Logo\" width=\"230\">\n\n# Twoslash for ArkTS\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n[![License][license-src]][license-href]\n\n[📚 Documentation](https://arkcode.dev/twoslash/guide)\n\nA markup format for ArkTS (.ets) code, ideal for creating self-contained code samples which let the ArkTS compiler do the extra leg-work. It is a fork of the [Twoslash](https://github.com/twoslashes/twoslash) project, but adapted for ArkTS.\n\n## License\n\nMIT License © [Orta Therox](https://github.com/orta), [Anthony Fu](https://github.com/antfu), Microsoft Corporation, [ArkCode](https://arkcode.dev) contributors\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/@arkts/twoslash?style=flat&colorA=161514&colorB=EAB836\n[npm-version-href]: https://npmjs.com/package/@arkts/twoslash\n[npm-downloads-src]: https://img.shields.io/npm/dm/@arkts/twoslash?style=flat&colorA=161514&colorB=E66041\n[npm-downloads-href]: https://npmjs.com/package/@arkts/twoslash\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/@arkts/twoslash?style=flat&colorA=161514&colorB=45627B&label=minzip\n[bundle-href]: https://bundlephobia.com/result?p=@arkts/twoslash\n[license-src]: https://img.shields.io/github/license/ohosvscode/twoslash.svg?style=flat&colorA=161514&colorB=45627B\n[license-href]: https://github.com/ohosvscode/twoslash/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-161514?style=flat&colorA=161514&colorB=EAB836\n[jsdocs-href]: https://www.jsdocs.io/package/@arkts/twoslash\n","readmeFilename":"README.md"}