https://github.com/pimbrouwers/ditto-json
Ditto JSON Middleware Parser
https://github.com/pimbrouwers/ditto-json
Last synced: 27 days ago
JSON representation
Ditto JSON Middleware Parser
- Host: GitHub
- URL: https://github.com/pimbrouwers/ditto-json
- Owner: pimbrouwers
- License: mit
- Created: 2017-11-28T22:15:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T16:17:56.000Z (about 7 years ago)
- Last Synced: 2025-03-11T02:03:01.529Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://github.com/pimbrouwers/ditto
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ditto-json
JSON Middleware Parser for [Ditto](https://github.com/pimbrouwers/ditto)## Getting Started
`npm install ditt0` and `npm install ditt0-json` and created `index.js` with following content:
```javascript
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);
});
```