wind-compiler
raw JSON → 0.0.30 verified Fri May 01 auth: no javascript
Template compiler for wind-reactive, a reactive UI library. Version 0.0.30 is the latest as of 2025-12-22. Unlikely to be stable given the 0.x version range. Differentiators from other template compilers are minimal; appears to be a niche project. Not recommended for production use. No maintainers listed.
Common errors
error Cannot find module 'wind-compiler' ↓
cause Package not installed or not in node_modules.
fix
Run 'npm install wind-compiler@0.0.30'.
error require() of ES Module not supported ↓
cause Using CommonJS require() with an ESM-only package.
fix
Use import statement or set type: 'module' in package.json.
Warnings
gotcha Version 0.0.30 is pre-release; API may change without notice. ↓
fix Pin exact version and test with every update.
gotcha No README or documentation available; API must be inferred from source. ↓
fix Check source code or contact maintainer.
gotcha Only supports ESM imports; CommonJS require will fail. ↓
fix Use import syntax or dynamic import() in CJS.
Install
npm install wind-compiler yarn add wind-compiler pnpm add wind-compiler Imports
- compile wrong
const compile = require('wind-compiler')correctimport { compile } from 'wind-compiler' - parseTemplate wrong
import { parseTemplate } from 'wind-compiler/parse'correctimport { parseTemplate } from 'wind-compiler' - transform wrong
import * as wind from 'wind-compiler'; wind.transform()correctimport { transform } from 'wind-compiler'
Quickstart
import { compile } from 'wind-compiler';
const code = '<div>{greeting}</div>';
const result = compile(code, { mode: 'runtime' });
console.log(result);