@mherod/get-cookie 4.4.2 → 4.4.3
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 +7 -4
- package/dist/cli.cjs +10 -10
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,14 +66,14 @@ npm install @mherod/get-cookie # or npm
|
|
|
66
66
|
yarn add @mherod/get-cookie # or yarn
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
###
|
|
69
|
+
### Runtime Requirements 🔧
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
Requires **Node.js v20, v22, v24, or v25**, or **Bun**. We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your Node.js versions.
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
74
|
# Install the correct Node.js version using nvm
|
|
75
|
-
nvm install 22
|
|
76
|
-
nvm use 22
|
|
75
|
+
nvm install 22
|
|
76
|
+
nvm use 22
|
|
77
77
|
|
|
78
78
|
# Or simply run this in the project directory (we've included an .nvmrc file)
|
|
79
79
|
nvm use
|
|
@@ -81,6 +81,8 @@ nvm use
|
|
|
81
81
|
|
|
82
82
|
The project includes an `.nvmrc` file that specifies the required Node.js version, so `nvm use` will automatically switch to the correct version when you're in the project directory.
|
|
83
83
|
|
|
84
|
+
Bun is also supported natively — `bun:sqlite` is used automatically when running under Bun, with no additional configuration required.
|
|
85
|
+
|
|
84
86
|
## More Examples
|
|
85
87
|
|
|
86
88
|
### Command Line
|
|
@@ -150,6 +152,7 @@ get-cookie % example.com --output json > cookies-backup.json
|
|
|
150
152
|
- **Multiple profiles**: Works with all browser profiles (Personal, Work, etc.)
|
|
151
153
|
- **Batch operations**: Get multiple cookies efficiently with built-in SQL optimization (2-3x faster)
|
|
152
154
|
- **Cross-platform**: macOS, Linux, Windows support
|
|
155
|
+
- **Bun support**: Works natively in Bun environments using `bun:sqlite`, with automatic runtime detection
|
|
153
156
|
- **Output formats**: Raw values, JSON, pretty-printed tables
|
|
154
157
|
|
|
155
158
|
## Browser Support 🌐
|