New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crummydb

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crummydb

A fully NodeJS KVStore Database

  • 0.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

crummydb

what

  • A level-style embedded databsese (key-value store) for NodeJS
  • Written fully in NodeJS with minimal dependancies

why

  • Available best in class embedded stores relied on compiled binaries which make coss-platform deployment difficult
  • Available "pure node" stores were limited to a size that could be held completely in memory

how

const DB = require('crummydb');

//Initialize
var directory = 'testDir'; //data stored here
db = new Naive(directory);
await db.init();

//Upsert a Value
db.put('myKey','My Cool Value');

//Retrieve a Value
await db.get('myKey');

//Remove a Value
db.delete('myKey');

Keywords

FAQs

Package last updated on 08 May 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

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