simple-json-db
Advanced tools
Comparing version 1.3.0 to 2.0.0
@@ -1,2 +0,2 @@ | ||
declare class JSONdb<T = object> { | ||
declare class JSONdb<T = any> { | ||
constructor(filePath: string, options?: { asyncWrite?: boolean, syncOnWrite?: boolean, jsonSpaces?: boolean, stringify?: (o:T) => string, parse?: (s:string) => (T | undefined) }); | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "simple-json-db", | ||
"version": "1.3.0", | ||
"version": "2.0.0", | ||
"description": "A simple, no-frills, JSON storage engine for Node.JS", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">=6.0" | ||
"node": ">=10.0" | ||
}, | ||
@@ -11,0 +11,0 @@ "scripts": { |
@@ -9,3 +9,3 @@ # Simple JSONdb [![npm](https://img.shields.io/npm/v/simple-json-db)](https://www.npmjs.com/package/simple-json-db) [![npm](https://img.shields.io/npm/dw/simple-json-db)](https://www.npmjs.com/package/simple-json-db) [![Minimum NodeJS version](https://img.shields.io/node/v/simple-json-db)](https://www.npmjs.com/package/simple-json-db) [![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/simple-json-db)](https://libraries.io/npm/simple-json-db/dependents) ![npm bundle size](https://img.shields.io/bundlephobia/min/simple-json-db) | ||
`npm install --save simple-json-db` | ||
`npm install simple-json-db` | ||
@@ -78,2 +78,2 @@ ## Usage | ||
Run `npm test` to start the combined Mocha & Chai testing suite. | ||
Run `npm ci` to install the testing dependencies and `npm test` to start the test suite. |
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
16918
9