Registry / web-framework / simply-jsx

simply-jsx

JSON →
library0.0.3jsnpmunverified

A lightweight transpiler for JSX that does not require React. Version 0.0.3 is the latest stable release, which is essentially an early-stage proof-of-concept with no active development cadence. It transpiles JSX to JavaScript using a simple configuration file and includes a file watcher for auto-reloading in the browser. This tool is minimally viable, lacking TypeScript types, extensive testing, or community adoption. It differentiates from Babel by targeting a simpler, zero-config setup for non-React JSX usage.

npm install simply-jsx
INSTALL
IMPORT
SIG · SIMPLY-JSX
S
simply-jsx
web-frameworkjavascriptv0.0.3
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.

default
import simplyJsx from 'simply-jsx'
const simplyJsx = require('simply-jsx')
Package is ESM-only since v0.0.3, but recommend checking actual exports; there may be no default export.
jsx
import { jsx } from 'simply-jsx'
const { jsx } = require('simply-jsx')
Named export 'jsx' might not exist; this is a hypothetical import.
renderer
import { render } from 'simply-jsx'
const render = require('simply-jsx').render
Actual named exports are undocumented; this entry is speculative based on typical patterns.

Demonstrates minimal setup: install the package, configure simply.json, create an HTML file, and run the transpiler.

// Ensure package is installed: npm install simply-jsx@0.0.3 // Create simply.json in project root with: // { "source": "src", "build": "dist", "staticFiles": "public" } // Create public/index.html with a root element // Then run: npx simply-jsx // Write a component in src/App.jsx: export default function App() { return <div>Hello Simply JSX</div>; }
simply-jsx --version
Debug
Known issues
breakingPackage is extremely early-stage (v0.0.3). API may change without notice; no stable release.
fix
Pin to a specific version and expect breaking changes.
affects: >=0.0.0
gotchasimply-jsx requires a simply.json configuration file; without it the CLI fails.
fix
Create simply.json in project root with required fields: source, build, staticFiles.
affects: >=0.0.1
gotchaThe package has no TypeScript types; usage in TypeScript projects requires manual type definitions.
fix
Add type declarations or use with // @ts-nocheck
affects: >=0.0.0
deprecatedNo documentation on exported functions; CLI may be the only intended interface.
fix
Use the CLI tool (npm start) instead of programmatic API.
affects: >=0.0.0
breakingDoes not support JSX with React; custom createElement logic is used, incompatible with React.
fix
Do not use with React; intended for standalone JSX transpilation.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'simply-jsx'
Package not installed or version mismatch.
fix
Run 'npm install simply-jsx@0.0.3' in project root.
ENOENT: no such file or directory, open 'simply.json'
Missing simply.json configuration file.
fix
Create simply.json in project root with required fields.
Error: JSX element 'div' is not defined
JSX is transpiled but runtime expects createElement function; not provided.
fix
Ensure your output includes a polyfill for createElement, or provide one manually.
Upgrade
Version history
0.0.3latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
simply-jsx — npm install simply-jsx · libregistry