Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File Storage Abstraction module for Node.js?

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.

like image 998
Potherca Avatar asked May 31 '14 19:05

Potherca


3 Answers

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.

like image 106
Pier-Luc Gendreau Avatar answered Oct 06 '22 13:10

Pier-Luc Gendreau


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.).

like image 37
DuncanMacWeb Avatar answered Oct 06 '22 14:10

DuncanMacWeb


Flydrive

https://github.com/Slynova-Org/node-flydrive

  • Local
  • Amazon S3
  • Digital Ocean Spaces
  • FTP
like image 23
Roman Rhrn Nesterov Avatar answered Oct 06 '22 13:10

Roman Rhrn Nesterov