{"_id":"@cyberlangke/tokkit-janhq","name":"@cyberlangke/tokkit-janhq","dist-tags":{"latest":"1.11.0"},"versions":{"1.11.0":{"name":"@cyberlangke/tokkit-janhq","version":"1.11.0","description":"Jan official model aliases for tokkit.","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"npm run build --workspace @cyberlangke/tokkit-core && npm run build --workspace @cyberlangke/tokkit-qwen && tsup","dev":"tsup --watch"},"dependencies":{"@cyberlangke/tokkit-core":"1.11.0","@cyberlangke/tokkit-qwen":"1.11.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/1cyberlangke1/tokkit.git"},"homepage":"https://github.com/1cyberlangke1/tokkit#readme","bugs":{"url":"https://github.com/1cyberlangke1/tokkit/issues"},"author":{"name":"cyberlangke"},"license":"Apache-2.0","gitHead":"8176eab986fd98b5e84b59ee47f343bd88767a00","_id":"@cyberlangke/tokkit-janhq@1.11.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-qxPRl8DcKKS5NQhfXt9SaNZbOhFQQ9C0hdQh7lmv6UBGUR72HJo/fxyi/L9hNUJvcp4r9luAeg8N2668rh2GrA==","shasum":"92287e1c9fb55125c3891b4c93c2003eab9d9c15","tarball":"https://registry.npmjs.org/@cyberlangke/tokkit-janhq/-/tokkit-janhq-1.11.0.tgz","fileCount":8,"unpackedSize":14447,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDgDIYiPIEc9FZepyqDDTQlI9KENbQqz8r5/pFLHoYNfAIhAJhMCtwPyh9ReX3kIA4UU3gKMoURhMX7eAtRDoFMzjdV"}]},"_npmUser":{"name":"cyberlangke","email":"3531702083@qq.com"},"directories":{},"maintainers":[{"name":"cyberlangke","email":"3531702083@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokkit-janhq_1.11.0_1775038486014_0.24582735424691093"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T10:14:45.916Z","1.11.0":"2026-04-01T10:14:46.170Z","modified":"2026-04-01T10:14:46.398Z"},"maintainers":[{"name":"cyberlangke","email":"3531702083@qq.com"}],"description":"Jan official model aliases for tokkit.","homepage":"https://github.com/1cyberlangke1/tokkit#readme","repository":{"type":"git","url":"git+https://github.com/1cyberlangke1/tokkit.git"},"author":{"name":"cyberlangke"},"bugs":{"url":"https://github.com/1cyberlangke1/tokkit/issues"},"license":"Apache-2.0","readme":"# @cyberlangke/tokkit-janhq\n\nJan 官方文本模型的 tokkit 子包。\n\n当前纳入的官方主线模型：\n\n- `janhq/Jan-v1-4B`\n- `janhq/Jan-v1-edge`\n- `janhq/Jan-v1-2509`\n- `janhq/Jan-v3-4B-base-instruct`\n- `janhq/Jan-v3.5-4B`\n- `janhq/Jan-code-4b`\n\n当前不纳入：\n\n- `*-gguf`\n- VL 线\n- LoRA / checkpoint / 训练中间态\n\n说明：\n\n- 上述纳入模型的 `tokenizer.json` 已验 hash，当前都与已支持的 `qwen3` family 完全一致。\n- 该子包不重复分发 tokenizer 快照，而是复用现有 `qwen3` family，并注册 Jan 官方模型别名。\n\n## 使用方法\n\n```bash\nnpm install @cyberlangke/tokkit-janhq\n```\n\n```ts\nimport { getEncoding } from \"@cyberlangke/tokkit-janhq\"\n\nconst tokenizer = await getEncoding(\"janhq/Jan-v3.5-4B\")\n\nconsole.log(tokenizer.encode(\"Hello, Jan!\"))\n```\n","readmeFilename":"README.md","_rev":"1-ed746b4da764f42a18e984807e4795e2"}