easy-json-database
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -113,2 +113,10 @@ const fs = require("fs"); | ||
/** | ||
* Clear the database. | ||
*/ | ||
clear(){ | ||
this.data = {}; | ||
this.saveDataToFile(); | ||
} | ||
}; |
{ | ||
"name": "easy-json-database", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Easy database using json", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3665
111