https://github.com/sapics/gulp-js-comment
https://github.com/sapics/gulp-js-comment
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sapics/gulp-js-comment
- Owner: sapics
- License: mit
- Created: 2017-06-16T06:20:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-13T01:03:42.000Z (over 6 years ago)
- Last Synced: 2025-02-27T04:04:53.549Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-js-comment
How to use
```js
const jsComment = require('gulp-js-comment')gulp.task('jscomment', function(){
return gulp.src(srcFile)
.pipe(
jsComment({
// Comment output path
commentFile: String,// If true then append comment to commentFile,
// else then write comment to commentFile
commentAppend: Boolean,// If true then strip comment
strip: Boolean,
})
)
.pipe(gulp.dest())
})
```