{"_id":"@blazen-dev/wasi-tiktoken","_rev":"12-e6f3775d50c081e9beb5987a354b10f2","name":"@blazen-dev/wasi-tiktoken","dist-tags":{"latest":"0.7.0"},"versions":{"0.6.4":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.4","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.4","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"f355635c49109c9cc46ceb4ace03388e9d5ae44e","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.4.tgz","fileCount":5,"integrity":"sha512-Wi14lhi0JGNg0BNGq2WntpPIwqeJLpPE9YMYCekAxq+R+LDz5najjpz1n2JjIpp33kZ9QWBN/emu2x9C9tOpeQ==","signatures":[{"sig":"MEQCIB/XbOU3ksgwjTRBBtlrCTB3VM5pKrl+qmJmGKLEjSv/AiBA7tjm2rg0SiSBtEEmup4v+rsrn/nQddSaGLU0ZWXTvQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3668},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"a60926948db1266d137c597470c46b27569816a3","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.4_1780546308375_0.5418484021992829","host":"s3://npm-registry-packages-npm-production"}},"0.6.5":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.5","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.5","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"27b5739d26963922a7589f42033fe7635c10f6f4","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.5.tgz","fileCount":5,"integrity":"sha512-irTb1aje2WKcNzruLYbcNYGficZrfho9BQSaz21r6UaWiyFkRsSH/SDJqseBuon8FKvcyosg1t4an0qBUMxPqw==","signatures":[{"sig":"MEYCIQDHoW5xjcWyoH410wd+F+WpurHruz3eOckqFVK1jb+iwAIhALkyO+tHQLkvLHiZ4Ax+Yyl/NmS17Hxk4YhBz7E//2ZY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3668},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"0b4acfca072fda0520a394ab380b7334eb63e7af","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.4","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.5_1780688624653_0.4322205031891355","host":"s3://npm-registry-packages-npm-production"}},"0.6.6":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.6","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.6","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"6e9b02029638f399cddf8bf051a7419b9d7717b7","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.6.tgz","fileCount":5,"integrity":"sha512-Z8s1UV6/rWHv6cCugpYHlB75vT9blxS8e8vJeJH1lENocziwiJQZEjvsK6jaRNj614FhG4dIrIMJJBW47JmPvg==","signatures":[{"sig":"MEQCIE5kc3AYmkH7tMZGvxcyffUsJH8O3H1bX2c05LjIm/lKAiBIYnLxXn5vJQZTIcPGc6NkQgF28GsIXZwrpC0A4Rjv4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3668},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"70582cd2666b2fdd24b5ee567e131f6db8cb17b8","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.4","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.6_1780873322236_0.6650353769492527","host":"s3://npm-registry-packages-npm-production"}},"0.6.7":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.7","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.7","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"91947a084cbc13c645d1dd1fc21734e01a633222","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.7.tgz","fileCount":5,"integrity":"sha512-MXrPfAiN2BdNZA/+8yT0S9VkKPR7Daox86nbpeVaQ6cfmyIB76wbe5eJ7eawP4qVXZmkm5dgrAabIkmkpZe+QQ==","signatures":[{"sig":"MEQCIB3/6Ff9uIpNV04t0qZNjccAz6EmPV6z5SGPO2EkNuOCAiBPgSEFZK4WQoEAxS8ljQcsa/cx+dlayul8a2r8Nb1tgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3668},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"3b44c30df93325a923b03802e1e8e84c8f2ec3ae","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.7_1780906580688_0.30837614508334155","host":"s3://npm-registry-packages-npm-production"}},"0.6.69":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.69","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.69","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"2b70b913e31606fccb3f9997099e4ad5dc9fcc14","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.69.tgz","fileCount":5,"integrity":"sha512-q8VVv6ZB1029TyPAwD4HvbsYvQ5/85e9pP0vMUUOThbWQs1sxY6njvoheiTrr3wNiropcMoe8NPNHlyYr4cbTA==","signatures":[{"sig":"MEUCIDtKlxfpKaI/LDlmBPwLHbq0ZE3w1urxHeV+U0l+G3WIAiEAq9QCMDkPJrrByLm3Tdu8AgM3XFr5CIi5tifaf/ki0d0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"35153e06bb6cabc1b41a04f86acbd0dad10a1bfd","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.69"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.69_1780992268844_0.5980062664827888","host":"s3://npm-registry-packages-npm-production"}},"0.6.70":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.70","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.70","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"928a0ef7c861051af8034f1b4d56ceb0173ea4a7","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.70.tgz","fileCount":5,"integrity":"sha512-ailRJ5prN2lSs6jryBXgfRFqiE13aQuUv5sTTXY+96ssJWqQ4EtEMH8Du53dAPl0h9D2ZhwRQ0LUygFNoP2afw==","signatures":[{"sig":"MEYCIQC7m7lQkzfJB7KGHgwYsxcG2pZoQwLWP5KvtJXtMpncgwIhAMqWdMixl8EPj38meiXgId7SOQ3H5eNhZI6xIbf1J84+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"35153e06bb6cabc1b41a04f86acbd0dad10a1bfd","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.4","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.70"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.70_1781015597601_0.33485681083045904","host":"s3://npm-registry-packages-npm-production"}},"0.6.71":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.71","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.71","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"14dfdf2c4e24eba8fb06e527433ad28902136395","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.71.tgz","fileCount":5,"integrity":"sha512-vv1Ha0JV2eEgDpoWAw7yopCnG8igocIq2KtMXFw5LV4A/YBgOcT77Aw1ytrJ/y6f2rSL3bGL/eY7YAIXkGMnnw==","signatures":[{"sig":"MEQCIF2iO3lm3m88+EzkAwMPVVu3Edtj+hpYggioVc/Qpid2AiAx+railcIbYSfuCRe1rzL6D4pLHevLFzLnAzBzxUOR6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"18f093f3bff31e80b1c0a04e67a55d6c3d343288","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.71"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.71_1781048343071_0.502377977004306","host":"s3://npm-registry-packages-npm-production"}},"0.6.72":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.72","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.72","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"0b290895998c0803fd5efe049c2357d0cf358a2c","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.72.tgz","fileCount":5,"integrity":"sha512-aAEJN/5AYbOr0LByD0pQXz11sKJiyXywO/1eJVnV1pypO/Z618Xg6OnD6+F8utYG7TGCZ6galRTowIUe8SivMw==","signatures":[{"sig":"MEYCIQDnl/EUKeH9mRM4jAlrNWZKvJ0RAJnmPTvOU4oEAHWkEAIhAMaP4bIbxCIqmNtqDpj0K9rkvI9lKKSg2GVMuCK+Te8i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"95f9aaf41acba499f09514afa402c6e87054630c","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.72"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.72_1781222930979_0.4615042842657129","host":"s3://npm-registry-packages-npm-production"}},"0.6.73":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.73","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.73","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"d3353a4ef5c39fcaefd3fcfa2051acedbab7ee6e","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.73.tgz","fileCount":5,"integrity":"sha512-hWu7y4KFMvnzF6pch/EhmjcCZTlpBo5T0ORaMsbDokfiTsav8WKE1BaQ26BNoz7BkY0KiIc85RkF1bgLW3jAbw==","signatures":[{"sig":"MEYCIQDj76GZq4xbhwqsW6vXwGMDZzeTQKy517Vm9OpL4Dze9QIhAPkgnfx4IEuusHlfgcCQCiwGcXuv642DUe9Z9rV0frGJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"f2c99b935036ed91fb034bb5adea55c93d0af8c2","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.73"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.73_1781277403940_0.9968886170251843","host":"s3://npm-registry-packages-npm-production"}},"0.6.74":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.74","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.74","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"35672964baa0a01958d938b664df2f085aa60ed0","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.74.tgz","fileCount":5,"integrity":"sha512-zRGMEYvUamOXoF0yvRWZXyYfivMMyX31ReWivj+KGoyTnQsGQ8v0WHwmqN6aFJwcT+2YqDSa9aJZGFKtDUQu/g==","signatures":[{"sig":"MEUCIAdbY1MOeigXCDsOSP6datR1XgzXQnoYb2ITuuUcWFdDAiEA4K7bJiza/n8i/8/i+lsblU59cWgWrXMy/CcXO220sZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"bb56beff66cac0dcb1ebad335304c326e28d6f27","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.4","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.74"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.74_1781322525665_0.47460451378429935","host":"s3://npm-registry-packages-npm-production"}},"0.6.76":{"name":"@blazen-dev/wasi-tiktoken","version":"0.6.76","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"license":"MPL-2.0","_id":"@blazen-dev/wasi-tiktoken@0.6.76","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"dist":{"shasum":"d24c712ac2b6068e9e601c1e24789067916c9964","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.6.76.tgz","fileCount":5,"integrity":"sha512-tIDWOIOIIDVtOVslop2jLnlpjN1SMEG1t0xtzXT7PK9gO4DxyFYZaADbnv1+8PszvVMoHmYSs+fwNCIeSu87TQ==","signatures":[{"sig":"MEYCIQC+qAEEPgDHs+3V0dgmjDCj83GH8onuGH/53nZ3r9mIyAIhAK+fXGlj9zzzYB5+jrm+/24Yl5EFnDUtZ4cRNPvElTVH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3670},"main":"index.cjs","type":"module","types":"index.d.ts","module":"index.mjs","engines":{"node":">= 18"},"gitHead":"7b49f5878d2b00567811aa53c78b91918e41b7dd","_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"repository":{"url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen","type":"git"},"_npmVersion":"10.9.8","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.6.76"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasi-tiktoken_0.6.76_1784779903306_0.30693526066235455","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@blazen-dev/wasi-tiktoken","version":"0.7.0","description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","license":"MPL-2.0","type":"module","main":"index.cjs","module":"index.mjs","types":"index.d.ts","dependencies":{"@blazen-dev/blazen-wasm32-wasi-tiktoken":"0.7.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen"},"keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"engines":{"node":">= 18"},"_id":"@blazen-dev/wasi-tiktoken@0.7.0","gitHead":"107ff0d03e760b76d5a1e0a81900e2fb5c409a8d","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-50bfA8FX1lBFI0wOOn5eMDpO/6cnqKr+rSmA5ZZHc9AfzhyyYVGNb8o1GDnwZmL+OvwOC8/eoql7/5tFxLaiHw==","shasum":"e73a82388c18ad899a025bbca47790097462c45c","tarball":"https://registry.npmjs.org/@blazen-dev/wasi-tiktoken/-/wasi-tiktoken-0.7.0.tgz","fileCount":5,"unpackedSize":3668,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICY7BLQV3iuWU8HIzeyd/+lQz7aC3T8HrlM3UeypNlfEAiEAyClc1b00BCSvcaCC6lxWcasEAs6+kuoGThnSqE+BN60="}]},"_npmUser":{"name":"zachhandley","email":"zach@blackleafdigital.com"},"directories":{},"maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasi-tiktoken_0.7.0_1784793949267_0.568947160966309"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-04T04:11:48.179Z","modified":"2026-07-23T08:05:49.572Z","0.6.4":"2026-06-04T04:11:48.499Z","0.6.5":"2026-06-05T19:43:44.782Z","0.6.6":"2026-06-07T23:02:02.376Z","0.6.7":"2026-06-08T08:16:20.840Z","0.6.69":"2026-06-09T08:04:28.993Z","0.6.70":"2026-06-09T14:33:17.818Z","0.6.71":"2026-06-09T23:39:03.210Z","0.6.72":"2026-06-12T00:08:51.143Z","0.6.73":"2026-06-12T15:16:44.107Z","0.6.74":"2026-06-13T03:48:45.808Z","0.6.76":"2026-07-23T04:11:43.444Z","0.7.0":"2026-07-23T08:05:49.394Z"},"license":"MPL-2.0","keywords":["blazen","wasi","wasm","tiktoken","cloudflare-workers","deno","ai","llm","workflow"],"repository":{"type":"git","url":"https://forge.blackleafdigital.com/BlackLeafDigital/Blazen"},"description":"Exact-BPE Blazen package for Cloudflare Workers, Deno, and any WASI host. Identical to @blazen-dev/wasi but re-exports @blazen-dev/blazen-wasm32-wasi-tiktoken, the larger WASI build that bundles tiktoken-rs for exact token counts via TiktokenCounter. Use ","maintainers":[{"name":"zachhandley","email":"zach@blackleafdigital.com"}],"readme":"# @blazen-dev/wasi-tiktoken\n\nThe exact-BPE Blazen package for Cloudflare Workers, Deno, and any other WASI host. Identical to [`@blazen-dev/wasi`](https://www.npmjs.com/package/@blazen-dev/wasi) except it re-exports [`@blazen-dev/blazen-wasm32-wasi-tiktoken`](https://www.npmjs.com/package/@blazen-dev/blazen-wasm32-wasi-tiktoken) — the WASI build that bundles `tiktoken-rs` so `TiktokenCounter` returns exact OpenAI BPE token counts on a Worker.\n\n## Lean vs tiktoken\n\nThe default `@blazen-dev/wasi` (and the `@blazen-dev/blazen-wasm32-wasi` sidecar that `blazen/workers` uses) ships **without** tiktoken to stay small enough for the Cloudflare Workers bundle budget (~1.7 MiB gzipped vs ~4.8 MiB with tiktoken). On that lean build, token counting falls back to the always-available `EstimateCounter` heuristic, and `TiktokenCounter.forModel(...)` throws an actionable error.\n\nUse this package **only** when you need exact counts on a Worker and have the bundle budget for the larger binary.\n\n## Install\n\n```bash\npnpm add @blazen-dev/wasi-tiktoken\n# or\nnpm install @blazen-dev/wasi-tiktoken\n```\n\n```js\nimport { Model, TiktokenCounter, Workflow } from '@blazen-dev/wasi-tiktoken';\n\nconst counter = TiktokenCounter.forModel('gpt-4o');\ncounter.countTokens('Hello, world!'); // exact BPE count\n```\n\nThe export surface is identical to `@blazen-dev/wasi` / the main `blazen` package; only the bundled wasm differs.\n\n## Alternative: override the lean sidecar so `blazen/workers` uses tiktoken\n\nIf you import via `blazen/workers` (which pins the lean `@blazen-dev/blazen-wasm32-wasi` sidecar) and want exact counts without changing your imports, install the tiktoken sidecar and remap it with a package-manager override. The two packages share an identical export map and file layout, so this is a drop-in binary swap.\n\npnpm (in your `package.json`):\n\n```json\n{\n  \"pnpm\": {\n    \"overrides\": {\n      \"@blazen-dev/blazen-wasm32-wasi\": \"npm:@blazen-dev/blazen-wasm32-wasi-tiktoken@<version>\"\n    }\n  }\n}\n```\n\nnpm:\n\n```json\n{\n  \"overrides\": {\n    \"@blazen-dev/blazen-wasm32-wasi\": \"npm:@blazen-dev/blazen-wasm32-wasi-tiktoken@<version>\"\n  }\n}\n```\n\nPin `<version>` to the same release as your `blazen` package.\n\n## Documentation\n\nSee the main [`blazen`](https://www.npmjs.com/package/blazen) package for full API docs and usage examples.\n","readmeFilename":"README.md"}