@swufexlm/js-hashcode

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @swufexlm/js-hashcode

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.92 kB

Total Files

6

Last publish

Collaborators

  • swufexlm