Skip to content

Commit 2b2cade

Browse files
committed
Updated README
1 parent bf827b2 commit 2b2cade

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
# jhash
1+
# hashj
22
Java hascode functions for Nodejs
3+
4+
Java string hashcode:
5+
```js
6+
const hashj = require('hashj');
7+
8+
const hashCode = hashj.jHashCode('javascript');
9+
```
10+
11+
Java UUID hashcode:
12+
```js
13+
const hashj = require('hashj');
14+
15+
const hashCode = hashj.jUUIDHashCode('90903f27-e36e-4e6f-996a-124c58365b43');
16+
```

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "jhash",
2+
"name": "hashj",
33
"version": "1.0.0",
44
"description": "Java hashcode functions for Nodejs",
55
"main": "index.js",
@@ -10,6 +10,9 @@
1010
"type": "git",
1111
"url": "git+https://github.com/bytecodehq/jhash.git"
1212
},
13+
"publishConfig": {
14+
"registry": " https://registry.npmjs.org"
15+
},
1316
"keywords": [
1417
"java",
1518
"string-hashcode",

0 commit comments

Comments
 (0)