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

btp-fetch

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btp-fetch

use bittorrent with fetch, includes BEP 46 support

  • 1.1.9
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

BTP-Fetch

use bittorrent with fetch, includes BEP 46 support

supports infohash and pubkeys

examples

GET get a torrent, if torrent is not already in the map, then uses webtorrent.add to add the torrent bt://_ body: empty

bt://infohash bt://pubkey bt://infohash/path/to/file.html bt://pubkey/path/to/file.html

PUT seed a torrent title is a md5 hash for the name of the directory being seeded(non-BEP 46) bt://_ body: folder(required), address(required for BEP 46, optional for non-BEP 46), secret(required for BEP 46, optional for non-BEP 46)

bt://title bt://pubkey

DELETE stop or remove a torrent bt://_ body: infohash(required for non-BEP 46), address(required for BEP 46)

bt://infohash bt://pubkey

more coming soon

FAQs

Package last updated on 10 Jan 2022

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