Mkrt screenshot

Mkrt

Author Avatar Theme by J4w8n
Updated: 1 Sep 2022
13 Stars

Create SvelteKit routes, fast.

Overview

MKRT is a tool for quickly creating SvelteKit routes. It provides configuration options and templating files to simplify the routing process. The tool supports TypeScript and JSDoc, and allows for customization of code templates. MKRT can be installed globally using npm, pnpm, or yarn.

Features

  • Configuration file: MKRT allows for the creation of an optional mkrt.config.json file to set project defaults.
  • Runtime options: The tool provides options for adding commonly-used code to files, choosing the type of route to create, and specifying custom template files.
  • TypeScript support: MKRT supports the use of TypeScript in route files.
  • JSDoc support: The tool integrates JSDoc documentation in route files.
  • Default & custom template routing files: MKRT generates default route files based on the type of route being created, such as page, layout, or server routes.

Installation

To install MKRT, use one of the following commands:

  • npm install -g mrkt
  • pnpm add -g mkrt
  • yarn global add mkrt

Summary

MKRT is a tool designed to simplify the creation of routes in SvelteKit projects. It offers configuration options, supports TypeScript and JSDoc, and provides default and customizable templates for different types of routes. With an optional configuration file, users can set project defaults, and runtime options allow for customization during route creation. MKRT can be installed globally using npm, pnpm, or yarn.