aria2rpc
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Aria2RPC

The Aria2 RPC library written in TypeScript running on Node.js.

Installation

$ npm i aria2rpc

Usage

import { Aria2Client } from 'aria2rpc';
 
const client = new Aria2Client({
    secret: 'your secret'
});
 
(async () => {
    const response = client.getGlobalStat();
    console.log(response.result); // Aria2 Global Status
})()

Readme

Keywords

Package Sidebar

Install

npm i aria2rpc

Weekly Downloads

1

Version

0.0.1

License

GPL-3.0

Unpacked Size

49 kB

Total Files

14

Last publish

Collaborators

  • pboymt