New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@kokkoro/jsondb

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kokkoro/jsondb

Local JSON database (◕ω<)☆

latest
Source
npmnpm
Version
1.2.3
Version published
Maintainers
1
Created
Source

jsondb

Local JSON database (◕ω<)☆

const { Database } = require('@kokkoro/jsondb');

const db = new Database('kokkoro'); // created "kokkoro/index.json"

console.log(db); // JSON file => {}
db.message = 'hello world'; // JSON file => { "message": "hello world" }

setInterval(() => {
  // modify local JSON file to support hot update
  console.log(db.message);
}, 2000);

Keywords

kokkoro

FAQs

Package last updated on 05 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts