|
1 | 1 | # level-js
|
2 | 2 |
|
3 |
| -**An [`abstract-leveldown`][abstract-leveldown] compliant store on top of [IndexedDB][indexeddb].** |
4 |
| - |
5 |
| -> :pushpin: This module will soon be [deprecated](https://github.com/Level/community/issues/113), because it is superseded by [`browser-level`](https://github.com/Level/browser-level). |
6 |
| -
|
7 |
| -[![level badge][level-badge]][awesome] |
8 |
| -[](https://www.npmjs.com/package/level-js) |
9 |
| -[](https://github.com/Level/level-js/actions/workflows/test.yml) |
10 |
| -[](https://codecov.io/gh/Level/level-js) |
11 |
| -[](https://standardjs.com) |
12 |
| -[](https://common-changelog.org) |
13 |
| -[](https://opencollective.com/level) |
14 |
| - |
15 |
| -## Table of Contents |
16 |
| - |
17 |
| -<details><summary>Click to expand</summary> |
18 |
| - |
19 |
| -- [Background](#background) |
20 |
| -- [Example](#example) |
21 |
| -- [Browser Support](#browser-support) |
22 |
| -- [Type Support](#type-support) |
23 |
| -- [Install](#install) |
24 |
| -- [API](#api) |
25 |
| - - [`db = leveljs(location[, options])`](#db--leveljslocation-options) |
26 |
| - - [`options`](#options) |
27 |
| -- [Big Thanks](#big-thanks) |
28 |
| -- [Contributing](#contributing) |
29 |
| -- [Donate](#donate) |
30 |
| -- [License](#license) |
31 |
| - |
32 |
| -</details> |
| 3 | +**Superseded by [`browser-level`](https://github.com/Level/browser-level). Please see [Frequently Asked Questions](https://github.com/Level/community#faq).** |
33 | 4 |
|
34 | 5 | ## Background
|
35 | 6 |
|
@@ -74,10 +45,6 @@ await db.put('hello', Buffer.from('world'))
|
74 | 45 | const value = await db.get('hello')
|
75 | 46 | ```
|
76 | 47 |
|
77 |
| -## Browser Support |
78 |
| - |
79 |
| -[](https://app.saucelabs.com/u/level-js) |
80 |
| - |
81 | 48 | ## Type Support
|
82 | 49 |
|
83 | 50 | Keys and values can be a string or [`Buffer`][buffer]. Any other type will be irreversibly stringified. The only exceptions are `null` and `undefined`. Keys and values of that type are rejected.
|
@@ -142,8 +109,6 @@ Support us with a monthly donation on [Open Collective](https://opencollective.c
|
142 | 109 |
|
143 | 110 | [MIT](LICENSE)
|
144 | 111 |
|
145 |
| -[level-badge]: https://leveljs.org/img/badge.svg |
146 |
| - |
147 | 112 | [indexeddb]: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
|
148 | 113 |
|
149 | 114 | [buffer]: https://nodejs.org/api/buffer.html
|
|
0 commit comments