@firm24/filesystem-storage-pkgcloud

1.0.1 • Public • Published

Filesystem provider Build Status NPM download count

Filesystem storage provider for pkgcloud based on loopback-storage-service

You can either use the client on its own:

const filesystem = require('filesystem-storage-pkgcloud');
const client = filesystem.createClient({ root: '_PATH_TO_LOCAL_STORAGE_DIRECTORY_' });

or add it to pkgcloud providers:

const pkgcloud = require('pkgcloud');
pkgcloud.providers.filesystem = {};
pkgcloud.providers.filesystem.storage = require('filesystem-storage-pkgcloud');
const client = pkgcloud.storage.createClient({
  provider: 'filesystem',
  root: '_PATH_TO_LOCAL_STORAGE_DIRECTORY_',
});

Author: Jemsoft Pty Ltd.

License: MIT

Package Sidebar

Install

npm i @firm24/filesystem-storage-pkgcloud

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

20.7 kB

Total Files

15

Last publish

Collaborators

  • svenstam