Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Barnie authored Jul 8, 2024
1 parent 3b84d95 commit e89e565
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 @@ -15,10 +15,10 @@

### Example
```js
const jsid = require('jsid')(5); // node: 5
const jsid = require('@barnie/jsid')(5); // node: 5
jsid.get();
// result: 1761692919744673

jsid.get().toString(2).padStart(52,'0');
// result: '0110010000100100000000011100101101011011010010100010'
```
```

0 comments on commit e89e565

Please sign in to comment.