Skip to content
Myr

docs: add Deno to install instructions (#1252)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Bartek Iwańczuk · committed by GitHub · parent 16e225b · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:website/docs/installation.mdx+1 added
13 unmodified lines
14Immer can be installed as a direct dependency, and will work in any ES5 environment:1516- Yarn: `yarn add immer`17- NPM: `npm install immer`18- Deno: `deno install immer`19- CDN: Exposed global is `immer`20 - Unpkg: `<script src="https://unpkg.com/immer"></script>`21 - JSDelivr: `<script src="https://cdn.jsdelivr.net/npm/immer"></script>`22 - ⚠️ When using a CDN, it is best to check the url in your browser and see what version it resolves to, so that your users aren't accidentally served a newer version in the future when updates are release. So use a url like: https://unpkg.com/immer@6.0.3/dist/immer.umd.production.min.js instead. Substitute `production.min` with `development` in the URL for a development build.
60 unmodified lines