Registry / web-framework / wind-compiler

wind-compiler

JSON →
library0.0.30jsnpmunverified

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.

npm install wind-compiler
INSTALL
IMPORT
SIG · WIND-COMPILER
W
wind-compiler
web-frameworkjavascriptv0.0.30
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.

compile
import { compile } from 'wind-compiler'
const compile = require('wind-compiler')
ESM only.
parseTemplate
import { parseTemplate } from 'wind-compiler'
import { parseTemplate } from 'wind-compiler/parse'
No subpath exports.
transform
import { transform } from 'wind-compiler'
import * as wind from 'wind-compiler'; wind.transform()
Named export only.

Shows basic usage of the compile function to transform a template string into a reactive render function.

import { compile } from 'wind-compiler'; const code = '<div>{greeting}</div>'; const result = compile(code, { mode: 'runtime' }); console.log(result);
Debug
Known issues
gotchaVersion 0.0.30 is pre-release; API may change without notice.
fix
Pin exact version and test with every update.
affects: >=0.0.1
gotchaNo README or documentation available; API must be inferred from source.
fix
Check source code or contact maintainer.
affects: >=0.0.1
gotchaOnly supports ESM imports; CommonJS require will fail.
fix
Use import syntax or dynamic import() in CJS.
affects: >=0.0.1
Errors
Common errors & fixes
Cannot find module 'wind-compiler'
Package not installed or not in node_modules.
fix
Run 'npm install wind-compiler@0.0.30'.
require() of ES Module not supported
Using CommonJS require() with an ESM-only package.
fix
Use import statement or set type: 'module' in package.json.
Upgrade
Version history
0.0.30latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Bingbot
1
OpenAI (training)
1
Resources
wind-compiler — npm install wind-compiler · libregistry