Installation
Main Walkthrough 1 of 25
Bun & Node.js
In server-side projects running on Bun or Node.js, the @mtkruto/node package can be used.
$ pnpm add @mtkruto/node$ yarn add @mtkruto/node$ npm install @mtkruto/node$ bun add @mtkruto/nodeDeno & Web
- If you develop for Deno or develop in Deno, install MTKruto using the following command.
$ deno add jsr:@mtkruto/mtkruto
- If your Node.js project uses a framework (such as Next.js or SvelteKit) or a bundler (such as Parcel or Vite), install MTKruto using one of the following commands.
$ pnpm add jsr:@mtkruto/mtkruto$ yarn add jsr:@mtkruto/mtkruto$ npx jsr add @mtkruto/mtkruto$ bunx jsr add @mtkruto/mtkrutoAs an alternative, you can also use @mtkruto/browser from npm:
$ pnpm add @mtkruto/browser$ yarn add @mtkruto/browser$ npm install @mtkruto/browser$ bun add @mtkruto/browser- You can also import it directly from a CDN into your HTML file.
<!DOCTYPE html>
<html>
<body>
<script type="module">
import { ... } from "https://cdn.jsdelivr.net/npm/@mtkruto/[email protected]/esm/mod.js";
</script>
</body>
</html>