@visbot/gulp-avs
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

@visbot/gulp-avs

License Version Build

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();
});

⚠️ 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 output
  • 1 List detected components
  • 2 List component details

Related Projects

License

This work is licensed under The MIT License

Package Sidebar

Install

npm i @visbot/gulp-avs

Weekly Downloads

2

Version

0.6.1

License

MIT

Unpacked Size

5.71 kB

Total Files

5

Last publish

Collaborators

  • idleberg
  • grandchild