Oleksii G.
Oleksii G.

Reputation: 487

Nodejs any file system provider

Is there any library for nodejs, which are supporting different types of storage, like FTP, AmazonS3, Google storage, file system. And transparent in usage by code?

For example, it only has an interface of list, read, write file, and separate factory is creating provider based on settings.

Upvotes: 2

Views: 258

Answers (1)

zemirco
zemirco

Reputation: 16395

Are you looking for something like pkgcloud? It's a module that abstracts away differences among multiple cloud providers. For storage it currently supports

  • Azure
  • Rackspace
  • Amazon

No matter which service you are using the module uses container and file. It is written by the guys from nodejitsu and I'm sure they'll add more services (e.g. Google storage) in the future. Or add your own and make a pull request.

Upvotes: 1

Related Questions