Installation
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
Deno & Web
- If you develop for Deno or develop in Deno, install MTKruto using the following command.
$ deno add jsr:@mtkruto/mtkruto
- If your project is developed using Node.js with a framework like (Next.js, SvelteKit, etc.) or a bundler (Parcel, Vite, etc.), install MTKruto using one of the following commands
$ pnpm dlx jsr i @mtkruto/mtkruto
$ yarn dlx jsr i @mtkruto/mtkruto
$ npx jsr i @mtkruto/mtkruto
- You can also import it directly from a CDN into your HTML file.
<!DOCTYPE html>
<html>
<body>
<script type="module">
import { ... } from "https://esm.sh/jsr/@mtkruto/[email protected]";
</script>
</body>
</html>