diff --git a/README.md b/README.md index 123b3b54..8f5a9968 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A tiny, secure, URL-friendly, unique string ID generator for JavaScript. -* **Small.** 141 bytes (minified and gzipped). No dependencies. +* **Small.** 139 bytes (minified and gzipped). No dependencies. [Size Limit] controls the size. * **Safe.** It uses cryptographically strong random APIs. Can be used in clusters. @@ -63,7 +63,7 @@ There are three main differences between Nano ID and UUID v4: 1. Nano ID uses a bigger alphabet, so a similar number of random bits are packed in just 21 symbols instead of 36. 2. Nano ID code is 3 times less than `uuid/v4` package: - 141 bytes instead of 435. + 139 bytes instead of 435. 3. Because of memory allocation tricks, Nano ID is 16% faster than UUID. diff --git a/package.json b/package.json index 950ceea7..f56093dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nanoid", "version": "2.1.2", - "description": "A tiny (141 bytes), secure URL-friendly unique string ID generator", + "description": "A tiny (139 bytes), secure URL-friendly unique string ID generator", "keywords": [ "uuid", "random", @@ -67,7 +67,7 @@ "size-limit": [ { "path": "index.js", - "limit": "141 B" + "limit": "139 B" }, { "path": "generate.js",