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.
As of 2023 there is Flystorage.
FlyStorage | Has adapters for: |
---|---|
Built by the maintainer of PHP FlySystem |
For Node.js, written in TypeScript.