gulp-json2cson
Gulp plugin to parse JSON to CSON with bevry/cson.
If you want to parse CSON to JSON, use gulp-cson.
Installation
Via npm:
npm install --save-dev gulp-json2cson
Via Yarn:
yarn add --dev gulp-json2cson
Usage
const gulp = ;const json2cson = ; gulp;
API
json2cson(indent)
Parse JSON to CSON with desired indentation.
const gulp = ;const json2cson = ; gulp;
indent
Type: String
Default: (2 spaces)
Indentation characters.