Skip to content
Myr

Update 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 dc7e3b4 · Browse files · 1 file+2 added−2 removed
This commit

State

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

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:README.md+2 added-2 removed
6 unmodified lines
78**Safe.** It uses cryptographically strong random APIs9and tests distribution of symbols.1011**Small.** 143 bytes (minified and gzipped). No dependencies.11**Small.** 145 bytes (minified and gzipped). No dependencies.12It uses [Size Limit] to control size.1314**Compact.** It uses a larger alphabet than UUID (`A-Za-z0-9_~`).15As result it could reduce ID size from 36 to 21 symbols.
56 unmodified lines
72731. Nano ID uses a bigger alphabet, so a similar number of random bits74 are packed in just 21 symbols instead of 36.752. Nano ID code is 3 times less than `uuid/v4` package:76 143 bytes instead of 435.76 145 bytes instead of 435.777879## Benchmark80
138 unmodified lines