Socket
Socket
Sign inDemoInstall

simple-json-db

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-json-db - npm Package Compare versions

Comparing version 1.3.0 to 2.0.0

.github/workflows/ci.yml

2

index.d.ts

@@ -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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc