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

Commit 58b3e07

Browse files
committed
Replace mentions of level-browserify with level
1 parent fa4debc commit 58b3e07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ If the environment does not support a type, it will throw an error which `level-
127127

128128
### Normalization
129129

130-
If you desire normalization for keys and values (e.g. to stringify numbers), wrap `level-js` with [`encoding-down`][encoding-down]. Alternatively install [`level-browserify`][level-browserify] which conveniently bundles [`levelup`][levelup], `level-js` and `encoding-down`. Such an approach is also recommended if you want to achieve universal (isomorphic) behavior or to smooth over type differences between browsers. For example, you could have [`leveldown`][leveldown] in a backend and `level-js` in the frontend.
130+
If you desire normalization for keys and values (e.g. to stringify numbers), wrap `level-js` with [`encoding-down`][encoding-down]. Alternatively install [`level`][level] which conveniently bundles [`levelup`][levelup], `level-js` and `encoding-down`. Such an approach is also recommended if you want to achieve universal (isomorphic) behavior or to smooth over type differences between browsers. For example, you could have [`leveldown`][leveldown] in a backend and `level-js` in the frontend. The `level` package does exactly that.
131131

132132
Another reason you might want to use `encoding-down` is that the structured clone algorithm, while rich in types, can be slower than `JSON.stringify`.
133133

@@ -184,7 +184,7 @@ const value2 = await db.get('key')
184184
const value3 = value2.buffer
185185
```
186186

187-
With `encoding-down` (or `level-browserify`) you can use the `id` encoding to selectively bypass encodings:
187+
With `encoding-down` (or `level`) you can use the `id` encoding to selectively bypass encodings:
188188

189189
```js
190190
const encode = require('encoding-down')
@@ -282,7 +282,7 @@ To sustain [`Level`](https://github.com/Level) and its activities, become a back
282282

283283
[leveldown]: https://github.com/Level/leveldown
284284

285-
[level-browserify]: https://github.com/Level/level-browserify
285+
[level]: https://github.com/Level/level
286286

287287
[encoding-down]: https://github.com/Level/encoding-down
288288

0 commit comments

Comments
 (0)