0.0.1 • Published 4 years ago

fastify-storage v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

fastify-storage

An abstraction over storage providers

Node.js CI

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:

heply

License

Licensed under MIT