1.0.6 • Published 6 years ago

ditt0-json v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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);
  });