🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

gulp-json-format

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-json-format

A gulp plugin to parse and format JSON in files.

2.0.0
latest
Source
npm
Version published
Weekly downloads
1.4K
2.26%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

gulpplugin

FAQs

Package last updated on 22 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts