
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@telegram.ts/formatters
Advanced tools
@telegram.ts/formatters is a TypeScript library that provides functions for formatting messages according to the Telegram API's formatting rules. It offers a set of functions for applying various text formatting styles.
You can install @telegram.ts/formatters via npm or yarn:
npm install @telegram.ts/formatters
# or
yarn add @telegram.ts/formatters
import {
html: {
bold,
italic,
underline,
strikethrough,
spoiler,
inlineURL,
inlineMention,
inlineEmoji,
inlineCode,
codeBlock,
},
parseEntities,
} from '@telegram.ts/formatters';
// Apply text formatting
const formattedText = bold('bold text') + '\n' +
italic('italic text') + '\n' +
underline('underline') + '\n' +
strikethrough('strikethrough') + '\n' +
spoiler('spoiler');
console.log(formattedText, parseEntities(formattedText, "HTML"));
This project is licensed under the MIT License - see the LICENSE file for details.
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.
FAQs
Powerful text formatting library for Telegram Bot API with HTML and MarkdownV2 support
The npm package @telegram.ts/formatters receives a total of 172 weekly downloads. As such, @telegram.ts/formatters popularity was classified as not popular.
We found that @telegram.ts/formatters demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.