Docs → Installation
📥
Installation
npm
npm install toonkit2Legacy npm
npm i toonkityarn
yarn add toonkit2pnpm
pnpm add toonkit2Use the jsDelivr package for browser usage without a package manager:
jsDelivr (browser)
<script src="https://cdn.jsdelivr.net/npm/toonkit2@2.5.0/dist/cjs/index.min.js"></script> <script type="module"> import toonkit2 from "https://cdn.jsdelivr.net/npm/toonkit2@2.5.0/+esm"; </script>
Major package update: toonkit is the old legacy package name. toonkit2 is the official recommended package for all new applications. See the legacy npm package for existing projects.