Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman authored Jul 23, 2024
1 parent ca49a74 commit c4dc342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ exception of the BigInt implementation of `sdbm`)
[Details →](http://www.cse.yorku.ca/~oz/hash.html#djb2)

```js
import { dbj2 as hash } from '@dumbjs/quick-hash'
import { djb2 as hash } from "@dumbjs/quick-hash";
// or
// import { dbj2 as hash } from '@dumbjs/quick-hash/dbj2'
// import { djb2 as hash } from '@dumbjs/quick-hash/djb2'

hash('hello') //=>261238937
```
Expand Down

0 comments on commit c4dc342

Please sign in to comment.