Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 450 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 450 Bytes

JSHashCode

A JavaScript HashCode calculator like Java.

Now this library can only calcuate String's hashCode.

const hashCode = require('@swufexlm/js-hashcode');

console.log(hashCode('ABCDEFG'));
console.log(hashCode('字符串'));
console.log(hashCode('这是一个还算长的字符串'));
console.log(hashCode('これは文字列です'));
console.log(hashCode('이 문자열입니다'));
console.log(hashCode('Это строка'));