Closed Froguard closed 11 months ago
@Froguard damn, your PR solves my needs :) why it's not merged? :)
@oleg-koval The gulp-pugin gulp-jsinspecty may solve your problem temporarily,before PR was merged。
var gulp = require('gulp');
var jsinspecty = require('gulp-jsinspecty');
gulp.task('default', function () {
return gulp.src([
'src/**/*.js',
'!*.test.js'
])
.pipe(jsinspecty({
lineNumber: true,
reporter: 'markdown', // or a shortner 'md'
reportFilename: 'result.md'
})) // you can also set options in .jsinspectrc file
.pipe(gulp.dest('./')); // generate a file 'result.md'
});
gulp-jsinspecty is inspired by gulp-jsinspect
@Froguard thanks for the help :) unfortunately can't use gulp for one of the projects, will wait this PR to merge
This PR offer 2 cases:
.jsinspectrc
result:
.jsinspectrc
u can use cmd like
to gen a *.md file