Comparing version 1.0.2 to 1.0.3
const Datastore = require('nedb') | ||
const db = { | ||
users: new Datastore({ filename: __dirname + 'data/users.db', autoload: true }), | ||
accounts: new Datastore({ filename: __dirname + 'data/accounts.db', autoload: true }), | ||
transactions: new Datastore({ filename: __dirname + 'data/transactions.db', autoload: true }), | ||
users: new Datastore({ filename: __dirname + '/../data/users.db', autoload: true }), | ||
accounts: new Datastore({ filename: __dirname + '/../data/accounts.db', autoload: true }), | ||
transactions: new Datastore({ filename: __dirname + '/../data/transactions.db', autoload: true }), | ||
} | ||
module.exports = db |
{ | ||
"name": "bankr", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Banking Ledger Command Line Application with Node.js", | ||
@@ -5,0 +5,0 @@ "main": "program.js", |
12031