gulp-webvsc
Gulp plugin to convert Winamp AVS presets into Webvs JSON.
Installation
$ npm install --save-dev gulp-webvsc
Usage
webvsc([options])
The output file-extension will automatically be set to .webvs
, so there's no need to pipe in additional plugins.
Example:
Standard usage
import gulp from 'gulp';
import { webvsc } from 'gulp-webvsc';
gulp.task('convert', done => {
gulp.src('input/**/*.avs')
.pipe(webvsc())
.pipe(gulp.dest('output'));
done();
});
Options
hidden
Type: boolean
Default: true
Don't extract hidden strings from fixed-size strings
minify
Type: boolean
Default: false
Minify generated JSON
noDate
Type: boolean
Default: false
Does not add date
property to generated JSON
verbose
Type: number
Default: 0
Control the amount of output displayed:
-
0
Hide output -
1
List detected components -
2
List component details
Related Projects
License
This work is licensed under The MIT License