{"_id":"@based/hash","_rev":"10-23bd235a492c92d7c7d32331aaae3ee7","name":"@based/hash","dist-tags":{"latest":"1.1.6"},"versions":{"1.0.0":{"name":"@based/hash","version":"1.0.0","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.0.0","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"2dea0b3eb47cef9a87248df43eb581afbd51cd07","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.0.0.tgz","fileCount":39,"integrity":"sha512-k0578diGc+WBNqmQaG/IXEyid5aBddavQCrjriaLXLe1MBA23rEXUsgmRUxbEBoHqJJs7j9DPg9MGj71DfCSsA==","signatures":[{"sig":"MEQCICc3I7UNmkBXHYuMPLOrn7VDOjhD3zc4IKW0iRrbCzw5AiBOyPsQEelGoRkdUS+MNMJ/c0Yc3yZ1ncgNsJLG5IyCGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44712},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"2a2d058af2039f71143538894e38c61699536558","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"youzid","email":"youridaamen@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"10.9.2","description":"Fast, low collision hashing based on djb2","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.0.0_1756412924836_0.2048982828328798","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@based/hash","version":"1.1.0","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.1.0","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"93453264861dbbcc05e1de7837ae1ac99d9dc328","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.0.tgz","fileCount":39,"integrity":"sha512-+6E/M7X4Z3YgfxsKlMyszDM1uJgNh9phahLJqXRKMKRyYkcTz+oT3WZq4tRi4ktUjWL52WAOYpMbXC0V59kRmg==","signatures":[{"sig":"MEQCIGK1o6D1/ztZPMvIjsVlYCWzWUMv+8/es8cnevd5edukAiBvdNoaKiL10ak9hC79Mkf+CIjqlmH7kApu+D9PnCg/fQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44712},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"7c076eba76a86f30c485e9c1b9c135a763f6988b","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"10.9.2","description":"Fast, low collision hashing based on djb2","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.1.0_1759375772663_0.6884417459379075","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@based/hash","version":"1.1.1","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.1.1","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"a0149ca4a4597d160375e704ab26153101aef34e","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.1.tgz","fileCount":39,"integrity":"sha512-V7my1Mwq9/9bIYDU796IQ6jBXeto1srD4Gw+PnZzY+KjF4M1Y0bHdIvV/IGHaW9H/qndjuL/NIKzoXJpd9RQ0Q==","signatures":[{"sig":"MEQCIE8UNHb9uU0AHSSeGbE7N2k4n8qTgMVJlzerfKsFqtdjAiAE/mEiO5FgQ9jlrHTdiq/kTk37pRkpC7mDywuhWTwJaA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44736},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"b61733746152589fac38f3ddf90a7e1e8c5fcb6e","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"10.9.4","description":"Fast, low collision hashing based on djb2","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.1.1_1766165772267_0.7454556521821241","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@based/hash","version":"1.1.2","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.1.2","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"c87439f67ecce894d6cefe32d07d0ab5dc31cb55","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.2.tgz","fileCount":39,"integrity":"sha512-w4aGwhLfKEGwXTPRS6dOuNp1fLIUB6Asjul0TqVI3Kb+R+ZKant2PYROa0H7Vjf549hXnTySjQ5d2LF4qO+GjQ==","signatures":[{"sig":"MEUCIBmu/J/hu9XJVLw8rdVCSQk8wk1T+2Vc0H8nn6o4EWJuAiEA8dl07GL8lv8tkOcsR2TAnnzuPzB6DZqXd1auIfOlvo4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45307},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"911db0d5f008cbc8c57ed08b19451590ae6fd495","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"11.7.0","description":"Fast, low collision hashing based on djb2","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.1.2_1771359974058_0.7426025735873225","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@based/hash","version":"1.1.3","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.1.3","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"d835af53abb5f85f9e3e0110f17e1eb73cb39e52","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.3.tgz","fileCount":39,"integrity":"sha512-XuWcu+TJ54EjDf1bO8pLfUmLQ3dvMcjFO5eS4NZwZXb+83BKin64hH3thc/ogpH9U/qmSEYErVjmuqJiQDwKBw==","signatures":[{"sig":"MEYCIQDrRWTK0tBr7k4Vg3+q6y59VxKbcX19RUqXpHSSE6+KDAIhAOJI3yre/PngVdflnNZvjHacMZeTgXBN+StaJMHZCfpC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45312},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"24917131338f39badcdb110f420e399311766c0b","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"11.7.0","description":"Fast, low collision hashing based on djb2","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.1.3_1771433888185_0.8028136139437172","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@based/hash","version":"1.1.4","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.1.4","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"18a67ce9af2b19efe61c86699f5947c1ed4847cd","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.4.tgz","fileCount":39,"integrity":"sha512-zSitns/LeYZj4TbhDiCVEXP8UhCHle8QKckelcO8xmGqZGoP9d0GHHaSlw5z+1KvNbcXJghR/aryYeSs7mP3kw==","signatures":[{"sig":"MEYCIQDABDa+fZ9okCaEwh0t0/RhU1+P/83eghVBC2D11L+RpgIhALHqlJ0VKFcWSGOXqs8g6Jbb7MWix1//jN/6I/nIHpGx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45312},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"9f5463f054ecd74040f221702fa739716530c052","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"11.7.0","description":"Fast, low collision hashing based on djb2","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.1.4_1771766916952_0.9089964667464978","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@based/hash","version":"1.1.5","keywords":["hash","performance","object"],"license":"MIT","_id":"@based/hash@1.1.5","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"homepage":"https://github.com/atelier-saulx/based#readme","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"ava":{"files":["./dist/test/**/*.js"],"timeout":"2m"},"dist":{"shasum":"f83561963de9e6c82e0a5646fadd4aca20796f6f","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.5.tgz","fileCount":39,"integrity":"sha512-ayQsqpb29HVuXnqn4gFSiZr0YCXFP7DXc9YjlnZw9KPLxSy8leS1e2VFrFDLGveiOqzNjVZrlziJ5RQZoh5wjQ==","signatures":[{"sig":"MEUCIEn1GaYLucVe90bJ0T/SP/k/C3QtedEsAjg2fxl+TB9MAiEAp7aLUtHwaNdemlVkZ2dnSBL2jzYXJzJvfc04I8wgCHQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45312},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","gitHead":"bcf159540a3a72a449fa03bd7ed052625b4c2bc4","scripts":{"test":"ava --verbose","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"prettier":"@saulx/prettier-config","repository":{"url":"git+https://github.com/atelier-saulx/based.git","type":"git"},"_npmVersion":"11.7.0","description":"Fast, low collision hashing based on djb2","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"ava":"5.3.1","typescript":"^5.2.2","@saulx/tsconfig":"^1.0.1","@saulx/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hash_1.1.5_1771965189201_0.23789309374469259","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@based/hash","version":"1.1.6","repository":{"type":"git","url":"git+https://github.com/atelier-saulx/based.git"},"description":"Fast, low collision hashing based on djb2","keywords":["hash","performance","object"],"license":"MIT","sideEffects":false,"scripts":{"build":"tsc","watch":"tsc --watch","test":"ava --verbose"},"type":"module","main":"./dist/src/index.js","ava":{"timeout":"2m","files":["./dist/test/**/*.js"]},"prettier":"@saulx/prettier-config","devDependencies":{"@saulx/prettier-config":"^1.0.0","@saulx/tsconfig":"^1.0.1","ava":"5.3.1","typescript":"^5.2.2"},"gitHead":"011a341a76908970e27e91a6752e6dac86da3306","types":"./dist/src/index.d.ts","_id":"@based/hash@1.1.6","bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"homepage":"https://github.com/atelier-saulx/based#readme","_nodeVersion":"24.11.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-jBq7sPdVbWpqsmnIfU1MIu25bW0WGMFG3hHORhILe7Zx937qTG1OAyiOFFLNnaH8LxPvSJ1W9uHDzktiiT8HJw==","shasum":"ecf216af26f8c15c263199d287966e8e9e9a649f","tarball":"https://registry.npmjs.org/@based/hash/-/hash-1.1.6.tgz","fileCount":39,"unpackedSize":45312,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDBorHBFFP9Q3pYGtxwPjqGLoFTRrwj0wxtJcRe63sKHAIgBp1SljCk+YYfPzd8VUBTdEQS9esTZiGaaKEPHzc0hH4="}]},"_npmUser":{"name":"maovieira","email":"maovieira@gmail.com"},"directories":{},"maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hash_1.1.6_1772623919506_0.9089177783114568"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-28T20:28:44.754Z","modified":"2026-03-04T11:31:59.949Z","1.0.0":"2025-08-28T20:28:45.028Z","1.1.0":"2025-10-02T03:29:32.841Z","1.1.1":"2025-12-19T17:36:12.421Z","1.1.2":"2026-02-17T20:26:14.216Z","1.1.3":"2026-02-18T16:58:08.334Z","1.1.4":"2026-02-22T13:28:37.104Z","1.1.5":"2026-02-24T20:33:09.346Z","1.1.6":"2026-03-04T11:31:59.666Z"},"bugs":{"url":"https://github.com/atelier-saulx/based/issues"},"license":"MIT","homepage":"https://github.com/atelier-saulx/based#readme","keywords":["hash","performance","object"],"repository":{"type":"git","url":"git+https://github.com/atelier-saulx/based.git"},"description":"Fast, low collision hashing based on djb2","maintainers":[{"name":"saulx","email":"jim@saulx.com"},{"name":"olliv","email":"olli.vanhoja@gmail.com"},{"name":"rase-","email":"tony.kovanen@gmail.com"},{"name":"youzid","email":"youridaamen@gmail.com"},{"name":"kylemarch513","email":"kyle@saulx.com"},{"name":"framma","email":"marciani3@gmail.com"},{"name":"nfrade","email":"nfrade.tribal@gmail.com"},{"name":"luiguild","email":"npm@s1x.com.br"},{"name":"maovieira","email":"maovieira@gmail.com"}],"readme":"# hash\n\nFast, low collision hashing based on djb2\n\n## hash\n\nReturns a 64 bit number, works for any data type\n\n```javascript\nimport { hash } from '@based/hash'\nhash({ x: true })\nhash([1, 2, 3])\nhash('xyz')\n```\n\n## hashObjectIgnoreKeyOrder\n\nReturns a 64 bit number, works for objects and arrays - ignores order of keys in objects\n\n```javascript\nimport { hashObjectIgnoreKeyOrder } from '@based/hash'\nconsole.log(\n  hashObjectIgnoreKeyOrder({ x: true, y: true }) ===\n    hashObjectIgnoreKeyOrder({ y: true, x: true }),\n)\n```\n\n## hashCompact\n\nSame as hash but returns a 62 bit string\n\n```javascript\nimport { hashCompact } from '@based/hash'\n\nconsole.log(hashCompact({ x: true, y: true }))\n```\n","readmeFilename":"README.md"}