Install the Web Player

Browser

Development:

With warnings and tips

<script src="https://unpkg.com/spiritjs/dist/spirit.js"></script>

Production:

Warnings and tips stripped, ~10KB min+gzip

<script src="https://unpkg.com/spiritjs/dist/spirit.min.js"></script>

Don’t use the minified version during development. You will miss out on all the nice warnings for common mistakes!

CDN

Recommended: https://unpkg.com/spiritjs/dist/spirit.min.js, which reflects the latest version as soon as it is published to npm. You can also browse the source of the npm package at https://unpkg.com/spiritjs/.

Also available on cdn.jdelivr.net.

Node

# npm
npm i spiritjs -S

# yarn
yarn add spiritjs

NOTE: Make sure to install spiritjs from npm, the spirit package is a different one.

results matching ""

    No results matching ""