Skip to content

Commit 6426dc1

Browse files
committed
Update for abstract-level
Moves many modules (but not yet all) to the Legacy section and adds new `abstract-level` based modules. Also adds a `timeless` option for modules, to make the "last commit" badge green, to indicate that the module is feature-complete and can be used even if it seems old by lack of activity.
1 parent c09f9e2 commit 6426dc1

22 files changed

+1819
-1622
lines changed

README.md

Lines changed: 1059 additions & 966 deletions
Large diffs are not rendered by default.

modules/bundles.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

modules/core.json

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,10 @@
11
{
22
"title": "Core",
33
"modules": {
4-
"levelup": {
5-
"github": "Level/levelup",
6-
"description": [
7-
"The glue that holds everything together.",
8-
"Use this when you need a [custom or swappable store](#stores)."
9-
],
10-
"copyrightYear": 2012,
11-
"author": null
12-
},
13-
"abstract-leveldown": {
14-
"github": "Level/abstract-leveldown",
15-
"description": [
16-
"An abstract prototype matching the [leveldown] API.",
17-
"Use this to implement your own store."
18-
],
19-
"copyrightYear": 2013,
20-
"author": "Rod Vagg"
21-
},
22-
"level-packager": {
23-
"github": "Level/packager",
24-
"description": [
25-
"Package helper to export [a bundle](#bundles).",
26-
"Use this to create a new `level-*` bundle."
27-
],
28-
"copyrightYear": 2013,
29-
"author": null
4+
"abstract-level": {
5+
"github": "Level/abstract-level",
6+
"description": "Abstract class for a lexicographically sorted key-value database.",
7+
"timeless": true
308
}
319
}
3210
}

modules/databases.json

Lines changed: 0 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,6 @@
1212
"url": "http://pouchdb.com/",
1313
"description": "PouchDB allows you to store and query data offline and then sync with CouchDB when online. For Node, browser and mobile."
1414
},
15-
"couchup": {
16-
"github": "mikeal/couchup",
17-
"description": [
18-
"A CouchDB implementation on top of [levelup]."
19-
]
20-
},
21-
"firedup": {
22-
"github": "eugeneware/firedup",
23-
"description": [
24-
"A node.js implementation of firebase based on [levelup]."
25-
]
26-
},
27-
"len": {
28-
"github": "binocarlos/len",
29-
"description": [
30-
"Len is a resource booking database using LevelDB for storage. Useful for calendar and gantt chart apps and for questions like 'can a customer book this resource starting X and ending Y'."
31-
]
32-
},
33-
"lem": {
34-
"github": "binocarlos/lem",
35-
"description": [
36-
"Lem is a telemetry storage database using LevelDB. Keys are indexed by timestamp and you can read values in-between 2 points in time."
37-
]
38-
},
3915
"levelgraph": {
4016
"github": "mcollina/node-levelgraph",
4117
"description": [
@@ -54,88 +30,11 @@
5430
"Event-driven database based on [pouchdb]. Optimized for reactive programming with observables. Events and state is automatically shared between multiple browser tabs. Queries are defined by the mongoDB mango-standard."
5531
]
5632
},
57-
"pushdb": {
58-
"github": "mikeal/pushdb",
59-
"description": [
60-
"A programmable database with document storage and unique indexing capabilities."
61-
]
62-
},
6333
"search-index": {
6434
"github": "fergiemcdowall/search-index",
6535
"description": [
6636
"A persistent full text search engine for browser and Node.js."
6737
]
68-
},
69-
"tacodb": {
70-
"github": "dominictarr/tacodb",
71-
"description": [
72-
"A responsive, Node.js-style database ideal for realtime data. Highly modular and adaptable, allowing extension with the [Level][level-org] ecosystem."
73-
]
74-
},
75-
"timestreamdb": {
76-
"github": "brycebaril/timestreamdb",
77-
"description": [
78-
"A full-featured timeseries database on top of LevelDB. Includes a library for streaming statistical operations on timeseries data including joins, aggregates, filters, and map-like operations."
79-
]
80-
},
81-
"@nano-sql/core": {
82-
"github": "ClickSimply/Nano-SQL",
83-
"description": [
84-
"A small (10Kb) RDBMS abstraction on top of [levelup] that also runs in the browser with undo/redo support, immutable objects and IndexedDB persistence."
85-
]
86-
},
87-
"vertical": {
88-
"github": "zy445566/vertical",
89-
"description": [
90-
"LevelDB distributed, Server and Client!"
91-
]
92-
},
93-
"flash-store": {
94-
"github": "zixia/flash-store",
95-
"description": [
96-
"FlashStore is a Key-Value persistent storage with easy to use ES6 Map-like API(both Async and Sync support), powered by LevelDB and TypeScript."
97-
]
98-
},
99-
"level-fact-base": {
100-
"github": "smallhelm/level-fact-base",
101-
"description": [
102-
"Store immutable facts and query them with datalog."
103-
]
104-
},
105-
"dulcimer": {
106-
"github": "fritzy/dulcimer",
107-
"description": "Define JSON models and manage indexes, children, foreign keys and much more."
108-
},
109-
"levi": {
110-
"github": "cshum/levi",
111-
"description": "Stream based full-text search for Node.js and browser using [levelup]."
112-
},
113-
"level-mongo": {
114-
"github": "simon-p-r/level-mongo",
115-
"description": "MongoDB-like database backed by LevelDB."
116-
},
117-
"level-orm": {
118-
"github": "eugeneware/level-orm",
119-
"description": "Simple ORM built on [levelup]."
120-
},
121-
"level-lively": {
122-
"github": "eugeneware/level-lively",
123-
"description": "[levelup] implementation of [LivelyDb](https://github.com/eugeneware/livelydb) for doing real-time data binding of a database with local javascript objects."
124-
},
125-
"kwdb": {
126-
"github": "KsRyY/kwdb",
127-
"description": "REST wrapper for [levelup]."
128-
},
129-
"level-restful": {
130-
"github": "karissa/level-restful",
131-
"description": "REST wrapper for [levelup], as an extension to [level-orm]."
132-
},
133-
"level-rest": {
134-
"github": "shama/level-rest",
135-
"description": [
136-
"REST wrapper for [levelup].",
137-
"NB. Not compatible with latest [levelup]."
138-
]
13938
}
14039
}
14140
}

