Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
feat: add level options (#82)
Browse files Browse the repository at this point in the history
Adds documented level options to types
  • Loading branch information
achingbrain authored Jul 30, 2021
1 parent 6ab1f45 commit 1a3e060
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ class LevelDatastore extends Adapter {
* @param {any} [opts.db] - level db reference
* @param {boolean} [opts.createIfMissing]
* @param {boolean} [opts.errorIfExists]
* @param {string} [opts.prefix] - level-js option
* @param {number} [opts.version] - level-js option
* @param {number} [opts.cacheSize] - leveldown option
* @param {number} [opts.writeBufferSize] - leveldown option
* @param {number} [opts.blockSize] - leveldown option
* @param {number} [opts.maxOpenFiles] - leveldown option
* @param {number} [opts.blockRestartInterval] - leveldown option
* @param {number} [opts.maxFileSize] - leveldown option
*/
constructor (path, opts) {
super()
Expand Down

0 comments on commit 1a3e060

Please sign in to comment.