1.6.0 • Published 5 years ago
yadisk-direct-js v1.6.0
yadisk-direct-js
This is a fork of Python version by wldhx! Check it out: yadisk-direct
You need NodeJS to run this code.
Download files directly or get real direct links usable with tools like curl
or wget
for
files stored in Yandex.Disk.
Usage
Install with:
npm install yadisk-direct-js --save
Example:
const yadiskDirect = require('yadisk-direct-js');
yadiskDirect.downloadFile('https://yadi.sk/i/wrK9ffLSbMMZqw', './acedron.png', err => {
if (err) console.log(err);
});
Documentation
You can find documentation here.