toge-db 1.0.0 → 1.0.1
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 +7 -1
- package/bin/toge-db.js +8 -0
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -19,7 +19,13 @@ Toge-DB is a lightweight JSON-based database with a simple ORM (Object-Relationa
|
|
|
19
19
|
---
|
|
20
20
|
## CLI Usage
|
|
21
21
|
|
|
22
|
-
TogeDB comes with a raw CLI that supports SQL-like queries.
|
|
22
|
+
TogeDB comes with a raw CLI that supports SQL-like queries. After installing the library, you can easily start the CLI using `npx`:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx toge-db
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Or, if you are developing within the `toge-db` repository, you can run `npm run toge-start`.
|
|
23
29
|
|
|
24
30
|
### Authentication
|
|
25
31
|
Please set the in .env file with the following credentials:
|
package/bin/toge-db.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toge-db",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Toge-DB is a lightweight JSON-based database with a simple ORM (Object-Relational Mapping) layer. It is specifically designed to be highly suitable for rapid prototyping and offline applications, such as those built with Electron or other JavaScript frameworks. This documentation explains how to define models, perform queries, and manage data using the TogeORM.\n",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"database",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"author": "Revtm",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"main": "index.js",
|
|
13
|
+
"bin": {
|
|
14
|
+
"toge-db": "bin/toge-db.js"
|
|
15
|
+
},
|
|
13
16
|
"scripts": {
|
|
14
17
|
"toge-start": "node index.js",
|
|
15
18
|
"toge-test": "node test.js"
|