Skip to content

Commit

Permalink
docs: update readme's
Browse files Browse the repository at this point in the history
  • Loading branch information
crashmax-dev committed Feb 12, 2023
1 parent 5001144 commit 9d6dee4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const path = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'database')
const initialData = new Users(new User('John Doe'))
const adapter = new AsyncAdapter('users', Users, initialData)
const provider = new NodeProvider({ path })
const database = provider.createAsync(adapter)
const database = await provider.create(adapter)

await database.read()
database.data?.users[0]?.addPost(new Post('Lorem ipsum'))
Expand Down
1 change: 1 addition & 0 deletions packages/lodash/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# @stenodb/lodash [![](https://img.shields.io/npm/v/@stenodb/lodash)](https://www.npmjs.org/package/@stenodb/lodash)
2 changes: 1 addition & 1 deletion packages/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const path = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'database')
const initialData = new Users(new User('John Doe'))
const adapter = new AsyncAdapter('users', Users, initialData)
const provider = new NodeProvider({ path })
const database = provider.createAsync(adapter)
const database = await provider.create(adapter)

await database.read()
database.data?.users[0]?.addPost(new Post('Lorem ipsum'))
Expand Down

0 comments on commit 9d6dee4

Please sign in to comment.