From c4ce27ff2649e30a6c0e94ba7eae632aff3ecf8f Mon Sep 17 00:00:00 2001 From: typicode Date: Mon, 23 Oct 2023 15:53:50 +0200 Subject: [PATCH] docs: fix missing argument --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b34a4a..09871a3 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ Lowdb is extremely flexible, if you need to extend it or modify its behavior, us Lowdb has two classes (for asynchronous and synchronous adapters). -#### `new Low(adapter)` +#### `new Low(adapter, defaultData)` ```js import { Low } from 'lowdb' @@ -171,7 +171,7 @@ await db.read() await db.write() ``` -#### `new LowSync(adapterSync)` +#### `new LowSync(adapterSync, defaultData)` ```js import { LowSync } from 'lowdb'