@telegram.ts/formatters
Advanced tools
+1
-0
@@ -46,2 +46,3 @@ import { html, markdownv, type TypeSupportedLanguages, SupportedLanguages } from "./index.js"; | ||
| }; | ||
| version: string; | ||
| SupportedLanguages: { | ||
@@ -48,0 +49,0 @@ Markup: string[]; |
+3
-1
| import html from "./html"; | ||
| import markdownv from "./markdownv"; | ||
| import { version } from "../package.json"; | ||
| import { type TypeSupportedLanguages, SupportedLanguages } from "./constants"; | ||
@@ -48,2 +49,3 @@ declare const _default: { | ||
| }; | ||
| version: string; | ||
| SupportedLanguages: { | ||
@@ -333,2 +335,2 @@ Markup: string[]; | ||
| export default _default; | ||
| export { html, markdownv, TypeSupportedLanguages, SupportedLanguages }; | ||
| export { html, markdownv, version, TypeSupportedLanguages, SupportedLanguages }; |
+7
-7
| "use strict"; | ||
| var __importDefault = (this && this.__importDefault) || function (mod) { | ||
| return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.SupportedLanguages = exports.markdownv = exports.html = void 0; | ||
| const html_1 = __importDefault(require("./html")); | ||
| exports.SupportedLanguages = exports.version = exports.markdownv = exports.html = void 0; | ||
| const tslib_1 = require("tslib"); | ||
| const html_1 = tslib_1.__importDefault(require("./html")); | ||
| exports.html = html_1.default; | ||
| const markdownv_1 = __importDefault(require("./markdownv")); | ||
| const markdownv_1 = tslib_1.__importDefault(require("./markdownv")); | ||
| exports.markdownv = markdownv_1.default; | ||
| const package_json_1 = require("../package.json"); | ||
| Object.defineProperty(exports, "version", { enumerable: true, get: function () { return package_json_1.version; } }); | ||
| const constants_1 = require("./constants"); | ||
| Object.defineProperty(exports, "SupportedLanguages", { enumerable: true, get: function () { return constants_1.SupportedLanguages; } }); | ||
| exports.default = { html: html_1.default, markdownv: markdownv_1.default, SupportedLanguages: constants_1.SupportedLanguages }; | ||
| exports.default = { html: html_1.default, markdownv: markdownv_1.default, version: package_json_1.version, SupportedLanguages: constants_1.SupportedLanguages }; |
+2
-2
@@ -1,3 +0,3 @@ | ||
| import { html, markdownv, SupportedLanguages, } from "./index.js"; | ||
| export default { html, markdownv, SupportedLanguages }; | ||
| import { html, markdownv, version, SupportedLanguages, } from "./index.js"; | ||
| export default { html, markdownv, version, SupportedLanguages }; | ||
| export { html, markdownv, SupportedLanguages }; |
+1
-1
| { | ||
| "name": "@telegram.ts/formatters", | ||
| "version": "1.0.0", | ||
| "version": "1.1.0", | ||
| "description": "Sub-library for formatting Telegram messages", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
+5
-1
| # @telegram.ts/formatters | ||
| [](https://www.npmjs.com/package/@telegram.ts/formatters) | ||
| [](https://core.telegram.org/bots/api) | ||
| [](https://core.telegram.org/bots/api) | ||
| [](https://www.npmjs.com/package/@telegram.ts/formatters) | ||
@@ -58,1 +58,5 @@ [](https://github.com/telegramsjs/plugins/blob/main/LICENSE) | ||
| This project is licensed under the MIT License - see the [LICENSE](https://github.com/telegramsjs/formatters/blob/main/LICENSE) file for details. | ||
| ## Contributing | ||
| Contributions are welcome! If you find any issues or have suggestions for improvements, please create a `GitHub` issue or submit a pull request. Additionally, feel free to reach out to me on Telegram via my username `@SempaiJS` or on Discord using my username `sempaika_chess`. |
51989
1.05%1149
0.17%62
6.9%