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