@visbot/gulp-avs
v0.6.1
Published
Gulp plugin to convert Winamp AVS presets into Webvs JSON
Downloads
16
Readme
@visbot/gulp-avs
Gulp plugin to convert Winamp AVS presets into Webvs JSON.
Installation
$ npm install --save-dev @visbot/gulp-avs
Usage
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();
});
:warning: This plugin is now pure ESM. Read how to migrate your Gulpfile
.
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 output1
List detected components2
List component details
Related Projects
License
This work is licensed under The MIT License