{"library":"telegraf-ratelimit","type":"library","category":null,"description":"Rate-limiting middleware for the Telegraf Telegram bot framework (v2.0.0). Simple in-memory rate limiter with configurable time window, request limit, custom key generation, and exceeded-limit callback. Lightweight, no external dependencies, designed for ease of integration with Telegraf. Suitable for basic bot rate limiting but not distributed or persistent (in-memory only). Actively maintained as part of the Telegraf ecosystem.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","telegram","telegraf","rate limit","middleware"],"last_verified":"Wed May 27","install":[{"cmd":"npm install telegraf-ratelimit","imports":["import rateLimit from 'telegraf-ratelimit'","const rateLimit = require('telegraf-ratelimit')","import rateLimit from 'telegraf-ratelimit'"]},{"cmd":"yarn add telegraf-ratelimit","imports":[]},{"cmd":"pnpm add telegraf-ratelimit","imports":[]}],"homepage":null,"github":"https://github.com/telegraf/telegraf-ratelimit","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/telegraf-ratelimit","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/telegraf-ratelimit/compatibility"}}