fastify-storage

0.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i fastify-storage

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

3.9 kB

Total Files

7

Last publish

Collaborators

  • beliven.dev