Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 5eee577

Browse files
committed
Add manifest (Level/community#83)
Cherry-picked from Level/leveldown#685. Closes #144.
1 parent 4888b97 commit 5eee577

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

leveldown.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,19 @@ function LevelDOWN (location) {
1313
throw new Error('constructor requires a location string argument')
1414
}
1515

16-
AbstractLevelDOWN.call(this)
16+
AbstractLevelDOWN.call(this, {
17+
bufferKeys: true,
18+
snapshots: true,
19+
permanence: true,
20+
seek: true,
21+
clear: true,
22+
createIfMissing: true,
23+
errorIfExists: true,
24+
additionalMethods: {
25+
approximateSize: true,
26+
compactRange: true
27+
}
28+
})
1729

1830
this.location = location
1931
this.context = binding.db_init()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepublishOnly": "npm run dependency-check"
2020
},
2121
"dependencies": {
22-
"abstract-leveldown": "~6.1.1",
22+
"abstract-leveldown": "~6.2.2",
2323
"napi-macros": "~2.0.0",
2424
"node-gyp-build": "~4.1.0"
2525
},

0 commit comments

Comments
 (0)