https://github.com/pboymt/aria2rpc
The Aria2 RPC library written in TypeScript running on Node.js.
https://github.com/pboymt/aria2rpc
Last synced: 3 months ago
JSON representation
The Aria2 RPC library written in TypeScript running on Node.js.
- Host: GitHub
- URL: https://github.com/pboymt/aria2rpc
- Owner: pboymt
- Created: 2019-07-21T12:53:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-22T04:01:21.000Z (almost 6 years ago)
- Last Synced: 2025-02-18T13:39:59.793Z (3 months ago)
- Language: TypeScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aria2RPC
The Aria2 RPC library written in TypeScript running on Node.js.
## Installation
```bash
$ npm i aria2rpc
```## Usage
```typescript
import { Aria2Client } from 'aria2rpc';const client = new Aria2Client({
secret: 'your secret'
});(async () => {
const response = client.getGlobalStat();
console.log(response.result); // Aria2 Global Status
})()
```