2.0.0 • Published 1 month ago
hybrid-torrent-tracker v2.0.0
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
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:*
1.4.0
1 month ago
2.0.0
1 month ago
1.3.3
5 months ago
1.3.2
10 months ago
1.3.1
1 year ago
1.3.0
2 years ago
1.2.1
2 years ago
1.2.0
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.3
4 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.0.2
6 years ago
0.0.1
6 years ago