0.1.0 • Published 12 months ago

nextdav v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

A WebDav client for Node.js


Installation

As simple as

npm add nextdav

Usage

import nextdav from 'nextdav';

// Create a client with your server username and password (ie: Nextcloud webdav server)
const client = new nextdav(
  'http://webdavhost.test',
  'yourusername', // If any
  'yourpassword', // If any
);

// Retrieve collections(directories) and files lists
const response = await client.getCollectionContents('/');
if (response) {
  const [collections, files] = response;
}

This lib is using Roarr as a debugging library. If you want to print debug logs you must prepend your starting script with ROARR_LOG=true

Tests

  • Client connect to server with auth
  • Client connect to server without auth
  • Client retrieves collections list
  • Client retrieves files list

TODO

  • Base client instance
  • Files and folders retrieval
  • Files download
  • Files upload
  • Files update and locks
0.1.0

12 months ago

0.0.15-dev

1 year ago

0.0.14-dev

1 year ago

0.0.13-dev

1 year ago

0.0.12-dev

1 year ago

0.0.11-dev

1 year ago

0.0.10-dev

1 year ago

0.0.9-dev

1 year ago

0.0.8-dev

1 year ago

0.0.7-dev

1 year ago

0.0.6-dev

1 year ago

0.0.5-dev

1 year ago

0.0.4-dev

1 year ago

0.0.3-dev

1 year ago

0.0.2-dev

1 year ago

0.0.1-dev

1 year ago