fastify-storage
v0.0.1
Published
An abstraction over storage providers
Downloads
30
Maintainers
Readme
fastify-storage
An abstraction over storage providers
Install
$ npm i --save fastify-storage
Usage
fastify.register(require('fastify-storage'))
// ...
const disk = await fastify.storage.disk('local')
await disk.put('bar.txt', 'Foobar')
Methods
Take a look at Flydrive docs.
Options
Take a look at Flydrive docs.
Test
$ npm test
Acknowledgements
This project is kindly sponsored by:
License
Licensed under MIT