@cloudpss/object-hash
TypeScript icon, indicating that this package has built-in type declarations

0.5.30 • Public • Published

@cloudpss/object-hash

Opinionated object hash calculation based on the @cloudpss/ubjson encoder.

API

hash(value: unknown): string

Calculate hash of a JS value.

hashEncoded(value: Uint8Array): string

Calculate hash of a JS value that has been encoded with encode of @cloudpss/ubjson.

Readme

Keywords

Package Sidebar

Install

npm i @cloudpss/object-hash

Weekly Downloads

60

Version

0.5.30

License

MIT

Unpacked Size

19.1 kB

Total Files

13

Last publish

Collaborators

  • opportunity