Skip to content

Dragory/gulp-json-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-json-format NPM version Build Status

A gulp plugin to parse and format JSON in files.

Usage

First, install gulp-json-format as a development dependency:

npm install gulp-json-format --save-dev

Then, add it to your gulpfile.js:

var jsonFormat = require('gulp-json-format');

gulp.src('manifest.json')
	.pipe(jsonFormat(4))
	.pipe(gulp.dest('.'));

API

jsonFormat([space])

space

Type: Number or String

See the space parameter for JSON.stringify() on MDN.

About

A gulp plugin to parse and format JSON in files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published