{"_id":"@andares/chari","_rev":"10-7af22ee52d227d4a3b87a2903c17e94b","name":"@andares/chari","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@andares/chari","version":"0.1.0","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.1.0","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"dist":{"shasum":"e1945f9adb2b5371b7d2aa437ce5534e4b46952c","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.1.0.tgz","fileCount":9,"integrity":"sha512-6jog8rqfvKYCPMBYCbY8b08ZvcdT8F8eR1r5FdZVuwstmrktBplLWWMO0uZ1YSyaNob8ZNI8+J+BnnjbiAeMGA==","signatures":[{"sig":"MEUCIQD6cheKhWb4ZjTP0ekXi8TwveaKuP34rWVCWBgCZebLkwIgQbMkEoo/iYS/1yAF6iq0z3m/NwDsXdkT47Yb+PXHjys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59956},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.1.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/1e295042c4955528d14f8c67fc71ec80/andares-chari-0.1.0.tgz","_integrity":"sha512-6jog8rqfvKYCPMBYCbY8b08ZvcdT8F8eR1r5FdZVuwstmrktBplLWWMO0uZ1YSyaNob8ZNI8+J+BnnjbiAeMGA==","_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.9","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.1.0_1763394301197_0.6270406563125703","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@andares/chari","version":"0.1.1","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.1.1","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"dist":{"shasum":"9104ba369507ffbf614360565077ff561b963e61","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.1.1.tgz","fileCount":9,"integrity":"sha512-M2Vmm8JwHLsUE/Qqwoya2QPHFM5NNNepuuH0LftLt2NnNVkJvLqnTe2tTkM0huVDRMjpp55UNsm+5Ylk7ajcVw==","signatures":[{"sig":"MEYCIQClsV/5To9QxDJOzhiZ9CidFr8wz/UJWZyTj3Qy7a3rUAIhAICZQbkIIOgtHvb2MXPsTlJaZDMJRLYsqfxJER3vbqoZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59956},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.1.1.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/597b48155b1c0c67cb43276e9966009a/andares-chari-0.1.1.tgz","_integrity":"sha512-M2Vmm8JwHLsUE/Qqwoya2QPHFM5NNNepuuH0LftLt2NnNVkJvLqnTe2tTkM0huVDRMjpp55UNsm+5Ylk7ajcVw==","_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.9","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.1.1_1763708426506_0.531110315438031","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@andares/chari","version":"0.1.2","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.1.2","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"dist":{"shasum":"c8baca120ba9c7ad6300720c2ecd9dc18d5cb5db","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.1.2.tgz","fileCount":9,"integrity":"sha512-MtwgzUevJeHAkKzqLgScCTpVXgXM8dNJUhkbAyrQuAcnnnRPZ5RbgInCXtbyZPsx3pPCgkg94q0K+83Mh2c5Tg==","signatures":[{"sig":"MEUCIFqK6EwJv0xBAF2WirZDVp9ZaP/xE41fCHkw0YYFpYFTAiEA7Anx3Ta4ZOeDYACJ0Ks8m29Jmc3YvUhcIaPdLueLfcY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59956},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.1.2.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/2616edc4a601e09ea2a2e0ba1e1fe4ec/andares-chari-0.1.2.tgz","_integrity":"sha512-MtwgzUevJeHAkKzqLgScCTpVXgXM8dNJUhkbAyrQuAcnnnRPZ5RbgInCXtbyZPsx3pPCgkg94q0K+83Mh2c5Tg==","_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.9","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.1.2_1763708715508_0.5048876706779477","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@andares/chari","version":"0.1.3","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.1.3","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"dist":{"shasum":"a7c3ded9bfd007a8afc20b6aaa344b4fb7af93d5","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.1.3.tgz","fileCount":9,"integrity":"sha512-fBlQCBhxhEAINE+Sp7uB/kxA+qDn4rR+zpQCrwEYGt/91tUTSkMjbGcDRKyVUugZ1jrJFRu0Hx0/QlgCcFuG2A==","signatures":[{"sig":"MEUCIGpuDULFM1DDk1hQzjtE1Isj6LgHUZnv1HXaxdO0eS83AiEA/b39N5tPv9qVL3rWjCM9gUR3GCXVjwrwWUETH52qunA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84540},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.1.3.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/99618209de3ce7a7eec82f0c67bd6597/andares-chari-0.1.3.tgz","_integrity":"sha512-fBlQCBhxhEAINE+Sp7uB/kxA+qDn4rR+zpQCrwEYGt/91tUTSkMjbGcDRKyVUugZ1jrJFRu0Hx0/QlgCcFuG2A==","_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.9","typescript":"^5.9.3","@types/node":"^24.10.1"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.1.3_1763711206567_0.7322085030889585","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@andares/chari","version":"0.1.4","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.1.4","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"dist":{"shasum":"ef98e93a5b2ef8beda9823dd2254cc3fb70815b4","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.1.4.tgz","fileCount":9,"integrity":"sha512-mtHDaIQaSNhzocPYSWw1F4/o6jyd4nm6J8hJ2ryeu1IAjBFH2PxMS8WXNCZ7DXkZPt9Aoas0R3FJOeBbVIDHtg==","signatures":[{"sig":"MEUCIQCG7+7Ej3gfTuXTNMWZIZJn67ncxSpjur63/fhJ5fO/RAIgGFxxS5xQKAKpYH3TWL9+h+9jCgNhVWtuBMV5erLchGE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104696},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.1.4.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/76891781f079680acc414e91f9c27e29/andares-chari-0.1.4.tgz","_integrity":"sha512-mtHDaIQaSNhzocPYSWw1F4/o6jyd4nm6J8hJ2ryeu1IAjBFH2PxMS8WXNCZ7DXkZPt9Aoas0R3FJOeBbVIDHtg==","_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.9","typescript":"^5.9.3","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.1.4_1763799650553_0.4172010188159363","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@andares/chari","version":"0.1.5","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.1.5","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"homepage":"https://github.com/andares/chari","bugs":{"url":"https://github.com/andares/chari/issues"},"dist":{"shasum":"cea2bc2c7e659822b9c8e4643dc293cba6ea3782","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.1.5.tgz","fileCount":9,"integrity":"sha512-3p8J9cDxj2zbwd5c7yYBH0cofCp1en0YmlyC5XzC0sxBhMeNqKuOblxWgGB+0ZdlCBHy9EnEpQi1Lg0GgKznMA==","signatures":[{"sig":"MEUCIQCmwPnE0y6Ls+qf9A+4PZ1cRRi24KNb8zZtYS7Sn5By0wIgRSH1g5w1lE1Di6dd2S/OW2xzPDOaxOfVqRqkq7s2HlM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104838},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.1.5.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/80a063a254b5359c300c7e06108122b7/andares-chari-0.1.5.tgz","_integrity":"sha512-3p8J9cDxj2zbwd5c7yYBH0cofCp1en0YmlyC5XzC0sxBhMeNqKuOblxWgGB+0ZdlCBHy9EnEpQi1Lg0GgKznMA==","repository":{"url":"git+https://github.com/andares/chari.git","type":"git"},"_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.9","typescript":"^5.9.3","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.1.5_1763868178177_0.289012477302208","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@andares/chari","version":"0.2.0","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.2.0","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"homepage":"https://github.com/andares/chari","bugs":{"url":"https://github.com/andares/chari/issues"},"dist":{"shasum":"78609ef704e27b4520fb12ba51f30d5b8c5716cf","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.2.0.tgz","fileCount":9,"integrity":"sha512-V/uMtniuVN0RW2jj5nlEt8oTP73039UsatVS+KwrSM2EjKBsUyuh/rEuxO7FLmPIULBc/2iNI8dpxNa4gO3zZw==","signatures":[{"sig":"MEUCIBgkPLHMOXTnASS7XWE3lNL/d+SImvdvH1rHvLeEDEluAiEAhCqa3EkEq76JHw8FgPznybUbTTYvG9I3SLPptnQ01wM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104844},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.2.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/4e6d78289dfb2125e5b85bff683926a1/andares-chari-0.2.0.tgz","_integrity":"sha512-V/uMtniuVN0RW2jj5nlEt8oTP73039UsatVS+KwrSM2EjKBsUyuh/rEuxO7FLmPIULBc/2iNI8dpxNa4gO3zZw==","repository":{"url":"git+https://github.com/andares/chari.git","type":"git"},"_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@msgpack/msgpack":"^3.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.9","typescript":"^5.9.3","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.2.0_1764037272739_0.6695738030011058","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@andares/chari","version":"0.2.1","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.2.1","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"homepage":"https://github.com/andares/chari","bugs":{"url":"https://github.com/andares/chari/issues"},"dist":{"shasum":"a0e34a6467d2e2ab3f5e06ea83c2fa4557e6511c","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.2.1.tgz","fileCount":9,"integrity":"sha512-RA1CHIdZ2iQGZCX7mOr/ErEtlYRQJ4QSzE3UMbzZLTM5KT4T+xfPEbJa0DpeP//gEpJXKvd/VY19Qqf3JuTwcA==","signatures":[{"sig":"MEYCIQCA/ZSLq1pvsKRi/SIYPUjsVMIZZ1R8I2sYHfvB/Ze1CAIhAK2Ry/maP5olq+KHgLlqhfWB0LO1KyEZCJDgIlKWPJ+6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122615},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.2.1.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/9ad8241183d40d88f4bae455f8786c8b/andares-chari-0.2.1.tgz","_integrity":"sha512-RA1CHIdZ2iQGZCX7mOr/ErEtlYRQJ4QSzE3UMbzZLTM5KT4T+xfPEbJa0DpeP//gEpJXKvd/VY19Qqf3JuTwcA==","repository":{"url":"git+https://github.com/andares/chari.git","type":"git"},"_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@msgpack/msgpack":"^3.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.9","typescript":"^5.9.3","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.2.1_1764037406418_0.10698114153626914","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@andares/chari","version":"0.2.2","keywords":["typescript","library","utils"],"license":"MIT","_id":"@andares/chari@0.2.2","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"homepage":"https://github.com/andares/chari","bugs":{"url":"https://github.com/andares/chari/issues"},"dist":{"shasum":"1334ecb02bb8ec90832452cc2f809ab7705ec72d","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.2.2.tgz","fileCount":9,"integrity":"sha512-yVfhnu8Tq3MrZ4kVWrPjcCkVwoaIZCgbBv2ZvxI1q1wKO7a56JUzFmNDSF/3eSy2VHwEDwPNjdw8xCJC5GEcRw==","signatures":[{"sig":"MEUCIQDB5OvEv5tkukV0IcajXJV4GgRZMkwvN9AsXnjs1VW8ZgIgZYUxohwe7P4bBtyurn7zHoXyrvLrdikBb8Z+GSPlE2E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122623},"main":"dist/index.cjs","type":"module","_from":"file:andares-chari-0.2.2.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"_resolved":"/tmp/02885cdd2de4a63a874c9b81c4ebb268/andares-chari-0.2.2.tgz","_integrity":"sha512-yVfhnu8Tq3MrZ4kVWrPjcCkVwoaIZCgbBv2ZvxI1q1wKO7a56JUzFmNDSF/3eSy2VHwEDwPNjdw8xCJC5GEcRw==","repository":{"url":"git+https://github.com/andares/chari.git","type":"git"},"_npmVersion":"11.6.1","description":"A TypeScript utility library exposing functions and classes.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@msgpack/msgpack":"^3.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.9","typescript":"^5.9.3","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/chari_0.2.2_1764062431835_0.8083068855014879","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@andares/chari","version":"0.2.3","description":"A TypeScript utility library exposing functions and classes.","license":"MIT","type":"module","repository":{"type":"git","url":"git+https://github.com/andares/chari.git"},"homepage":"https://github.com/andares/chari","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"}},"sideEffects":false,"engines":{"node":">=18"},"keywords":["typescript","library","utils"],"devDependencies":{"@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.9","tsup":"^8.5.1","typescript":"^5.9.3","vitest":"^4.0.9"},"dependencies":{"@msgpack/msgpack":"^3.1.2"},"scripts":{"build":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --clean","dev":"tsup src/index.ts --dts --format esm,cjs --out-dir dist --sourcemap --watch","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_id":"@andares/chari@0.2.3","bugs":{"url":"https://github.com/andares/chari/issues"},"_integrity":"sha512-pRfdW82ephcpwjf0tN3Mk4PigWxIIb4or3UmD9Qzp035MugANuelyJL4dnFLCm0jYoGdGzHCemH40wC+6nO63Q==","_resolved":"/tmp/720ba247d0bae4c0e53425dec40edb07/andares-chari-0.2.3.tgz","_from":"file:andares-chari-0.2.3.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-pRfdW82ephcpwjf0tN3Mk4PigWxIIb4or3UmD9Qzp035MugANuelyJL4dnFLCm0jYoGdGzHCemH40wC+6nO63Q==","shasum":"3cf838bb42ab7313e77a257df75e353d78311d4f","tarball":"https://registry.npmjs.org/@andares/chari/-/chari-0.2.3.tgz","fileCount":9,"unpackedSize":129921,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHVJ/TfZS5TJykhyKgCvVoO2u6lI+eSTMXPDlZ7qkfyLAiEAxyLh3KV7rsehx8AG2LkcIeGs1A0RpGwS1egdEzI4o00="}]},"_npmUser":{"name":"andares","email":"andares@outlook.com"},"directories":{},"maintainers":[{"name":"andares","email":"andares@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chari_0.2.3_1764126636976_0.2069065527105003"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-17T15:45:01.123Z","modified":"2025-11-26T03:10:37.420Z","0.1.0":"2025-11-17T15:45:01.395Z","0.1.1":"2025-11-21T07:00:26.723Z","0.1.2":"2025-11-21T07:05:15.711Z","0.1.3":"2025-11-21T07:46:46.771Z","0.1.4":"2025-11-22T08:20:50.744Z","0.1.5":"2025-11-23T03:22:58.382Z","0.2.0":"2025-11-25T02:21:12.963Z","0.2.1":"2025-11-25T02:23:26.614Z","0.2.2":"2025-11-25T09:20:32.009Z","0.2.3":"2025-11-26T03:10:37.216Z"},"bugs":{"url":"https://github.com/andares/chari/issues"},"license":"MIT","homepage":"https://github.com/andares/chari","keywords":["typescript","library","utils"],"repository":{"type":"git","url":"git+https://github.com/andares/chari.git"},"description":"A TypeScript utility library exposing functions and classes.","maintainers":[{"name":"andares","email":"andares@outlook.com"}],"readme":"# @andares/chari\n\n![CI](https://github.com/andares/chari/actions/workflows/ci.yml/badge.svg?branch=master)\n![version](https://img.shields.io/npm/v/%40andares%2Fchari?label=version)\n![pnpm](https://img.shields.io/badge/pnpm-enabled-FFD700?logo=pnpm&logoColor=white)\n![license](https://img.shields.io/npm/l/%40andares%2Fchari)\n![node](https://img.shields.io/node/v/%40andares%2Fchari)\n\nTypeScript 工具库，包含：\n\n- `Gauldoth`：3DES 加解密与自定义打包/拆包\n- `BaseFlow`：2-62 进制转换、a-z Alpha 映射\n- `Obfus`：字符串简单混淆代码生成\n- `Utils`：随机字符串、二进制/十六进制互转\n\n## 安装\n\n```sh\npnpm add @andares/chari\n```\n\n开发/构建与测试：\n\n```sh\npnpm install\npnpm run build\npnpm run test # 一次性运行\npnpm run test:watch # 监听模式\npnpm run test:coverage # 生成覆盖率报告（text/html/lcov 在 coverage/）\n```\n\n## 使用\n\nESM：\n\n```ts\nimport { Gauldoth, BaseFlow, Obfus, Utils } from '@andares/chari'\n\n// Gauldoth\nconst g = Gauldoth.create({ key: 'k1', ivKey: 'k2' })\nconst token = g.encrypt({ uid: 1 })\nconst text = g.decrypt(token)\n\n// BaseFlow\nconst bf = new BaseFlow('ff', 16)\nbf.to(2) // '11111111'\n// Alpha 映射（注意：与 PHP GMP 行为一致，会丢弃前导 a）\nBaseFlow.fromAlpha('abcxyz').toAlpha() // 'bcxyz'\n\n// Obfus\nconst code = Obfus.generateCode('Hello')\n// eval(code) === 'Hello'\n\n// Utils\nUtils.randomAlpha(8) // base62 字符串\nUtils.bin2hex(Buffer.from('hi')) // '6869'\n```\n\nCommonJS：\n\n```js\nconst { Gauldoth, BaseFlow, Obfus, Utils } = require('@andares/chari')\n```\n\n## 开发\n\n- 构建：`pnpm run build`（输出 `dist/`，同时生成类型声明）\n- 开发监视：`pnpm run dev`\n- 单测：`pnpm run test`（Vitest，默认 Node 环境）\n- 覆盖率：`pnpm run test:coverage`\n\n## Import Alias\n\n为了便于在源码中引用模块（如 `Gauldoth`），已配置 import alias：\n\n- `@` → `src/`\n- `@chari` → `src/`\n\n示例：\n\n```ts\nimport { Gauldoth } from '@/encryption/Gauldoth'\n// 或\nimport { Gauldoth } from '@chari/encryption/Gauldoth'\n```\n\n编辑器类型提示通过 `tsconfig.json` 的 `paths` 支持，构建与测试分别通过 `tsup.config.ts` 与 `vitest.config.ts` 的 `alias` 解析。\n\n## 发布\n\n该包已配置双格式导出（`exports` 字段），默认：\n\n- `import`: `dist/index.js`（ESM）\n- `require`: `dist/index.cjs`（CJS）\n- `types`: `dist/index.d.ts`\n\n如需发布到 npm：\n\n```sh\npnpm publish --access public\n```\n","readmeFilename":"README.md"}