{"versions":{"0.1.0":{"name":"@tokenlens/core","version":"0.1.0","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2","vitest":"^1.6.1"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest","test:run":"vitest run"},"_id":"@tokenlens/core@0.1.0","_integrity":"sha512-kT45PKATQROVW8W6WSWArmhvkq0C92+sG/FdrAQyPhCJ5dsqLo6EeWC96tHkIzTgvRsDyYqwgqzIIU9gSs1ZnA==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/ef652abf5a18a5ad9f1b1690017a206f/tokenlens-core-0.1.0.tgz","_from":"file:tokenlens-core-0.1.0.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-kT45PKATQROVW8W6WSWArmhvkq0C92+sG/FdrAQyPhCJ5dsqLo6EeWC96tHkIzTgvRsDyYqwgqzIIU9gSs1ZnA==","shasum":"eb34a9e0e06de05853af393a1c8b7a07b07779c6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-0.1.0.tgz","fileCount":15,"unpackedSize":16238,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH+c2ijZXIQ+PeN5c4CzE30eHBOOJlqM7vMyiosiXPsOAiEA6p81jtcx3l9oLezbZTHQQXhUBTYePrmG0ypKjIj2Euc="}],"size":5572},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.0_1757596776379_0.601217176745843"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-11T13:19:36.556Z","publish_time":1757596776556,"_source_registry_name":"default","contributors":[]},"1.0.0-beta.0":{"name":"@tokenlens/core","version":"1.0.0-beta.0","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2","vitest":"^1.6.1"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest","test:run":"vitest run"},"_id":"@tokenlens/core@1.0.0-beta.0","readmeFilename":"README.md","_integrity":"sha512-zgeJqdJ8P6lthNR0t0fkcAt9SIqoCVfwJDDKW7+vjJdepGQsAiYLIy26Z/q7w8/FxM9e2dFh4n1NCKL4weuYcA==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/52a7c1abd043c5a5da540381d45249ac/tokenlens-core-1.0.0-beta.0.tgz","_from":"file:tokenlens-core-1.0.0-beta.0.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-zgeJqdJ8P6lthNR0t0fkcAt9SIqoCVfwJDDKW7+vjJdepGQsAiYLIy26Z/q7w8/FxM9e2dFh4n1NCKL4weuYcA==","shasum":"c93b832278c2ab7dc2db6cf019be5120fbc3c64b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-1.0.0-beta.0.tgz","fileCount":15,"unpackedSize":16245,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEfwIU+Bzy5FHkSycMVhT2S9b59eG2C2hDNQzU7b6uzrAiEA1tOFoEgTSPNt+StAXa/RaEh42giyke+b5JLyfNERPyw="}],"size":5578},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.0.0-beta.0_1757604573373_0.5083574054857689"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-11T15:29:33.542Z","publish_time":1757604573542,"_source_registry_name":"default","contributors":[]},"1.0.0-beta.1":{"name":"@tokenlens/core","version":"1.0.0-beta.1","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./id":{"types":"./dist/id.d.ts","default":"./dist/id.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2","vitest":"^1.6.1"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest","test:run":"vitest run"},"_id":"@tokenlens/core@1.0.0-beta.1","readmeFilename":"README.md","_integrity":"sha512-k9bmJ+pBbOO3NWd+VUMuLxgcrkt1PzvOFqTgBmgmtnI+1RdSXP2akMR3Js+6kV8W1zzG45yUovtxT1/ivkpsug==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/24066498202cbaec7336646440fd11ed/tokenlens-core-1.0.0-beta.1.tgz","_from":"file:tokenlens-core-1.0.0-beta.1.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-k9bmJ+pBbOO3NWd+VUMuLxgcrkt1PzvOFqTgBmgmtnI+1RdSXP2akMR3Js+6kV8W1zzG45yUovtxT1/ivkpsug==","shasum":"fcbcb55861721f6380cedf2705c4798861547676","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-1.0.0-beta.1.tgz","fileCount":19,"unpackedSize":21596,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDmYpmTBnXg/oExwlL47HmvNwTrsXROOMHF5RzantuUQgIge3wAfMG3CQI9VOqZRQJmP1ZUR4okEOPrh96M7J8X7HU="}],"size":6891},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.0.0-beta.1_1757664292694_0.683363596137446"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T08:04:52.878Z","publish_time":1757664292878,"_source_registry_name":"default","contributors":[]},"1.0.0-beta.2":{"name":"@tokenlens/core","version":"1.0.0-beta.2","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./id":{"types":"./dist/id.d.ts","default":"./dist/id.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"./catalog":{"types":"./dist/catalog.d.ts","default":"./dist/catalog.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2","vitest":"^1.6.1"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest","test:run":"vitest run"},"_id":"@tokenlens/core@1.0.0-beta.2","readmeFilename":"README.md","_integrity":"sha512-LDOicWOG0xrgWDII6gwE+Y89JjdNw8dpI0J/d/bXuJlqW8eopYhWJ4lPqePrLP+e3Q8bfpXrie2bN1/taRCozg==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/331210e6f42d62405382d7ceb4970043/tokenlens-core-1.0.0-beta.2.tgz","_from":"file:tokenlens-core-1.0.0-beta.2.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-LDOicWOG0xrgWDII6gwE+Y89JjdNw8dpI0J/d/bXuJlqW8eopYhWJ4lPqePrLP+e3Q8bfpXrie2bN1/taRCozg==","shasum":"1cf228551252925ff0f96373b6bd116d91e1ee56","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-1.0.0-beta.2.tgz","fileCount":23,"unpackedSize":28529,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDocfYkQ8Qmh+9lTliQ+Gmv9sNDLp7zWTeNB+/9sakdSgIhALwTky7gbxpMmtHytCR/PdQkrcXmOUyF8l1qPM1ogq9j"}],"size":8376},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.0.0-beta.2_1757665446573_0.3955172837396226"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T08:24:06.800Z","publish_time":1757665446800,"_source_registry_name":"default","contributors":[]},"1.3.0":{"name":"@tokenlens/core","version":"1.3.0","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./id":{"types":"./dist/id.d.ts","default":"./dist/id.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"./catalog":{"types":"./dist/catalog.d.ts","default":"./dist/catalog.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2","vitest":"^1.6.1"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest","test:run":"vitest run"},"_id":"@tokenlens/core@1.3.0","_integrity":"sha512-d8YNHNC+q10bVpi95fELJwJyPVf1HfvBEI18eFQxRSZTdByXrP+f/ZtlhSzkx0Jl0aEmYVeBA5tPeeYRioLViQ==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/349965e9b6cd27901176f7f96c9e6ad5/tokenlens-core-1.3.0.tgz","_from":"file:tokenlens-core-1.3.0.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-d8YNHNC+q10bVpi95fELJwJyPVf1HfvBEI18eFQxRSZTdByXrP+f/ZtlhSzkx0Jl0aEmYVeBA5tPeeYRioLViQ==","shasum":"b3c06b01b87688cbdba309f25254892039f4a1d6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-1.3.0.tgz","fileCount":23,"unpackedSize":28522,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBI5OS/KIsBl5blcwHsyV92petALYEhvlvWU17tZTZA8AiEAjOkTRcD8ka4ac9uJrSOjS088si8RRa3JlTmaQKOCQz0="}],"size":8373},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.3.0_1758282029015_0.8236977560618421"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-19T11:40:29.233Z","publish_time":1758282029233,"_source_registry_name":"default","contributors":[]},"2.0.0-alpha.1":{"name":"@tokenlens/core","version":"2.0.0-alpha.1","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./dto":{"types":"./dist/dto.d.ts","default":"./dist/dto.js"},"./id":{"types":"./dist/id.d.ts","default":"./dist/id.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest --config ../../vitest.config.ts --project core","test:run":"vitest run --config ../../vitest.config.ts --project core"},"_id":"@tokenlens/core@2.0.0-alpha.1","readmeFilename":"README.md","_integrity":"sha512-MFz77ksa/4Dl9K86Gxc+VthZGM4ZM1E1KuuTTjDWO2qwDJnblzB0Mk/ee/WINNfUBTUctkgFF2ZyDfiaNF3GtA==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/b55cfd7a00f8c210082427a10d8faf04/tokenlens-core-2.0.0-alpha.1.tgz","_from":"file:tokenlens-core-2.0.0-alpha.1.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-MFz77ksa/4Dl9K86Gxc+VthZGM4ZM1E1KuuTTjDWO2qwDJnblzB0Mk/ee/WINNfUBTUctkgFF2ZyDfiaNF3GtA==","shasum":"94159ea0409eda3621a476ab014f309d408d0939","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-2.0.0-alpha.1.tgz","fileCount":31,"unpackedSize":24050,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD5zhEnnN9X3nnw1diIVAKynU/6FfTjJxsHb9yGEQ5kQAIgEMLB2GiysO0IlxITSdA9UpFRXw76jGatQGDaG2R9/l4="}],"size":7909},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_2.0.0-alpha.1_1758822358043_0.6545734111915478"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-25T17:45:58.229Z","publish_time":1758822358229,"_source_registry_name":"default","contributors":[]},"2.0.0-alpha.2":{"name":"@tokenlens/core","version":"2.0.0-alpha.2","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./dto":{"types":"./dist/dto.d.ts","default":"./dist/dto.js"},"./id":{"types":"./dist/id.d.ts","default":"./dist/id.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest --config ../../vitest.config.ts --project core","test:run":"vitest run --config ../../vitest.config.ts --project core"},"_id":"@tokenlens/core@2.0.0-alpha.2","readmeFilename":"README.md","_integrity":"sha512-CTyiVUe0iUF8SmqeHQ9PYAz1jIHpwphbBCRi5ZeUWPyPBthrpa/haNhFMiEZ8iNBftLwTWGfGXlZCLLpuuIPNw==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/464128d31c28b00e2332b65c35d5ad8d/tokenlens-core-2.0.0-alpha.2.tgz","_from":"file:tokenlens-core-2.0.0-alpha.2.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-CTyiVUe0iUF8SmqeHQ9PYAz1jIHpwphbBCRi5ZeUWPyPBthrpa/haNhFMiEZ8iNBftLwTWGfGXlZCLLpuuIPNw==","shasum":"e27516258e64f34f6e008faf71e109e98e98bfd0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-2.0.0-alpha.2.tgz","fileCount":31,"unpackedSize":24236,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCRZcIQbVeli20nPhE7cB/8zQGOSihAz9itr7GBGG94sAIgKStzZ8UBWgg16qedRl3pBdcjqV/eKD28+U0/aGA37cU="}],"size":7930},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_2.0.0-alpha.2_1758824051417_0.50702839976894"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-25T18:14:11.592Z","publish_time":1758824051592,"_source_registry_name":"default","contributors":[]},"2.0.0-alpha.3":{"name":"@tokenlens/core","version":"2.0.0-alpha.3","private":false,"description":"Core types and registry utilities for TokenLens (model metadata).","type":"module","sideEffects":false,"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./dto":{"types":"./dist/dto.d.ts","default":"./dist/dto.js"},"./id":{"types":"./dist/id.d.ts","default":"./dist/id.js"},"./registry":{"types":"./dist/registry.d.ts","default":"./dist/registry.js"},"./types":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xn1cklas/tokenlens.git","directory":"packages/core"},"keywords":["ai","llm","model registry","model metadata","registry","types","context window","token usage","pricing"],"author":{"name":"Nicklas Scharpff","email":"hi@n1cklas.com","url":"https://n1cklas.com"},"license":"MIT","bugs":{"url":"https://github.com/xn1cklas/tokenlens/issues"},"homepage":"https://github.com/xn1cklas/tokenlens/tree/HEAD/packages/core#readme","devDependencies":{"typescript":"^5.9.2"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest --config ../../vitest.config.ts --project core","test:run":"vitest run --config ../../vitest.config.ts --project core"},"_id":"@tokenlens/core@2.0.0-alpha.3","readmeFilename":"README.md","_integrity":"sha512-oR+fO2vpTP0/w7xfc/JhI1QRnwlvP0/UVa6vAilp7o8/Gl7iCemPH0Ga6WYuiGI5TL6JA/M1T5losFsK0vKmpA==","_resolved":"/private/var/folders/nr/h4ytbdsn2kjb89jlv81b99wr0000gn/T/c26387c1344012841b2bf41f9e8c19cb/tokenlens-core-2.0.0-alpha.3.tgz","_from":"file:tokenlens-core-2.0.0-alpha.3.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-oR+fO2vpTP0/w7xfc/JhI1QRnwlvP0/UVa6vAilp7o8/Gl7iCemPH0Ga6WYuiGI5TL6JA/M1T5losFsK0vKmpA==","shasum":"c5195323b1be79b79013db5b1283bf14a05ecb0b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@tokenlens/core/-/core-2.0.0-alpha.3.tgz","fileCount":31,"unpackedSize":23611,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCt0nfvrr0rRIoYn10AWjh02Gctdt2jtq3SNwEls4rbbQIgEdbhcGRsVz309iA0tSZXFYjXl4n0h8sF5NSoshvQBGk="}],"size":7827},"_npmUser":{"name":"anonymous","email":"hi@n1cklas.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hi@n1cklas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_2.0.0-alpha.3_1759613436812_0.7840974026268939"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-04T21:30:37.010Z","publish_time":1759613437010,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"alpha":"2.0.0-alpha.3","beta":"1.0.0-beta.2","latest":"1.3.0"},"name":"@tokenlens/core","time":{"created":"2025-09-11T13:19:46.236Z","modified":"2025-10-04T21:30:46.719Z","0.1.0":"2025-09-11T13:19:36.556Z","1.0.0-beta.0":"2025-09-11T15:29:33.542Z","1.0.0-beta.1":"2025-09-12T08:04:52.878Z","1.0.0-beta.2":"2025-09-12T08:24:06.800Z","1.3.0":"2025-09-19T11:40:29.233Z","2.0.0-alpha.1":"2025-09-25T17:45:58.229Z","2.0.0-alpha.2":"2025-09-25T18:14:11.592Z","2.0.0-alpha.3":"2025-10-04T21:30:37.010Z"},"readme":"@tokenlens/core\n================\n\n[![npm version](https://img.shields.io/npm/v/%40tokenlens%2Fcore.svg)](https://www.npmjs.com/package/@tokenlens/core)\n[![npm downloads](https://img.shields.io/npm/dm/%40tokenlens%2Fcore.svg)](https://www.npmjs.com/package/@tokenlens/core)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](../../LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue.svg)](https://www.typescriptlang.org/)\n\n\n![TokenLens overview](https://raw.githubusercontent.com/xn1cklas/tokenlens/HEAD/assets/tokenlens.png)\n\nCore types and fast registry utilities for TokenLens. Build canonical model registries with alias resolution and strong typing.\n\n\nInstall\n- npm: `npm i @tokenlens/core`\n- pnpm: `pnpm add @tokenlens/core`\n- yarn: `yarn add @tokenlens/core`\n\nExports\n- `createRegistry(models: Model[])` to build a fast provider+model lookup with alias resolution.\n- Types: `Model`, `Provider`, `Status`, `Pricing`, `ContextCaps`, usage shapes.\n\nQuick Start\n```\nimport { createRegistry, type Model } from '@tokenlens/core';\n\nconst reg = createRegistry([\n  {\n    id: 'openai:gpt-4o',\n    provider: 'openai',\n    status: 'stable',\n    context: { combinedMax: 128000 },\n    source: 'docs',\n  } satisfies Model,\n]);\n\n// Resolve shorthands/aliases to the canonical entry\nconst m = reg.resolveModel('gpt-4o');\nconsole.log(m?.id); // 'openai:gpt-4o'\n```\n\nSee also\n- `@tokenlens/models` for a prebuilt models catalog.\n- `@tokenlens/helpers` for context/cost utilities layered on top.\n\nLicense\nMIT","users":{}}