Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
angeal185 committed Jun 8, 2020
1 parent 85ff32e commit 98f66b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# tweekdb
the flat-file, in-memory or remote-sync db that is as lightning fast or disturbingly slow as you configure it to be.
the flat-file, in-memory, remote-sync or hybrid db that is as lightning as you configure it to be.

![cd-img] ![dep-img] ![sz-img]

Expand Down Expand Up @@ -40,6 +40,9 @@ const { tweek, tweekdb } = require('tweekdb');
//minimal base setup example
const db = tweek(new tweekdb('./db'));

//minimal cache only setup example
const db = tweek(new tweekdb());

//complete custom base setup example
const db = tweek(new tweekdb('./db',{
//add custom db serialize function
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
objconst fs = require('fs'),
const fs = require('fs'),
zlib = require('zlib'),
https = require('https'),
enc = require('./enc');
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tweekdb",
"version": "1.0.3",
"description": "flat-file, in-memory or remote-sync db that is as lightning fast or disturbingly slow as you configure it to be",
"version": "1.0.4",
"description": "flat-file, in-memory or remote-sync db that is as lightning as you configure it to be",
"main": "./index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 98f66b3

Please sign in to comment.