level-packager

levelup package helper for distributing with an abstract-leveldown store

MIT 40 个版本
安装
npm install level-packager
yarn add level-packager
pnpm add level-packager
bun add level-packager
README

level-packager

levelup package helper for distributing with an abstract-leveldown store.

level badge npm Node version Test Coverage Standard Common Changelog Donate

API

Exports a single function which takes a single argument, an abstract-leveldown compatible storage back-end for levelup. The function returns a constructor function that will bundle levelup with the given abstract-leveldown replacement. The full API is supported, including optional functions, destroy(), and repair(). Encoding functionality is provided by encoding-down.

The constructor function has a .errors property which provides access to the different error types from level-errors.

For example use-cases, see:

Also available is a test.js file that can be used to verify that the user-package works as expected.

If you are upgrading: please see UPGRADING.md.

Contributing

Level/packager is an OPEN Open Source Project. This means that:

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See the Contribution Guide for more details.

Support us with a monthly donation on Open Collective and help us continue our work.

License

MIT

版本列表
6.0.1 2021-10-02
6.0.0 2021-04-17
5.1.1 2019-11-29
5.1.0 2019-10-13
5.0.3 2019-09-08
5.0.2 2019-06-08
5.0.1 2019-03-31
5.0.0 2018-12-27
4.0.1 2018-06-23
4.0.0 2018-06-12
3.1.0 2018-05-28
3.0.0 2018-05-23
2.1.1 2018-02-13
2.1.0 2017-12-13
2.0.2 2017-11-11
2.0.1 2017-10-12
2.0.0 2017-10-11
2.0.0-rc3 2017-09-16
2.0.0-rc2 2017-09-12
2.0.0-rc1 2017-09-04
1.2.1 2016-12-27
1.2.0 2015-11-27
1.1.0 2015-06-09
1.0.0-0 2015-05-16
1.0.0 2015-05-19
0.19.7 2015-05-10
0.19.6 2015-05-10
0.19.5 2015-05-10
0.19.4 2015-05-10
0.19.3 2015-05-10
0.19.2 2015-05-10
0.19.1 2015-05-10
0.19.0 2015-05-04
0.18.0 2013-11-18
0.17.0-5 2013-10-12
0.17.0-4 2013-10-12
0.17.0-3 2013-10-12
0.17.0-2 2013-10-12
0.17.0-1 2013-10-09
0.17.0 2013-10-09