Skip to main content

A parser for slash commands

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
64%
Published
7 months ago (0.0.2)
enum OptionType

Members

attachment = 6
boolean = 4
integer = 3
number = 5
string = 2
sub_command = 1

Add Package

deno add jsr:@inro/slash-command-parser

Import symbol

import { OptionType } from "@inro/slash-command-parser";

---- OR ----

Import directly with a jsr specifier

import { OptionType } from "jsr:@inro/slash-command-parser";

Add Package

npx jsr add @inro/slash-command-parser

Import symbol

import { OptionType } from "@inro/slash-command-parser";

Add Package

yarn dlx jsr add @inro/slash-command-parser

Import symbol

import { OptionType } from "@inro/slash-command-parser";

Add Package

pnpm dlx jsr add @inro/slash-command-parser

Import symbol

import { OptionType } from "@inro/slash-command-parser";

Add Package

bunx jsr add @inro/slash-command-parser

Import symbol

import { OptionType } from "@inro/slash-command-parser";