Verified Commit aa5bb8b8 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update code examples

parent b1443db6
......@@ -46,7 +46,7 @@ npm i github:small-tech/jsdb
Here’s a quick example to whet your appetite:
```js
const JSDB = require('.')
const JSDB = require('@small-tech/jsdb')
// Create your database in the test folder.
// (This is where your JSON files – “tables” – will be saved.)
......@@ -109,7 +109,7 @@ Of course, when you load the data in directly, you are not running it inside JSD
To test that out, open a Node.js command-line interface (run `node`) from the directory that your scripts are in and enter the following commands:
```js
const JSDB = require('.')
const JSDB = require('@small-tech/jsdb')
// This will load test database with the people table we created earlier.
const db = new JSDB('db')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment