apiro-db 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Secure Store
1
+ # Apiro DB
2
2
 
3
3
  A lightweight, zero-dependency, encrypted data store for Node.js.
4
4
 
@@ -20,7 +20,7 @@ Secure Store provides a simple key-value database similar to Quick.db, while rem
20
20
  ## Installation
21
21
 
22
22
  ```bash
23
- npm install secure-store
23
+ npm install apiro-db
24
24
  ```
25
25
 
26
26
  ---
@@ -28,7 +28,7 @@ npm install secure-store
28
28
  ## Usage
29
29
 
30
30
  ```js
31
- const { SecureStore } = require("secure-store");
31
+ const { SecureStore } = require("apiro-db");
32
32
 
33
33
  const db = new SecureStore({
34
34
  file: "./data.db",
package/lib/store.js CHANGED
@@ -7,7 +7,7 @@ class SecureStore {
7
7
  throw new Error("SecureStore requires a secret key");
8
8
  }
9
9
 
10
- this.file = options.file || "./secure.db";
10
+ this.file = options.file || "./apiro.db";
11
11
  this.secret = options.secret;
12
12
  this.data = {};
13
13
  this.ready = this._load();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apiro-db",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A lightweight, zero-dependency, encrypted data store for Node.js.",
5
5
  "main": "index.js",
6
6
  "scripts": {