chanclas-toolbox
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

chanclas-toolbox

little tools & utils that I use
chanclas

utils

sendTGMessage( chat_id: string, telegram_bot_id: string, message: string) : void
general send message function

sendEnvBotTGMessage (message: string) : void
uses bot_id and chat_id from env vars:
process.env.TG_CHAT_ID && process.env.TG_BOT_ID

isString (arg:any) : boolean
checks if a var is a string

Readme

Keywords

none

Package Sidebar

Install

npm i chanclas-toolbox

Weekly Downloads

4

Version

0.0.7

License

none

Unpacked Size

16.6 kB

Total Files

13

Last publish

Collaborators

  • el-chanclas-del-tianguis