Socket
Socket
Sign inDemoInstall

@mtcute/socks-proxy

Package Overview
Dependencies
58
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mtcute/socks-proxy

SOCKS4/5 proxy support for mtcute


Version published
Weekly downloads
126
increased by34.04%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@mtcute/socks-proxy

📖 API Reference

Socks4/5 proxy transport for mtcute.

Usage

import { SocksTcpTransport } from '@mtcute/socks-proxy'

const tg = new TelegramClient({
    // ...
    transport: () => new SocksTcpTransport({
        host: 'localhost',
        port: 1080,
    })
})

FAQs

Last updated on 24 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc