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

sdb

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sdb

Sdb addon for Node.js

latest
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

SDB bindings for nodejs

SDB is a fast and small key-value database.

All keys and values can only be strings, those strings are interpreted as arrays, numbers, booleans, pointers, or even JSON objects that can be parsed and indented pretty quickly.

The SDB database works like memcache, as it is designed to run in memory, but supports atomic sync to disk and journaling.

Getting Started

var sdb = require('sdb');
var db = new sdb.Database("test.db");
// quick json indentation
console.log(sdb.json_unindent(
  sdb.json_indent('{"pop":33,"caca":123}')));
db.set("foo", "bar")
console.log ("Hello "+db.get("bar"));

Keywords

nosql

FAQs

Package last updated on 23 Sep 2015

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