vaceline

Vaceline is a tool for trasforming VCL with JS plugins via AST.

Usage no npm install needed!

<script type="module">
  import vaceline from 'https://cdn.skypack.dev/vaceline';
</script>

README

Vaceline — VCL Transpiler

Vaceline is a tool for trasforming VCL with JS plugins via AST.

NOTE: this project is still in development.

Install

yarn add -D vaceline

Usage

yarn vaceline src -d dist
$ yarn vaceline --help

vaceline [source]

Transpile VCL

Positionals:
  source  Source file/dir to transpile                                  [string]

Options:
  --stdin        Accept input from stdin                               [boolean]
  --ast          Output as AST                                         [boolean]
  -d, --out-dir  Output dir                                             [string]
  --debug        Enable debug logging                                  [boolean]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Examples:
  - vaceline path/to/file.vcl
  - vaceline path/to/dir
  - cat file | vaceline --stdin
  - vaceline file -d dist