Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

telegram-escape

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegram-escape - npm Package Compare versions

Comparing version
1.0.8
to
1.0.9
+12
types.d.ts
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
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/713607391a6f455ab8c1d0cc3a231167)](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 @@