Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
MTKruto/parseNode.js and Bun users should install this package from npm: https://npm.im/@mtkruto/parse
This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun




JSR Score
76%
Published
8 months ago (0.0.1)
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
Built and signed on
GitHub Actions
Add Package
deno add jsr:@mtkruto/parse
Import symbol
import * as parse from "@mtkruto/parse";
Import directly with a jsr specifier
import * as parse from "jsr:@mtkruto/parse";
Add Package
pnpm i jsr:@mtkruto/parse
pnpm dlx jsr add @mtkruto/parse
Import symbol
import * as parse from "@mtkruto/parse";
Add Package
yarn add jsr:@mtkruto/parse
yarn dlx jsr add @mtkruto/parse
Import symbol
import * as parse from "@mtkruto/parse";
Add Package
vlt install jsr:@mtkruto/parse
Import symbol
import * as parse from "@mtkruto/parse";
Add Package
npx jsr add @mtkruto/parse
Import symbol
import * as parse from "@mtkruto/parse";
Add Package
bunx jsr add @mtkruto/parse
Import symbol
import * as parse from "@mtkruto/parse";