Skip to content
This repository was archived by the owner on Jul 22, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTKruto Parse

A 1:1 clone of grammyjs/parse-mode modified to work with MTKruto.

Installation

Deno

deno add @mtkruto/parse

pnpm

pnpm add @mtkruto/parse

Yarn

yarn add @mtkruto/parse

npm

npm install @mtkruto/parse

Bun

bun add @mtkruto/parse

Usage

import { bold, fmt, italic, replyFmt } from "@mtkruto/parse";

client.use(replyFmt);

client.on("message", async (ctx) => {
  if (!ctx.from) return;
  await ctx.replyFmt(fmt`Hi, ${bold(fmt`your ID is ${italic(ctx.from.id)}`)}.`);
});

API Reference

https://jsr.io/@mtkruto/parse/doc

License

MIT

License File

About

Create formatted messages using template strings

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages