Now Particularly Misnamed

    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'));
     

    Keywords

    none

    Install

    npm i hoster-js

    DownloadsWeekly Downloads

    11

    Version

    1.0.10

    License

    MIT

    Last publish

    Collaborators

    • lseguin