Comparing version 1.0.9 to 1.1.0
@@ -24,2 +24,10 @@ const fs = require ('fs') | ||
} | ||
importFromQuickDB(quickDB) { | ||
if (!quickDB) throw Error(`please write value to quick db`) | ||
quickDB.all().forEach(async body => { | ||
this.set(body.ID, quickDB.get(body.ID)) | ||
}) | ||
if (this.log === true) { | ||
console.log("DONE") | ||
} | ||
fetch(data){ | ||
@@ -26,0 +34,0 @@ if(!fs.existsSync(`data.json`)) { |
{ | ||
"name": "pro.db", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "a simple and easy database package make your life easy.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31691
251