yandex-disk-client
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

Yandex Disk Client

Snyk Vulnerabilities for npm package version npm Libraries.io dependency status for latest release Codecov

Docs

This is Node.js client for the Yandex Disk service. It's designed to work only in node.js environment and supports only login-password auth.

Currently, this module is under active development, so feel free to fill an issue if you need some feature or you're experiencing some problem.

This module supports all common operations with cloud storage (create a folder, upload a file, download a file, remove a file, etc...);

A simple example of how to use this module:

const { YandexDiskClientAuth } = require('yandex-disk-client');

const authClass = new YandexDiskClientAuth(creds.login, creds.password);

await authClass.logIn();
const client = authClass.getClientInstance();

// To get resources
const resources = await client.getFolderResources('/');

// To get available quota
const quota = await client.getQuota();

/yandex-disk-client/

    Package Sidebar

    Install

    npm i yandex-disk-client

    Weekly Downloads

    0

    Version

    0.3.3

    License

    MIT

    Unpacked Size

    824 kB

    Total Files

    25

    Last publish

    Collaborators

    • pterko