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

Deno & Web

  1. If you develop for Deno or develop in Deno, install MTKruto using the following command.
$ deno add jsr:@mtkruto/mtkruto
  1. 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
  1. 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>