1.0.1 • Published 8 years ago

librarian-fs-data v1.0.1

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

Librarian FileSystem Data

Installation

$ npm install librarian-fs-data

Usage

var express = require('express')
var librarian = require('librarian')
var FileSystemData = require('librarian-fs-data')

var dataPlugin = new FileSystemData(options) // see below for options
var app = express()
app.use('/files', librarian({
  data: dataPlugin
}))

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

Options

Options is an object containing any of the following options.

directory

The files where the records are stored

1.0.1

8 years ago

1.0.0

8 years ago