Socket
Socket
Sign inDemoInstall

super-bionic

Package Overview
Dependencies
6
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    super-bionic

An in-memory cache that saves to JSON and can be used as a database


Version published
Weekly downloads
98
increased by3.16%
Maintainers
1
Install size
7.57 MB
Created
Weekly downloads
 

Readme

Source

Bionic

Get Started
Usage
const db = new Bionic('data');
// see tmp/data.json for db

db.create('tableName', { name: 'first row of data' });
db.create('tableName', { name: 'second row of data' });


db.find('tableName', { name: 'first row of data' });
// > [{ name: 'first row of data', id: 1 }]

db.find('tableName', {});
// > [{ name: 'first row of data', id: 1 }, { name: 'second row of data', id: 2 }]

db.update('tableName', { id: 2 }, { description: 'this was updated' });

db.remove('tableName', { id: 1 });
// > [{ name: 'second row of data', description: 'this was updated', id: 2 }]


Keywords

FAQs

Last updated on 15 Jan 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc