@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 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
- ### Node.js Version Requirements 🔧
69
+ ### Runtime Requirements 🔧
70
70
 
71
- This project requires Node.js v20.0.0 or v22.0.0. We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your Node.js versions.
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.0.0
76
- nvm use 22.0.0
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 🌐