0.0.7 • Published 4 months ago

nextdrive-client v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

NEXT DRIVE CLIENT

Upload and other utility functions for Clients using NEXT DRIVE as file server.

Install

npm install nextdrive-client

Usage

import {NextDriveUploader} from 'nextdrive-client';

const uploader = new NextDriveUploader({
    rootUrl:"http://localhost:4000",
    apiKey: process.ev.API_KEY,
});

Upload Files

const response = await uploader.upload({
    folder: "products",
    files: [File]
});

Delete Files

const response = await uploader.delete({
    folder: "products",
    files: [string]
});
0.0.7

4 months ago

0.0.6

4 months ago

0.0.5

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago