key-hash

Very simple hash that converts strings to numbers

Usage no npm install needed!

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

README

key-hash

Build Status js-standard-style npm version Coverage Status

Very simple hash that converts strings to numbers

var hash = keyHash(key)

  • key (string) - The string to hash
const keyHash = require('key-hash')
const hash = keyHash('something')