ditt0-json
v1.0.6
Published
Ditto JSON Middleware Parser
Downloads
2
Readme
ditto-json
JSON Middleware Parser for Ditto
Getting Started
npm install ditt0
and npm install ditt0-json
and created index.js
with following content:
const
Ditto = require('ditt0'),
DittoJson = require('ditt0-json');
Ditto()
.source('./src') //default
.destination('./public') //default
.use(new DittoJson())
.build(function(err){
if(err) console.error(err);
});