Skip to content
Myr

Update the size in docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrey Sitnik · committed by Andrey Sitnik · parent c21904c · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:package.json+2 added-2 removed
modified:README.md+2 added-2 removed
3 unmodified lines
4 alt="Nano ID logo by Anton Lovchikov" width="180" height="94">56A tiny, secure, URL-friendly, unique string ID generator for JavaScript.78* **Small.** 141 bytes (minified and gzipped). No dependencies.8* **Small.** 139 bytes (minified and gzipped). No dependencies.9 [Size Limit] controls the size.10* **Safe.** It uses cryptographically strong random APIs.11 Can be used in clusters.12* **Fast.** It’s 16% faster than UUID.
49 unmodified lines
62631. Nano ID uses a bigger alphabet, so a similar number of random bits64 are packed in just 21 symbols instead of 36.652. Nano ID code is 3 times less than `uuid/v4` package:66 141 bytes instead of 435.66 139 bytes instead of 435.673. Because of memory allocation tricks, Nano ID is 16% faster than UUID.686970## Benchmark
325 unmodified lines