Skip to content

totalolage/filesystem-storage-pkgcloud

 
 

Repository files navigation

Node.js Unit Tests

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('@annoai/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_',
});

License: MIT

About

Filesystem storage provider for pkgcloud

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%