Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

wwt-simple-upload-npm

1.1.0 • Public • Published

wwt-simple-upload-npm

A (really easy to use) uploader for WorldWideTorrents written for NodeJS.

Usage

import upload from 'wwt-simple-upload-npm'
const API_KEY = ''
 
upload(
    API_KEY,
  {
    'name': '',                         // The uploaded torrent's title
    'torrent_file': '/home/a.torrent',  // The full path to the torrent file
    'category_id': 39                   // The category ID
  }
)

License

The MIT License (MIT). Please see License File for more information.

install

npm i wwt-simple-upload-npm

Downloadsweekly downloads

9

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability