react-hash-string

Create Hashcode from string

Usage no npm install needed!

<script type="module">
  import reactHashString from 'https://cdn.skypack.dev/react-hash-string';
</script>

README

Create Hashcode from string

NPM version NPM downloads NPM downloads MIT License Build Status

npm i react-hash-string

import { 
    hashRandom, 
    hashString, 
    hashObject, 
    hashArray 
  } from 'react-hash-string'

hashRandom();                 // 2004276715
hashString("test");           // 3556498
hashObject({"a":"b"});        // 1363984429
hashArray(["1","2"]);         // -590494081

Javad Shariati jsh1400@yahoo.com