Current collected state Current
Observed since 20 Oct, 17:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
0xalice-tgram-bot
Batched Telegram notification bot for 0xAlice
Batched Telegram notification bot for 0xAlice.
npm install 0xalice-tgram-bot
# or with yarn
yarn add 0xalice-tgram-bot
First, authenticate with GitHub Packages:
npm login --registry=https://npm.pkg.github.com
# or create .npmrc with:
@21e8:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
Then install:
npm install @21e8/0xalice-tgram-bot
# or with yarn
yarn add @21e8/0xalice-tgram-bot
import { MessageBatcher } from '0xalice-tgram-bot';
const bot = new MessageBatcher({
botToken: process.env.TELEGRAM_BOT_TOKEN!,
chatId: process.env.TELEGRAM_CHAT_ID!,
batchDelay: 60000, // optional, defaults to 60000
development: process.env.NODE_ENV === 'development' // optional
});
bot.info('Service started');
bot.warning('High memory usage');
bot.error('Database connection failed');
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^4.9.5 | runtime |
jestEnvironment{
"local_name": "jest",
"alias": false,
"peer_metadata": null
} | ^29.5.0 | development |
eslintEnvironment{
"local_name": "eslint",
"alias": false,
"peer_metadata": null
} | ^8.37.0 | development |
ts-jestEnvironment{
"local_name": "ts-jest",
"alias": false,
"peer_metadata": null
} | ^29.1.0 | development |
prettierEnvironment{
"local_name": "prettier",
"alias": false,
"peer_metadata": null
} | ^2.8.7 | development |
@types/jestEnvironment{
"local_name": "@types/jest",
"alias": false,
"peer_metadata": null
} | ^29.5.0 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^18.15.11 | development |
@typescript-eslint/parserEnvironment{
"local_name": "@typescript-eslint/parser",
"alias": false,
"peer_metadata": null
} | ^5.57.1 | development |
@typescript-eslint/eslint-pluginEnvironment{
"local_name": "@typescript-eslint/eslint-plugin",
"alias": false,
"peer_metadata": null
} | ^5.57.1 | development |
Source distribution
{
"shasum": "9d9e3b458daab1dc37a1dc1d07b571015c7c40ab",
"tarball": "https://registry.npmjs.org/0xalice-tgram-bot/-/0xalice-tgram-bot-0.1.2.tgz",
"fileCount": 12,
"integrity": "sha512-Ec1R144AXbnIFvC+MuqwPdW9FLgjJKDnugYr+Yv0nfL75eMWB5emYcS3/wad2uJHQTP7C/EkiWomuODWOzYUwQ==",
"signatures": [
{
"sig": "MEUCIQDD0Hrg3d52H0FqhIAvQKay/TTcQ/7ObxgK6egtMylRyQIgIa4VwWE0z+9C3IoLrJuTD+xPNXfgth+IkMALxozBq44=",
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
}
],
"unpackedSize": 6480
}Observed since 20 Oct, 17:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:ea971396f609551469080e45d1a02cdc0d209ea8c81099aa0dfdea7c917f59a9