hash-code
A JavaScript implementation of Java's hashCode method.
Node Repository
https://www.npmjs.com/package/@pelevesque/hash-code
Installation
npm install @pelevesque/hash-code
Tests
Command | Description |
---|---|
npm test or npm run test
|
All Tests Below |
npm run cover |
Standard Style |
npm run standard |
Coverage |
npm run unit |
Unit Tests |
Usage
const hashCode = require('@pelevesque/hash-code')
const result = hashCode('rabbit')
// result === -938645478