Skip to content

Commit

Permalink
v0.0.1: docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
mster committed Apr 13, 2022
1 parent 4120e67 commit 9a05e91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Seeder is not idempotent; it uses the current timestamp when creating the seed.

## Example:
```js
const { seeder } = require('@datamosh/seeder')
const { seeder } = require('@datamosh-js/seeder')
seeder('really', () => 'interesting', { arguments: ':)' })
// '21620145'
```

Needing something a bit longer...
```js
const { seeder512 } = require('@datamosh/seeder')
const { seeder512 } = require('@datamosh-js/seeder')
seeder512('really', ['really'], { cool: 'args' })
// '33a6b55f2df7d44c24544193f302e76e31a44c1e2ce1c2621d3077a8c6b7d177b1c0bd08bd2319bb16aa2556197ffcd5f521d228865599eecc6645d53f44fd12'
```
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datamosh-js/seeder",
"version": "0.0.0",
"version": "0.0.1",
"description": "Standarized seed generation and validation for Datamosh",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9a05e91

Please sign in to comment.