telegram-escape
Advanced tools
+12
| type EscapeFunction = (text: string) => string; | ||
| type TagEscapeFunction = ( | ||
| template: TemplateStringsArray, | ||
| ...substitutions: any[] | ||
| ) => string; | ||
| export const escapeHTML: EscapeFunction; | ||
| export const escapeMarkdown: EscapeFunction; | ||
| export const escapeMarkdownV1: EscapeFunction; | ||
| export const HTML: TagEscapeFunction; | ||
| export const md: TagEscapeFunction; | ||
| export const mdv1: TagEscapeFunction; |
+3
-2
| { | ||
| "name": "telegram-escape", | ||
| "version": "1.0.8", | ||
| "version": "1.0.9", | ||
| "description": "Lightweight Javascript utility zero-dependecy library for Telegram Bots developers for escaping user input with formatting options", | ||
@@ -21,3 +21,4 @@ "main": "index.js", | ||
| }, | ||
| "homepage": "https://github.com/mainarthur/telegram-escape#readme" | ||
| "homepage": "https://github.com/mainarthur/telegram-escape#readme", | ||
| "types": "./types.d.ts" | ||
| } |
+2
-0
| # telegram-escape | ||
| [](https://app.codacy.com/gh/mainarthur/telegram-escape?utm_source=github.com&utm_medium=referral&utm_content=mainarthur/telegram-escape&utm_campaign=Badge_Grade_Settings) | ||
| Lightweight Javascript utility zero-dependecy library for Telegram Bots developers for escaping user input with [formatting options](https://core.telegram.org/bots/api#formatting-options) | ||
@@ -4,0 +6,0 @@ |
5651
13.82%4
33.33%122
9.91%102
2%