zenith
Engineering-grade state management powered by Immer
File Explorer
- api.en.md
- api.ja.md
- api.zh-CN.md
- middleware-devtools.en.md
- middleware-devtools.ja.md
- middleware-devtools.zh-CN.md
- middleware-history.en.md
- middleware-history.ja.md
- middleware-history.zh-CN.md
- todo-app.en.md
- todo-app.ja.md
- todo-app.zh-CN.md
- BaseStore.ts
- effect.ts
- memo.ts
- index.ts
- index.ts
- index.ts
- index.ts
- createStore.tsx
- useStoreSelector.ts
- index.ts
- index.ts
- .gitignore
- CHANGELOG.md
- LICENSE
- package-lock.json
- package.json
- README.ja.md
- README.md
- README.zh-CN.md
- tsconfig.json
- vite.config.ts
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
pnpm
View Details ▼
pnpm
Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.
pnpm init
Create a `package.json` file:
pnpm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
pnpm add {{module_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
yarn
View Details ▼
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
