sfss.service
v0.0.4
Published
Simple FS Storage Service enable a node app to store/retieve JSON objects to/from the filesystem via HTTP
Downloads
6
Maintainers
Readme
Simple FS Storage Service
Builds uppon sfss.api.endpoint.
Usage
npm install sfss.service --save
Example:
var pathLib = require('path'),
options = {
port: 8080,
"sfss.service": {
dataRoot: __dirname + pathLib.sep + 'data',
//disableFileDeletion: true,
//disableDirectoryDeletion: true
}
},
api = require('sfss.service')(options);