modules/encodings.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Example of a custom encoding
2+
const { Level } = require('level')
3+
const charwise = require('charwise')
4+
5+
const db = new Level('./db', {
6+
keyEncoding: charwise
7+
})
8+
9+
await db.put(['users', 2], 'example')

modules/encodings.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"title": "Encodings",
3-
"description": "Custom [level-codec] compatible encodings for use with [encoding-down].",
3+
"example": "encodings.js",
44
"modules": {
5+
"protocol-buffers": {
6+
"github": "mafintosh/protocol-buffers",
7+
"description": "[Protocol Buffers](https://developers.google.com/protocol-buffers/) for Node.js. Compiled messages are valid as encodings.",
8+
"timeless": true
9+
},
510
"charwise": {
611
"github": "dominictarr/charwise",
7-
"description": "Encode/decode with same encoded sort order as [bytewise]."
12+
"description": "Encode / decode with same encoded sort order as [bytewise].",
13+
"timeless": true
814
},
915
"bytewise": {
1016
"github": "deanlandolt/bytewise",
@@ -14,13 +20,10 @@
1420
"NB. Use [charwise] if possible. Gives you almost everything `bytewise` does but much faster."
1521
]
1622
},
17-
"protocol-buffers": {
18-
"github": "mafintosh/protocol-buffers",
19-
"description": "[Protocol Buffers](https://developers.google.com/protocol-buffers/) for Node.js. Compiled messages are [level-codec] compatible encodings."
20-
},
2123
"lexicographic-integer-encoding": {
2224
"github": "vweevers/lexicographic-integer-encoding",
23-
"description": "Wraps [`lexicographic-integer`](https://github.com/substack/lexicographic-integer)."
25+
"description": "Wraps [`lexicographic-integer`](https://github.com/substack/lexicographic-integer).",
26+
"timeless": true
2427
}
2528
}
2629
}

modules/hooks.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

modules/iterators.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

modules/layers.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)