A generic parser for slash command text input
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: update readme for jsr

+3 -3
+3 -3
README.md
··· 7 7 Basic Usage: 8 8 9 9 ```ts 10 - import parse from 'https://deno.land/x/slash_command_parser/mod.ts' 10 + import parse from 'jsr:@inro/slash-command-parser' 11 11 12 12 parse('/todos add name: My Todo Name') 13 13 ··· 22 22 Pass in a template to parse options: 23 23 24 24 ```ts 25 - import parse, { OptionDefinition, OptionType } from 'slash_command_parser' 25 + import parse, { OptionDefinition, OptionType } from 'jsr:@inro/slash-command-parser' 26 26 27 27 const template: OptionDefinition[] = [ 28 28 { name: 'item', type: OptionType.string }, ··· 47 47 parseCommand, 48 48 parseOptions, 49 49 parseSubCommands, 50 - } from 'slash_command_parser' 50 + } from 'jsr:@inro/slash-command-parser' 51 51 52 52 const content = 'add item: lettuce howmany: 2 complete: false' 53 53