0.1.4 • Published 8 years ago

gulp-json v0.1.4

Weekly downloads
9
License
ISC
Repository
github
Last release
8 years ago

gulp-json

Usage

Create a json file that you will pipe into the plugin in this format, using json apis.

{
"twitch":"https://api.twitch.tv/kraken",
"pokemon":"http://pokeapi.co/api/v2/pokemon/1/"
}

The plugin outputs a stream of multiple json files that can be piped into gulp.dest("DESTINATION GOES HERE") or you can pipe it into another plugin to do something with these json files. Example gulp pipeline:

var gulp = require('gulp');
var gulpJson = require('gulp-json');


 gulp.src('api.json')
  .pipe(gulpJson())
  .pipe(gulp.dest('api'));

The output would be piped into the folder api with a twitch.json file and a pokemon.json file both populated with api data.

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

1.0.0

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago