2.0.1 • Published 1 year ago
hybrid-torrent-tracker v2.0.1
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)```bash npm i hybrid-torrent-tracker ``` - Using 
Yarnyarn add hybrid-torrent-tracker - Using 
pnpmpnpm 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:*
2.0.1
1 year ago
1.4.0
2 years ago
2.0.0
2 years ago
1.3.3
2 years ago
1.3.2
2 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.1
4 years ago
1.2.0
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.0.2
7 years ago
0.0.1
8 years ago