1.0.4 • Published 9 years ago
gulp-makejson v1.0.4
gulp-makejson
creates json from source files and pipes the resulting json down to the next plugin
Buildstatus/Dependencies
Usage
var gulp = require("gulp");
var gulpMakeJson = require('gulp-makejson');
gulp.task("myTask", function() {
gulp.src("./markdown/**/*.md") //markdown is just an example here. Can be any kind of textfiles.
.pipe(gulpMakeJson()) // packs all the html stuff in nice json format
.pipe(gulp.dest("./build/"))
});
The task will create a json of all files in the pipeline in the following way:
{
"myfirstfile.md": "#mytitle\nThis is the first paragraph",
"subfolder/mysecondfile.md": "#mytitle\nThis is the second paragraph"
}
Note: Using this plugin will currently result in only one json file being emitted. Note: The key will reflect the relative path of a file
Feel free to contribute. Pull requests will be reviewed in a timely manner.
About the authors:
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
0.0.18
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago
0.0.17
9 years ago
0.0.16
9 years ago
0.0.15
9 years ago
0.0.14
9 years ago
0.0.13
9 years ago
0.0.12
9 years ago
0.0.11
9 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.1
10 years ago