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

1.0.10 • Public • Published

Hoster-Js

install

npm install hoster-js --save

usage

import { Uptobox } from 'hoster-js';
import fs = require('vinyl-fs');

let uptobox = new Uptobox('username', 'password');

uptobox.info('http://uptobox.com/your_link')
  .then((data) => {
      // data.filename;
      // data.size;
      // ...
  });
  
uptobox.download('http://uptobox.com/your_link')
  .pipe(fs.dest('downloads'));

Dependents (0)

Package Sidebar

Install

npm i hoster-js

Weekly Downloads

5

Version

1.0.10

License

MIT

Last publish

Collaborators

  • lseguin