Grunt task to convert Winamp AVS presets into Webvs JSON
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tasks
.editorconfig
.gitignore
.npmignore
.travis.yml
Gruntfile.js
LICENSE
README.md
package-lock.json
package.json
yarn.lock

README.md

grunt-webvsc

npm npm Travis David David

Grunt task to convert Winamp AVS presets into Webvs JSON.

Installation

# npm
$ npm install grunt-webvsc

# Yarn
$ yarn add grunt-webvsc

Usage

Example:

module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    webvsc: {
      options: {
        minify: true,
      },
      build: {
        src: ['**/*.avs'],
        dest: './output/'
      }
    }
  });

  // Load the plugin that provides the "uglify" task.
  grunt.loadNpmTasks('grunt-webvsc');
  
  // Default task(s).
  grunt.registerTask('default', ['webvsc']);
};

The output file-extension will automatically be set to .webvs, unless specified explicitly otherwise in your Gruntfile.js.

Options

hidden

Type: boolean
Default: true

Don't extract hidden strings from fixed-size strings

minify

Type: boolean
Default: false

Minify 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

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd