Registry / devops / vaceline

vaceline

JSON →
library0.0.6jsnpmunverified

Vaceline (v0.0.6) is a VCL transpiler that transforms Fastly VCL files using JavaScript plugins via AST manipulation. Currently in early development, it provides a CLI for transpiling single files or directories, with support for stdin input and AST output. Unlike alternative VCL tooling, Vaceline focuses on AST-based transformation, enabling custom JS plugins. The CLI accepts standard transpilation commands and offers flags for debugging and output directory specification.

npm install vaceline
INSTALL
IMPORT
SIG · VACELINE
V
vaceline
devopsjavascriptv0.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

transform
import { transform } from 'vaceline'
import transform from 'vaceline'
Named export; no default export in v0.0.6.
parse
import { parse } from 'vaceline'
const { parse } = require('vaceline')
Package may be ESM-only; CommonJS require not guaranteed.
compile
import { compile } from 'vaceline'
Also a named export; see package exports for full list.

Shows CLI usage and potential programmatic API for transpiling a VCL file with Vaceline.

// install: yarn add -D vaceline // transpile a VCL file import { execSync } from 'child_process'; // Using CLI console.log(execSync('yarn vaceline src -d dist').toString()); // Or using programmatic API (if available) import { transform } from 'vaceline'; const result = transform('// VCL content', { plugins: [] }); console.log(result.code);
Debug
Known issues
gotchaPackage is pre-1.0 and under active development; API may change without notice.
fix
Pin exact version and test upgrades.
affects: >=0.0.0
deprecatedPotential reliance on CommonJS require may break in future Node versions if package shifts to ESM-only.
fix
Use ESM imports (import { ... } from 'vaceline').
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'vaceline'
Package not installed or missing from node_modules.
fix
Run 'yarn add -D vaceline' or 'npm install -D vaceline'
Upgrade
Version history
0.0.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
vaceline — npm install vaceline · libregistry