Installation
Mutative is a npm package that can be used in Node.js and browsers, it is also compatible with TypeScript.
Using Mutative from npm/Yarn/pnpm
- npm
- Yarn
- pnpm
npm install mutative
yarn add mutative
pnpm add mutative
Mutative size is only 4.12 KB
(minified and gzipped), it is very lightweight.
Using Mutative from CDN
- Unpkg:
<script src="https://unpkg.com/mutative"></script>
- JSDelivr:
<script src="https://cdn.jsdelivr.net/npm/mutative"></script>