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

level-archive

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

level-archive

Cli tool to import/export leveldb into txt file for archiving and transmission

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

level-archive cli

Cli tool to import/export leveldb into txt file for archiving and transmission.

npm Package Version

Support read from file/stdin, and write to file/stdout. Which can be piped to/from gzip

Installation

npm install --global level-archive

Usage

Export from leveldb to file:

# export as plain text
export-level-archive ./db ./data/db.txt

# export as compressed binary
export-level-archive ./db | gzip > ./data/db.txt.gz

Import from file to leveldb:

# import from plain text
import-level-archive ./db ./data/db.txt

# import from compressed binary
cat ./data/db.txt.gz | gzip -d | export-level-archive ./db

More details see: example

Keywords

leveldb

FAQs

Package last updated on 24 Jul 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