File tree Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change
1
+
2
+ build /
3
+ node_modules /
4
+ example /
Original file line number Diff line number Diff line change 1
1
# NodeJS Driver for CrossDB
2
2
3
3
## Pre-requirement
4
- You need to [ install] ( https://crossdb.org/get-started/install/ ) crossdb lib first
4
+ You need to [ install] ( https://crossdb.org/get-started/install/ ) crossdb lib first
5
+
6
+ > ### Not ready for production
7
+
8
+ ## Install
9
+ ``` sh
10
+ npm install @croosdb/crossdb-nodejs
11
+ ```
12
+ ### to Use
13
+
14
+ ``` javascript
15
+ const CrossDB = require (' @croosdb/crossdb-nodejs' );
16
+
17
+ const db = new CrossDB (' :memory:' );
18
+ // or
19
+ const db = new CrossDB (' ./<<path>>/<<db name>>' );
20
+ ```
5
21
6
- > not ready for production
7
22
8
23
## Run Example
9
24
10
25
``` sh
11
- npm install
12
- npm start
26
+ npm install
27
+ npm start
13
28
```
You can’t perform that action at this time.
0 commit comments