Socket
Book a DemoInstallSign in
Socket

named-level-store

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

named-level-store

Create a levelDB instance on your local machine

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

named-level-store stability

npm version build status test coverage downloads js-standard-style

Create a levelDB instance on your local machine. Will return the same database given the same name, each time

Usage

const level = require('named-level-store')
const db = level('my-cool-database-name')
console.log(db.location)
// => /Users/anon/.leveldb/my-cool-database-name

API

db = level(name)

Create a database under ~/.leveldb. Useful to create a database and not have to worry where it's stored. Sets the db.location property to reflect where the database was stored

Installation

$ npm install named-level-store

License

MIT

Keywords

leveldb

FAQs

Package last updated on 15 Nov 2016

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