string-hashcode
Extra utilities for string.
Install
npm install string-hashcode
Example
var hashCode = ;var s = 'abc'; console; // undefinedvar code = ;console; // Function var code2 = s;assert;
API
hashCode(str)
params:
- str: string object
return:
Number: hash code
Return a hash code of a string. Note that a hash code is immutable with a certain string.
Lisence
MIT