Skip to content

lsongdev/aria2-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aria2c

aria2c Build Status

Aria2 RPC Library in Node.js

Installation

$ npm install aria2c

Example

const Aria2 = require('aria2c');

const aria2 = new Aria2({
  token: 'YOUR-ARIA2-TOKEN',
  url: 'http://192.168.1.1:6800/jsonrpc',
});

(async () => {
  
  const res = await aria2.getVersion()
  console.log(res);

})();

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


About

Aria2 RPC Library in Node.js

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •