Skip to content

swufexlm/js-hashcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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('Это строка'));

About

A JavaScript HashCode calculator like Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published