diff --git a/README.md b/README.md index 5413d8f..0ef9b6d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# PawSQLite WebSQL Adapter +# PawSQLite Node Adapter -A WebSQL adapter for PawSQLite which offers many improvements over working with WebSQL natively. Most importantly, transactions do not commit automatically. This allows you to perform asynchronous operations during transactions and still guarantee data integrity. +A Node adapter for PawSQLite using the [sqlite3 package](https://www.npmjs.com/package/sqlite3). ## Installation @@ -8,7 +8,7 @@ You can install using npm: ```bash npm install -s git+https://git.n0m.org/n0m/PawSQLite.git -npm install -s git+https://git.n0m.org/n0m/PawSQLite-WebSQL-Adapter.git +npm install -s git+https://git.n0m.org/n0m/PawSQLite-Node-Adapter.git ``` ## Usage @@ -17,12 +17,12 @@ For more detailed usage, please see: [https://git.n0m.org/n0m/PawSQLite](https:/ ```javascript const PawSQLite = require("pawsqlite"); -const PawSQLiteWebSQLAdapter = require("pawsqlite-websql-adapter"); +const PawSQLiteNodeAdapter = require("pawsqlite-node-adapter"); -PawSQLite.registerAdapter(PawSQLiteWebSQLAdapter) +PawSQLite.registerAdapter(PawSQLiteNodeAdapter) const db = await PawSQLite.open("test", { - adapter: 'PawSQLiteWebSQLAdapter' + adapter: 'PawSQLiteNodeAdapter' }); await db.sql(`