Skip to content
/ hash-code Public

generate a hash code value for an object

License

Notifications You must be signed in to change notification settings

117/hash-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hash-code

version language build prettier

generate a hash code value for an object.

Contents

Features

  • Extremely fast.
  • Same functionality as Java's hashCode().

Install

From NPM:

> npm i @master-chief/hash-code

Usage

import hashcode from '@master-chief/hash-code'

console.log(hashcode({ cat: 'meow' })))
// output: 1225469654

Contributing

Feel free to contribute and PR to your 💖's content.