ditt0-json

1.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ditt0-json

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • pimbrouwers