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

@ddatabase/default-storage

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ddatabase/default-storage

Default storage provider for dDatabase.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@ddatabase/default-storage

Default storage provider used by dDatabase

npm install @ddatabase/default-storage

Usage

const defaultStorage = require('@ddatabase/default-storage')

const feed = ddatabase(name => defaultStorage(name, { directory: 'feed' }))

API

storage = defaultStorage(name, [options])

Makes a new random-access-storage provider using the random-access-file module.

If making a bitfield file that file will be locked to avoid parallel writers.

License

MIT

FAQs

Package last updated on 10 Mar 2021

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