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

neadb

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neadb

NEaDB is a npm package to simulate a small and easy to use database using node and json

latest
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

NEaDB

NPM JavaScript Style Guide

Not Exactly a DataBase(NEaDB) is a package to simulate a small and easy to use database using node and json. This databse module uses a key value pair to store the values in a json file.

Installation

npm install neadb

Usage

const { neadb } = require("neadb");

const db = neadb();

Avaiable functions

db.create(); // Creates database file

db.createKey(key); // Creates json key to store values

db.deleteKey(key); // Deletes json key with it's value

db.storeValue(key, value); // Stores value in a given key

db.deleteValue(key); // Deletes value in a given key

db.getValue(key); // Retrieves value from given key

db.getLastUpdated(); // Retrieves last update date from database file

Keywords

NEaDB

FAQs

Package last updated on 19 Oct 2020

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