{"id":26173,"library":"redomx","title":"RedomX","description":"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.","status":"active","version":"0.2.0","language":"javascript","source_language":"en","source_url":"https://github.com/redomxjs/redomx","tags":["javascript","Transpiler","Redom","RedomX","HTML","JSX"],"install":[{"cmd":"npm install redomx","lang":"bash","label":"npm"},{"cmd":"yarn add redomx","lang":"bash","label":"yarn"},{"cmd":"pnpm add redomx","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Main export for transforming redomx code.","symbol":"transform","correct":"import { transform } from 'redomx'"},{"note":"Package is ESM-only; require will fail.","wrong":"const redomx = require('redomx')","symbol":"default import","correct":"import redomx from 'redomx'"},{"note":"Synchronous transform function.","symbol":"transformSync","correct":"import { transformSync } from 'redomx'"}],"quickstart":{"code":"import { transform } from 'redomx';\nconst source = '<div>Hello, World!</div>';\nconst result = transform(source, { filename: 'example.html' });\nconsole.log(result);","lang":"javascript","description":"Uses RedomX to transpile HTML-like string into Redom code."},"warnings":[{"fix":"Pin exact version and test upgrades.","message":"API may change without notice in v0.x","severity":"breaking","affected_versions":">=0.0.0"},{"fix":"Use import syntax or a bundler like Rollup/Webpack.","message":"ESM-only package; requires native ESM or bundler support.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Ensure input is valid RedomX template syntax.","message":"Only supports RE:DOM syntax; not generic JSX.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'applic':26 'build':24,39,64 'call':37 'code':16 'convert':8 'develop':44 'dom':15,25,29,59 'earli':43 'enabl':17 'experi':22 'function':36 'guarante':48 'html':10,32,70 'html-like':9 'javascript':66 'jsx':20,55,71 'jsx-like':19 'lack':46 'like':11,21 'markup':33 're':14,28,58 'recent':52 'redom':35,68 'redomx':1,2,69 'releas':41 'replac':31 'requir':62 'specif':60 'stabil':47 'step':65 'syntax':12 'target':57 'time':40 'transpil':6,67 'unlik':54 'updat':53 'v0.2.0':3","created_at":"2026-05-01T13:48:34.895682+00:00","updated_at":"2026-05-01T13:48:34.895682+00:00","problems":[{"fix":"Use import syntax instead of require(): import redomx from 'redomx'","cause":"Using require() on an ESM-only package.","error":"ERR_REQUIRE_ESM"},{"fix":"Install redomx and use named import: import { transform } from 'redomx'","cause":"Incorrect import or package not installed.","error":"TypeError: transform is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"redomx","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/redomxjs/redomx","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/redomx","openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}