Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ctrl/deluge

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/deluge

TypeScript api wrapper for deluge using got

  • 1.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-12.69%
Maintainers
1
Weekly downloads
 
Created
Source

deluge npm CircleCI coverage status

TypeScript api wrapper for deluge using got

The advantage to writing your own http requests is the auth is already setup and type definitions are availabe for all responses.

Install

npm install @ctrl/deluge

Use

import { Deluge } from '@ctrl/deluge';

const deluge = new Deluge({
  baseUrl: 'http://localhost:8112/',
  password: 'deluge',
});

async function main() {
  const res = await deluge.listTorrents();
  // listTorrents returns a TorrentListResponse and types are available
  console.log(res.result);
}

API

Docs: https://typectrl.github.io/deluge/classes/deluge.html

See Also

transmission - https://github.com/TypeCtrl/transmission

Keywords

FAQs

Package last updated on 06 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc