Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
fix #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay LaPorte committed Apr 16, 2019
1 parent ca7fc3a commit cb38ab4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ Example
`npm install string-hash` or `yarn add string-hash`, then:

```
import stringHash from "string-hash";
const myString = "foo";
const myPositiveInteger = stringHash(myString);
const stringHash = require("string-hash");
console.log(stringHash("foo")); // prints "193420387"
```

Note that the return value is always an unsigned, 32-bit integer.
Expand Down

0 comments on commit cb38ab4

Please sign in to comment.