{"repo":"JiPaix/xdccJS","free":true,"listed":false,"github":"https://github.com/JiPaix/xdccJS","clone":"git clone https://github.com/JiPaix/xdccJS.git","description":"xdccJS is a Node.js library and client to download files from XDCC bots on IRC","language":"TypeScript","stars":33,"topics":["xdcc","irc","dcc","downloader","download","pipeline","passive-dcc","bot","client","irc-bot"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Features : xdccJS is a complete implementation of the XDCC protocol for nodejs . It can also be used as a command-line downloader ! - Batch downloads : 1-3, 5, 32-35, 101 - Resume file and auto-retry - Pipes! - Passive DCC - Check advanced examples and see what else you can do Table of contents - API - Getting Started - List of options - Download - Download queue detection - Jobs - Events - Piping - (Auto) disconnect from IRC - Advanced IRC commands and middlewares - CLI - Installation - Options - Usage - Profiles - Important notes Installation API Getting started There's three different way to import/require xdccJS depending on which environment it is running: CommonJS Modules TypeScript Example Options Every parameter is optional, except for host . Config xdccJS. config( parameters? : object ) change parameters during runtime If there's a file downloading throttle and passivePort won't be applied until the next download Download xdccJS. download( bot : string, packets : string number number[] string[], options? : { ipv6? : boolean throttle? : number } ) download() is asynchronous and returns a Job options are optional, per job options.ipv6 parameter is only required when if a bot's is ipv6 AND uses passive DCC Download queue detection xdccJS will timeout any request after a certain amount of time when no file is sent (see Options.timeout), Which is exactly what happens when a bot puts you into queue. To avoid this behavior you need to provide a regex matching the bot \"queue","default_branch":null,"files":null,"tree":[],"storefront":"/r/JiPaix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JiPaix/xdccJS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}