Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
talaikis committed Aug 25, 2019
1 parent a50c416 commit 0468c14
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<p align="center">
<a href="https://talaikis.com/">
<img alt="Talaikis Ltd." src="https://github.com/TalaikisInc/talaikis.com_react/blob/master/media/logo.png" width="228">
</a>
</p>

# Local JSON Database

This is simple, fast, small (12.5 KB), no dependencies, local disk, table-level Node.js JSON database, which we often use in large development workloads.
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const _deleteTable = (baseDir, dir, done) => {
} else {
if (toDelete.length === i && errors === 0) {
try {
stat(path, (err, r) => {
stat(path, (err, _) => {
if (err === null) {
rmdir(path, (err) => {
if (err === null) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talaikis/json-db",
"version": "1.0.1",
"version": "1.0.2",
"description": "No dependencies local JSON database.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0468c14

Please sign in to comment.