1.0.1 • Published 8 years ago

librarian-fs-storage v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Librarian FileSystem Storage

Note: This version of librarian-fs-storage is compatible with librarian 2.0.0 and above.

Installation

$ npm install librarian-fs-storage

Usage

var express = require('express')
var librarian = require('librarian')
var FileSystemStorage = require('librarian-fs-storage')
var storage = new FileSystemStorage({
  directory: '/files'
})

var app = express()
app.use('/files', librarian({
    storage: storage
}))

app.listen(8888, function(){
    console.log('app listening')
})

Options

directory (required)

This is the directory that your files will be written to

1.0.1

8 years ago

1.0.0

8 years ago