{"_id":"@sindresorhus/fnv1a","_rev":"7-3b61b8a2369572984d6229fb987454eb","name":"@sindresorhus/fnv1a","description":"FNV-1a non-cryptographic hash function","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.0":{"name":"@sindresorhus/fnv1a","version":"1.0.0","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"publishConfig":{"access":"public"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"15d98d072023101889e07b95ea567d942ecea537","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-n+7NAD9vCDb2PaCRFIGrT2UF8WPIfMgGvCiVsYKY1/eBTrZU80N9erKhX9UTdxyvWhNuxQxwZGzdOIOlt8WqsA==","shasum":"d419dd111b4d7fc3b87f97d86849bc23316149de","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHaWxJUS+xmEeFnanLMERwXOEF3gkp5QqmDGAOVfpuoPAiEAsj6xLRY7ZDMKRK02nOJctl6MKwJq6TqIKZPMo3uUDrw="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a-1.0.0.tgz_1515288111087_0.8035861416719854"},"directories":{}},"1.1.0":{"name":"@sindresorhus/fnv1a","version":"1.1.0","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo"],"devDependencies":{"ava":"^1.3.1","tsd-check":"^0.5.0","xo":"^0.24.0"},"gitHead":"c2236080ed4ef94c5911a0d6646bc542b42e48c0","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@1.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-GL2ifnAImySUpia6imfNVv79QKW9R1bdO51pREbMvBK4EmjnciM460angv3pA4gN1HE1YqJbny/7YF9owIHvMQ==","shasum":"a5cce7967382753ffd9c954619c287e24b365878","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-1.1.0.tgz","fileCount":5,"unpackedSize":3726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj0noCRA9TVsSAnZWagAAB8gP/1dgwVGNnV6W48bcpHqM\n4tho826EdD/whPUBnw86PeyzDI1YWUvaAWyy5QCG/GmS2yH8GTnzwmbI07za\nEbhW3CCLrfX0dOXxQ+n4wzG3OZXjp7DUu+skHcXUU95N7+XKXw2tAQRbQ2bv\nPbsDFbtx92Oetd8XpRY5aaF6sxizVcOXIGwOyGCV+85LHZuDddFUo88KbNl6\nGVmWhprOZg7ElaeLzzjIFmkFFly1PEH4/tURSjx1Wle6/pa9vBLmSayIvOUw\n+AaKHxS1i4mG1WcqNPpn2s8ylJ/PDeAgm1lLTmc0AxqGT4ErmSCvDLj9BEYJ\nM1w3gWIygAbmpSICgzj9uRgP+J+rKxVqGrjWWIW3+kZz7fc+oyJJQEugN3Gz\npjlfJ0lkdJKPo5GT1kvU5vQEOztK7yIhxYI8wwa74QSsq+GbCL6g/6gwC1u8\n4LSwTTvWMS1/YnhgnSP7pcDRj8q8shxq4pCF5uL/Ltf2X2P1/HE9aJ7Dmvi3\n2vg+TNd8d+neXUx+msPTkbgTvBPctC0givfguxFZADCm8wp3RkaexEXs0gQF\nZS9D3mACB25ATg2+3O3BaFrA0jLQphWlMCYEGox/zrvsgQBqjDICBxT59ynf\nq/WV5pTapVJ/T3ceewIm/C5MoRtiHuRHMtMKjq8Hm1He7FMAfugKfxbUZrB1\n87j8\r\n=BvLl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRYrN2//tYBQB2csetxR4wMtJ3QG1C8cAqEOLPzIcuVwIhAJk/JMqAAtZt33jyVBw1satklQ+bxw+MrxMIVnxmTs8z"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a_1.1.0_1552894439348_0.710095838038409"},"_hasShrinkwrap":false},"1.2.0":{"name":"@sindresorhus/fnv1a","version":"1.2.0","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"7a72892dc41050c89e229ef0a07cdb239b095d0b","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@1.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-5ezb/dBSTWtKQ4sLQwMgOJyREXJcZZkTMbendMwKrXTghUhWjZhstzkkmt4/WkFy/GSTSGzfJOKU7dEXv3C/XQ==","shasum":"d554da64c406f3b62ad06dfce9efd537a4a55de4","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-1.2.0.tgz","fileCount":5,"unpackedSize":4102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoLDMCRA9TVsSAnZWagAAMAoP/AiXfreAaZ5wNvbvIZep\nYt31M1ICe3b9/bbMKuEYlZ6Im0EOxdsk0ofl85j/9fcdsd8/hAHlQoAp76tt\nJCYZZj3jr30N1xF6nm0E/nFfXLjX9KPw89qeuGsqlJ7DH+LMJR19gru+hXZV\nM2D1Fa+oBg5XwQy8WA41vyE7wi3VBEq4BF3bTMxEfXSvUYlP9znjZvVEVDOL\ndpe6Y8K5ql3a3Eps70juuhlk35aJQ+iCwT7AFRxiOUsKWUcHjj2GHekMLTir\niscpTzB2IDBjuLp3moFD1Jfq5G9HwK8s52wuMayDBzq0ZlibH8TQPDXS+7zx\nuxPdYPaz/WPWPUPHHsPTcG02w/4kGA6IYwP+duRFVpFkuN5UdmssGqbexn+P\nPMvnqsF+EBuaQyGdp9+6ruqTkN2FS9L8Ptg20CyphVtMYhHNSkDRYfSQ3/Wv\ncnza4B3iwYL0DjrEmju5CNJhKqPRL7pwWKEFaVL28TP4M4HETw0zWc4xNBQ+\nBjJLCZN1gIwK0Aj5JmYVKQykXk5/zH3xBmO4z55xCiDCGBqKLXLj1tYf9l/f\nypGarpsr+MYP4fBpqBLdahQsF4v5bdo7vHIhNT4XQqKPBWRw2PCi6mY10/Zq\ntb0swetrmka1axSVVimPHyQfteyUiw+5DNspcwNlTgUMTL0TMTLQTbQLriIS\nIOwO\r\n=+0aX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClIsOsgwj7inKF0bzbzgefj00uB2EOPajvP6Ok5/cafgIgKPfUx+3aH7s94nkCECcJZS/349BeoJydAhql71Ox2OY="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a_1.2.0_1554034891692_0.9441434239692896"},"_hasShrinkwrap":false},"2.0.0":{"name":"@sindresorhus/fnv1a","version":"2.0.0","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo","unicode","bigint"],"devDependencies":{"ava":"2.4.0","tsd":"0.11.0","xo":"0.25.3"},"xo":{"globals":["BigInt"]},"gitHead":"91c50f0cf2647c5a343483f0ced4cfdf6b192534","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@2.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-HAK3TQvR1AbJ4uMFBp9K0V+jlujsHkCokWJRebQK1mlXBG+i7Q5/Y7AKRmqVPt4T78Uqp2U5fFHgK3gxi4OUqw==","shasum":"2c8c77f887eeb9762dc5fa6614215671085a7a3b","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-2.0.0.tgz","fileCount":5,"unpackedSize":6959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0j0+CRA9TVsSAnZWagAA3hsP/1qZEvOSsJ0STUz4Uc1D\neMQIZs5vmX+Sv3uiRX3nDGfCRNquuNzS2rjNVsnZBDKnYKljaPlhHBdQy7MN\ned88HMPCFdjEvTc4ZycUFc3ZbUf9DOqQJ/DWCJfOZaF7+wFLRTBncr2p47OW\ncQdCwZQT6wgv4+B6Xt8hvnCRF+Xk3cKuMQLzt7OFzMuWb10RkiKnY5Y7+oEo\nzeSKbXc97z5cBO2QZRlXl7C0a9UEXuMtzA/KiVC4rYSYvUDE1gggzPEt+g15\n0oQfS6W4JNlt/MfG7ogHw4k1FVbc41Zpfzr57TEJzpfUxTYLKk9id8Opdd8T\n4z2vLq+wW7QNMCCskPi5J9uVx3Qj1LpiEVsOFPL2XwhLTgCNiJbjQRB9c2rP\nd0qqRItIZzuhpSDme2CgMd3U0ATiHQqu5E0682Hfqs8pD1ITXXzp1usJk3rO\nCBBpp+n0r+0tjKytyv8+eTSy3oT/arb/aFPoBBEexjdTuSkP1BvYUiKV1a37\ndDohH+xkr9ywvKxMippFAtwv444HgeLPgnxWpNQikTaZgOfsodO8Dsn+2gJu\njquoTgZ5kyIgYz6RgkPUPj5qeUp7o8ppdA2hzUNz9vu1moqdmbITCzbpft+b\nXWXWXh+VJrJJFuF3Vyj84L1goQ3cwwmWQvz9BabyJlzW1tpsVtcHZcIKhZ3j\nnCmK\r\n=Sve0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPCYdRLuGNTQOGgc1/lZWljZqAkDO6COSNPn9fzdh6tgIgJfJYEaL7WETTWXDkYIgjjNDxoO80m9FhFNZc9pEEftw="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a_2.0.0_1574059325606_0.3689381281129338"},"_hasShrinkwrap":false},"2.0.1":{"name":"@sindresorhus/fnv1a","version":"2.0.1","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo","unicode","bigint"],"devDependencies":{"ava":"2.4.0","tsd":"0.11.0","xo":"0.25.3"},"xo":{"globals":["BigInt"]},"gitHead":"ddeec8229c8576cda8f3b04e5596bceba7f646c4","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@2.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-suq9tRQ6bkpMukTG5K5z0sPWB7t0zExMzZCdmYm6xTSSIm/yCKNm7VCL36wVeyTsFr597/UhU1OAYdHGMDiHrw==","shasum":"2aefdfa7eb5b7f29a7936978218e986c70c603fc","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-2.0.1.tgz","fileCount":5,"unpackedSize":6959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewOA3CRA9TVsSAnZWagAAAr4QAIVoPJdRj7OBxjOekoNa\nKr0DhqP4Hv74xCPa0BOm8cyUtTA4KAP5f1L7VMgTufQg/zdfRyve3Xn00uMk\nqY6C1by3rQk+pTCnzXj3rpJ83za+aG5JermEUqSmS1Vqsha3Fy68aog8G36A\n7nRwGvMNlX39H75MJuQtBRz23zR+C1QQv5qHuoRN621zhqTHgn/P7f9ul+EX\n9VQBuYTSuuZcPkh3u+8D76sqwoyy/tSrnVhtwzVdrpZblepFVODNVAcDmGkd\n8OlaHgOOrudYRgwvuR6V+I5BucNEANQjR2no1GQ3tbOpkUgRMYDL2S3CH5e3\njiT5tugVNjOHzdk1364R1nBwrNAh6684fSkTJJBwa+xkz49j3J7yoBZ9Cp/0\nrcf1DP9Tp0lYkbmHcjl/GIBnhDaUU3B+orNe45oQ1K1CVkxPnYpodinCGtRU\n35iy8nuEKd1n5Scuc39t4fcy+6AgLx/lwb2Otdt20+I4qPevZFMVC8Ju3X4s\n6RAgkaqA5uU+/ca/0q86PxuijarSqwOUg4otYnoU8mMHyNNZ4JEJFf5vzEbM\nSaJbv4VyFHw7kpRkvRMRkayPImhUqaBE45DcbjyJB9RMw1xDDa7eL1XeAiFT\nzocMv5/p7aSvMELR5apRhrhKWm0aYt8Yl+sACnrbPwaMqTNad1Fmo+rsubsO\ng0W0\r\n=xjYy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpQJxmgLq7GIkKz24Wc8UZkqZ2n2/eK2zavPGQcctaFQIgVOonvb2JuZL8SsQdVbergJHEP8CMwSkR5VDuFHBtTys="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a_2.0.1_1589698614413_0.6466607395424904"},"_hasShrinkwrap":false},"3.0.0":{"name":"@sindresorhus/fnv1a","version":"3.0.0","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo","unicode","bigint"],"devDependencies":{"ava":"3.15.0","tsd":"0.17.0","xo":"0.44.0"},"gitHead":"053a8cb5a0f99212e71acb73a47823f26081b6e9","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@3.0.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-M6pmbdZqAryzjZ4ELAzrdCMoMZk5lH/fshKrapfSeXdf2W+GDqZvPmfXaNTZp43//FVbSwkTPwpEMnehSyskkQ==","shasum":"e8ce2e7c7738ec8c354867d38e3bfcde622b87ca","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-3.0.0.tgz","fileCount":5,"unpackedSize":6353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIraECRA9TVsSAnZWagAAXj0P/R1l0Q3zh4yUCDFtOtRZ\n8F0jC7Dirs+I0cSctFz1oQRsyV8DbZZAtR2PBKkFD4h8K6nWsKVe6Pbtt34b\n/AvgELxhOhcEWoqB8Rg5gQA8RCweHWQ3XGnIrPi8kXAQW13lm4RnjexoknVk\n8+nuMRuh4AAowo6zGpsSTZP01LPgk7VAAQvx1d4FkLc5Qqh/bjSIXkV5k7GN\nHEuO0hkzgl6MiRi4Ga9Dnv0WwXvXQhFuFSmw6XzO8qwQg0WuWKIZYN4tUzIC\nWgqFpeQDNZnO+XmlhLzYqi0x4AYSTCaF8zexDHo3Yy9pvK1L0pujF+GxZ6Ci\nGV+M2tJOIvx0bGLukq3PEywTQHXBJ4KSZ3Oww2VnoWQANAfVG8up9hAmOck3\nXwS3nmPg9rPgrCS+VTWoelKIqEA4Z6e7MmjR0wVFP2gaCr7g+TnTq/WaaLGo\nEjUMSVqsx4qq8KeBNIRz8KlxTSb9g3IxC+JhyJ9fYJWlE6j0HM3lnTR9Lcxr\nMIkHjoFHRzTliY+Tdm0rixoi6g71yEj4E37tkw5cOXxQ7n9py7atDF0JBCcX\neuqlyisCh/clMlzeqBCo2AfojgcIgJb1L1DO6WV3SOkCXHjc90PF084Mgh2S\nMKR2c2CvetRqkMyxDbyfJLWStUKo8TJEiy1WNBUbXCChhsDgbtSGtUw1AO6S\nrPop\r\n=Irj6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOA0Af2VnV498VpwuM9u+wK3paeeq4/jSr8T6emUOYTQIhAPhudwQN5Pj5fejqiqv2fTDJcGXx9tpY30EDPAH2X0vU"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a_3.0.0_1629664900158_0.12160131473192415"},"_hasShrinkwrap":false},"3.1.0":{"name":"@sindresorhus/fnv1a","version":"3.1.0","description":"FNV-1a non-cryptographic hash function","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo","unicode","bigint"],"devDependencies":{"ava":"3.15.0","tsd":"0.17.0","xo":"0.44.0"},"gitHead":"ebe1ce3d2b2d852abaf152e54310b32bd89136f0","bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","_id":"@sindresorhus/fnv1a@3.1.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-KV321z5m/0nuAg83W1dPLy85HpHDk7Sdi4fJbwvacWsEhAh+rZUW4ZfGcXmUIvjZg4ss2bcwNlRhJ7GBEUG08w==","shasum":"f8e46597298f6fd4c12dc901cdd4e73beb4d24fa","tarball":"https://registry.npmjs.org/@sindresorhus/fnv1a/-/fnv1a-3.1.0.tgz","fileCount":5,"unpackedSize":8582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMxs5iBl947IpC23RpUjvri5C76gr1Xsc5qj0o3wdYFAiEAwaVkqk5jxTENvQaNvEgoO/y4DgkqjBkWuatytqWrksw="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fnv1a_3.1.0_1700135797917_0.2561458522505369"},"_hasShrinkwrap":false}},"readme":"# fnv1a\n\n> [FNV-1a](https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function) non-cryptographic hash function\n\n[FNV-1a has outstanding distribution and collisions are rare.](https://softwareengineering.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed/145633#145633)\n\nFNV hashes are designed to be fast while maintaining a low collision rate. The FNV speed allows one to quickly hash lots of data while maintaining a reasonable collision rate. The high dispersion of the FNV hashes makes them well suited for hashing nearly identical strings such as URLs, hostnames, filenames, text, IP addresses, etc.\n\n## Install\n\n```sh\nnpm install @sindresorhus/fnv1a\n```\n\n## Usage\n\n```js\nimport fnv1a from '@sindresorhus/fnv1a';\n\nfnv1a('🦄🌈', {size: 32});\n//=> 2868248295n\n\nfnv1a('🦄🌈', {size: 128});\n//=> 13487074350300261116944693128525960095n\n\nNumber(fnv1a('🦄🌈', {size: 32}));\n//=> 2868248295\n\nconst bytes = new Uint8Array([240, 159, 166, 132, 240, 159, 140, 136]);\nfnv1a(bytes, {size: 32});\n//=> 2868248295n\n```\n\n## API\n\n### fnv1a(value, options?)\n\nReturns the hash as a positive `BigInt`.\n\nIf you need it as a `number`, use `32` as `size` and wrap the return value in `Number(…)`.\n\n#### value\n\nType: `string | Uint8Array`\n\nA string or UTF-8 bytes.\n\n#### options\n\nType: `object`\n\n##### size\n\nType: `number`\\\nValues: `32 | 64 | 128 | 256 | 512 | 1024`\\\nDefault: `32`\n\nThe bit size of the hash.\n\n##### utf8Buffer\n\nType: `Uint8Array`\n\nA Uint8Array used to encode the string into UTF-8 bytes.\n\nThis array can be reused across calls to `fnv1a`. Doing so will improve performance because it avoids allocating a new Uint8Array when encoding the string.\n\nThe size of the array does not have to be large enugh to hold the entire string, but performance will be improved if it is.\n\nThis option is only used when `value` is a string.\n\n```js\nimport fnv1a from '@sindresorhus/fnv1a';\n\nconst utf8Buffer = new Uint8Array(100);\n\nfnv1a('🦄🌈', {size: 32, utf8Buffer});\n//=> 2868248295n\n```\n\n## Related\n\n- [djb2a](https://github.com/sindresorhus/djb2a) - DJB2a non-cryptographic hash function\n- [sdbm](https://github.com/sindresorhus/sdbm) - SDBM non-cryptographic hash function\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-11-16T11:56:38.368Z","created":"2018-01-07T01:21:52.044Z","1.0.0":"2018-01-07T01:21:52.044Z","1.1.0":"2019-03-18T07:33:59.453Z","1.2.0":"2019-03-31T12:21:31.822Z","2.0.0":"2019-11-18T06:42:05.816Z","2.0.1":"2020-05-17T06:56:54.600Z","3.0.0":"2021-08-22T20:41:40.315Z","3.1.0":"2023-11-16T11:56:38.188Z"},"homepage":"https://github.com/sindresorhus/fnv1a#readme","keywords":["fnv1a","fnv-1a","fnv1","fnv-1","fnv","algorithm","hash","hashing","string","function","fowler–noll–vo","fowler","noll","vo","unicode","bigint"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/fnv1a.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/fnv1a/issues"},"license":"MIT","readmeFilename":"readme.md"}