Library to to batch-convert Winamp AVS presets into native Webvs JSON format. Take a look at the supported components.
Use your preferred Node package manager to install the package:
npm install @visbot/webvsc@nextconvertPreset(arrayBuffer, fileName, fileDate, [options])
import{convertPreset}from'@visbot/webvsc';importfsfrom'node:fs':
constavsBuffer=awaitfs.promises.readFile(file);constpresetName='My Awesome Preset';// no file-extension!constmodifiedDate=(awaitfs.stat(file)).mtime||newDate();constwebvs=convertPreset(avsBuffer,presetName,modifiedDate.toISOString());hidden
Type: boolean
Default: false
Don't extract hidden strings from fixed-size strings
Type: boolean
Default: false
Prints errors only
Type: number
Default: 0
Control the amount of output displayed:
0Display name of operation (read/write)1List detected components2List component details
All code is licensed under The MIT License