zipurl 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -6
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
> Generate gzipped url-safe strings on the browser or nodejs
|
|
6
6
|
|
|
7
|
-
Encode
|
|
8
|
-
|
|
9
|
-
only **≈1kB**. Featuring:
|
|
7
|
+
Encode long strings into compressed lossless gzipped url-safe representations. Very useful for
|
|
8
|
+
sharing large datasets, like JSON, via URLs. Featuring:
|
|
10
9
|
|
|
11
|
-
- [x] Lightning-fast, feather-light, zero dependencies
|
|
10
|
+
- [x] Lightning-fast, feather-light (≈1kB), zero dependencies
|
|
12
11
|
- [x] Native-first, uses web standards for modern browsers
|
|
13
12
|
- [x] Feature-detects, falling back to [pako](https://github.com/nodeca/pako) and
|
|
14
|
-
[js-base64](https://github.com/dankogai/js-base64) for older
|
|
13
|
+
[js-base64](https://github.com/dankogai/js-base64) for older envs
|
|
15
14
|
- [x] Universal, works on both browser and nodejs
|
|
16
|
-
- [x] Battle-tested
|
|
15
|
+
- [x] Battle-tested, test suite included
|
|
17
16
|
|
|
18
17
|
## Demo
|
|
19
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zipurl",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Generate gzipped url-safe strings on the browser or nodejs",
|
|
5
5
|
"author": "Jason Lee <jason@zerodevx.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -12,10 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@eslint/js": "^10.0.1",
|
|
15
|
-
"esbuild": "^0.
|
|
16
|
-
"eslint": "^10.
|
|
17
|
-
"globals": "^17.
|
|
18
|
-
"prettier": "^3.8.
|
|
15
|
+
"esbuild": "^0.28.1",
|
|
16
|
+
"eslint": "^10.5.0",
|
|
17
|
+
"globals": "^17.6.0",
|
|
18
|
+
"prettier": "^3.8.4"
|
|
19
|
+
},
|
|
20
|
+
"allowScripts": {
|
|
21
|
+
"esbuild": true
|
|
19
22
|
},
|
|
20
23
|
"type": "module",
|
|
21
24
|
"exports": "./index.js",
|