fix: Resolve TypeScript errors
Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
62
client/node_modules/level-concat-iterator/README.md
generated
vendored
Normal file
62
client/node_modules/level-concat-iterator/README.md
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
# level-concat-iterator
|
||||
|
||||
> Concatenate items from an iterator into an array.
|
||||
|
||||
[![level badge][level-badge]](https://github.com/Level/awesome)
|
||||
[](https://www.npmjs.com/package/level-concat-iterator)
|
||||
[](https://www.npmjs.com/package/level-concat-iterator)
|
||||
[](https://travis-ci.org/Level/concat-iterator)
|
||||
[](https://coveralls.io/github/Level/concat-iterator)
|
||||
[](https://standardjs.com)
|
||||
[](https://www.npmjs.com/package/level-concat-iterator)
|
||||
[](#backers)
|
||||
[](#sponsors)
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var concat = require('level-concat-iterator')
|
||||
var level = require('level')
|
||||
|
||||
level('DB', function (err, db) {
|
||||
db.put('foo', 'bar', function (err) {
|
||||
concat(db.iterator(), function (err, data) {
|
||||
console.log(data)
|
||||
})
|
||||
})
|
||||
})
|
||||
```
|
||||
|
||||
**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md).
|
||||
|
||||
## API
|
||||
|
||||
### `concat(iterator, cb)`
|
||||
|
||||
Takes an `abstract-leveldown` compatible `iterator` as first parameter and calls back with an array of keys and values. Calls back with an error if `iterator.next(cb)` or `iterator.end(cb)` errors.
|
||||
|
||||
## Contributing
|
||||
|
||||
[`Level/concat-iterator`](https://github.com/Level/concat-iterator) 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](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details.
|
||||
|
||||
## Donate
|
||||
|
||||
To sustain [`Level`](https://github.com/Level) and its activities, become a backer or sponsor on [Open Collective](https://opencollective.com/level). Your logo or avatar will be displayed on our 28+ [GitHub repositories](https://github.com/Level), [npm](https://www.npmjs.com/) packages and (soon) [our website](http://leveldb.org). 💖
|
||||
|
||||
### Backers
|
||||
|
||||
[](https://opencollective.com/level)
|
||||
|
||||
### Sponsors
|
||||
|
||||
[](https://opencollective.com/level)
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE.md) © 2018-present [Contributors](CONTRIBUTORS.md).
|
||||
|
||||
[level-badge]: http://leveldb.org/img/badge.svg
|
||||
Reference in New Issue
Block a user