Registry / web-framework / redomx

redomx

JSON →
library0.2.0jsnpmunverified

RedomX (v0.2.0) is a transpiler that converts HTML-like syntax into RE:DOM code, enabling a JSX-like experience for building DOM applications with RE:DOM. It replaces HTML markup with Redom function calls at build time. Released in early development, it lacks stability guarantees and has no recent updates. Unlike JSX, it targets RE:DOM specifically and requires a build step.

npm install redomx
INSTALL
IMPORT
SIG · REDOMX
R
redomx
web-frameworkjavascriptv0.2.0
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 'redomx'
Main export for transforming redomx code.
default import
✓ import redomx from 'redomx'
✗ const redomx = require('redomx')
Package is ESM-only; require will fail.
transformSync
✓ import { transformSync } from 'redomx'
Synchronous transform function.

Uses RedomX to transpile HTML-like string into Redom code.

import { transform } from 'redomx'; const source = '<div>Hello, World!</div>'; const result = transform(source, { filename: 'example.html' }); console.log(result);
redomx --version
Debug
Known issues
breakingAPI may change without notice in v0.x
fix
Pin exact version and test upgrades.
affects: >=0.0.0
gotchaESM-only package; requires native ESM or bundler support.
fix
Use import syntax or a bundler like Rollup/Webpack.
affects: >=0.0.0
gotchaOnly supports RE:DOM syntax; not generic JSX.
fix
Ensure input is valid RedomX template syntax.
affects: >=0.0.0
Errors
Common errors & fixes
ERR_REQUIRE_ESM
Using require() on an ESM-only package.
fix
Use import syntax instead of require(): import redomx from 'redomx'
TypeError: transform is not a function
Incorrect import or package not installed.
fix
Install redomx and use named import: import { transform } from 'redomx'
Upgrade
Version history
0.2.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
redomx — npm install redomx · libregistry