Skip to content

Calculates a hash string from a JS object

License

Notifications You must be signed in to change notification settings

neno-giscloud/object-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

object-hash

Usage

// caclulates an MD5 based hash for objects
objectHash({ a: 1 }) !== objectHash({ a: 2 }) // true

// order of the attributes is ignored
objectHash({ a: 1, b: 2 }) === objectHash({ b: 2, a: 1 }) // true

About

Calculates a hash string from a JS object

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published