🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

hybrid-torrent-tracker

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hybrid-torrent-tracker

Hybrid torrent tracker for Node.js

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

Build Status NPM version NPM downloads

Hybrid-Torrent-Tracker - This is a torrent tracker for Node.js with HTTP and UDP support based middleware.

đź“– Documentation

Features

  • Reliable. The library is written in TypeScript and covered by tests.
  • Modern. The library comes with native ESM support
  • Powerful. User-friendly interface for query processing (middleware)

Installation

Node.js 20.0.0 or newer is required

  • Using npm (recommended)
    npm i hybrid-torrent-tracker
    
  • Using Yarn
    yarn add hybrid-torrent-tracker
    
  • Using pnpm
    pnpm add hybrid-torrent-tracker
    

Example usage

import { TorrentTracker } from 'hybrid-torrent-tracker';

const tracker = new TorrentTracker({
	http: {
		port: 6881
	},
	udp: {
		port: 6881
	}
});

tracker.use((context, next) => {
	// Your logic
});

async function run() {
	await tracker.listen();

	console.log('Torrent tracker started');
}

run().catch(console.error);

Debug

Set environment DEBUG=hybrid-torrent-tracker:*

Keywords

torrent

FAQs

Package last updated on 11 Nov 2025

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