Setup
Gunshi can be installed in various JavaScript environments. Choose the installation method that matches your project setup.
Install
Stable
sh
npm install --save gunshish
pnpm add gunshish
yarn add gunshish
# For deno projects, you can add Gunshi from JSR:
deno add jsr:@gunshi/gunshish
bun add gunshiv0.27 Beta
sh
npm install --save gunshi@betash
pnpm add gunshi@betash
yarn add gunshi@betash
## you can specify version with `@`
deno add jsr:@gunshi/[email protected]sh
bun add gunshi@betaRequirements
Gunshi requires:
- JavaScript Runtime:
- Node.js: v20 or later
- Deno: v2 or later
- Bun: v1.1 or later
- ES Modules:
"type": "module"inpackage.json(if using Node.js and Bun) - TypeScript: Version 5.0 or higher (if using TypeScript)
