Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dev-code

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dev-code

A helper for dev-code.ir telegram bot using in projects

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

npm version

README

A helper for using Dev Code Telegram Bot in node projects

Installation

npm install dev-code

or

yarn add dev-code

Usage

const devcode = require("dev-code");

devcode.send(
    "DEVCODE_TOKEN",
    "USERNAME",
    "CODE",
    "SELF_HOSTED_DOMAIN"
).then((response)=>{
    // Do your work
}).catch((error)=>{
    // Handle network error
});

SELF_HOSTED_DOMAIN is optional, use it if you self-hosted the telegram bot

By default, http://dev-code.ir will be used

Attributions

Icon made by Freepik from www.flaticon.com

FAQs

Package last updated on 29 Jan 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc