Comparing version 1.0.6 to 1.0.7
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 1.0.7 | ||
* Fix documentation. | ||
## 1.0.6 | ||
@@ -5,0 +8,0 @@ * Fix documentation. |
{ | ||
"name": "nanoid", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A tiny (146 bytes), secure URL-friendly unique string ID generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,2 +8,11 @@ # Nano ID | ||
**Safe.** It uses cryptographically strong random APIs | ||
and tests distribution of symbols. | ||
**Small.** 146 bytes (minified and gzipped). No dependencies. | ||
It uses [Size Limit] to control size. | ||
**Compact.** It uses a larger alphabet than UUID (`A-Za-z0-9_~`). | ||
As result it could reduce ID size from 36 to 21 symbols. | ||
```js | ||
@@ -14,11 +23,2 @@ var nanoid = require('nanoid') | ||
**Safe.** It uses cryptographically strong random APIs | ||
and guarantees a proper distribution of symbols. | ||
**Small.** Only 146 bytes (minified and gzipped). No dependencies. | ||
It uses [Size Limit] to control size. | ||
**Compact.** It uses a larger alphabet than UUID (`A-Za-z0-9_~`) | ||
and has a similar number of unique IDs in just 21 symbols instead of 36. | ||
The generator supports Node.js and [all browsers] starting from IE 11. | ||
@@ -88,3 +88,3 @@ | ||
uuid/v4 315,344 ops/sec | ||
shortid 83,250 ops/sec | ||
shortid 33,717 ops/sec | ||
``` | ||
@@ -174,3 +174,3 @@ | ||
* [Website to choice ID size] and keep ID collision probability low. | ||
* [ID size calculator] to choice smaller ID size depends on your case. | ||
* [`nanoid-dictionary`] with popular alphabets to use with `nanoid/generate`. | ||
@@ -180,2 +180,4 @@ * [`nanoid-cli`] to generate ID from CLI. | ||
[`nanoid-dictionary`]: https://github.com/CyberAP/nanoid-dictionary | ||
[ID size calculator]: https://alex7kom.github.io/nano-nanoid-cc/ | ||
[`nanoid-cli`]: https://github.com/twhitbeck/nanoid-cli | ||
@@ -182,0 +184,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12742
199