fnv1a

FNV-1a non-cryptographic hash function

MIT License

Downloads
344.4K
Stars
195
Committers
7

Bot releases are visible (Hide)

fnv1a - Latest Release

Published by sindresorhus 11 months ago

  • Improve performance (#15) edb1546
  • Accept Uint8Array inputs (#15) edb1546
  • Add utf8Buffer option (#15) edb1546

https://github.com/sindresorhus/fnv1a/compare/v3.0.0...v3.1.0

fnv1a -

Published by sindresorhus about 3 years ago

Breaking

  • Require Node.js 12.20 a764d9b
  • This package is now pure ESM. Please read this.
  • It now returns BigInt instead of number. To get a number, just wrap it in Number(…).

https://github.com/sindresorhus/fnv1a/compare/v2.0.1...v3.0.0

fnv1a -

Published by sindresorhus over 4 years ago

  • Fix TypeScript typing of bigints (#12) 8b1778d

https://github.com/sindresorhus/fnv1a/compare/v2.0.0...v2.0.1

fnv1a -

Published by sindresorhus almost 5 years ago

Breaking

  • Require Node.js 10 c4b0cee
  • Improve Unicode handling (#9) cbdc497
    The hash will be different if the string contains any non-ASCII characters.

Enhancements

  • Add BigInt support (#9) cbdc497

https://github.com/sindresorhus/fnv1a/compare/v1.2.0...v2.0.0

fnv1a -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#6) 61852f0

https://github.com/sindresorhus/fnv1a/compare/v1.1.0...v1.2.0

fnv1a -

Published by sindresorhus over 5 years ago

  • Add TypeScript definition (#5) 43b6261

https://github.com/sindresorhus/fnv1a/compare/v1.0.0...v1.1.0