Working on applications in PHP, I like to use a file storage abstraction layer (for instance Flysystem). This makes it trivial to switch between locations where files should be persisted to (cloud storage, local drive, ZIP, whatever).
Currently I am getting started in Node.js so I was wondering if a similar module exists for node?
Searching the NPM site gave me a ton of hits related to the filesystem but nothing in regards to this level of abstraction.
pkgcloud integrates multiple services (compute, storage, database. etc) and supports multiple cloud providers. The storage service's API is simple to use and supports streams, making it memory efficient as well.
Unfortunately, the project is longer maintained.
There is filefog
, which is intended to support Google Drive, Dropbox, SkyDrive and Box, as well as the local filesystem. Like passport
it uses ‘strategies’ published as separate modules for each provider (filefog-dropbox
, filefog-onedrive
, etc.).
Flydrive
https://github.com/Slynova-Org/node-flydrive
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With