Registry / jszz
library0.0.0jsnpmunverified

jszz is a simple TypeScript/JSX transpiler designed for lightweight projects. As of version 0.0.0, it is in early development with no stable release or release schedule. It differentiates from established transpilers (like Babel or SWC) by aiming for minimal configuration and a smaller footprint, but lacks production readiness and community support.

npm install jszz
INSTALL
IMPORT
SIG · JSZZ
J
jszz
javascriptv0.0.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.

default
import jszz from 'jszz'
const jszz = require('jszz')
ESM-only package; CommonJS require will fail.
transform
import { transform } from 'jszz'
import { transform } from 'jszz/transform'
transform is a named export, not a subpath module.
compile
import { compile } from 'jszz'
const compile = require('jszz').compile
ESM-only; require() will not work.

Demonstrates basic usage of the transform function to transpile TypeScript code.

import { transform } from 'jszz'; const code = 'const x: number = 1'; const result = transform(code, { jsx: false }); console.log(result.code);
Debug
Known issues
breakingThe API is unstable and may change without notice in versions <1.0.0.
fix
Pin to a specific version and test upgrades.
affects: <1.0.0
gotchajszz does not support all TypeScript features; complex types may fail silently.
fix
Check the supported features list in the documentation.
affects: >=0.0.0
deprecatedThe 'compile' function is deprecated in favor of 'transform'.
fix
Replace 'compile' with 'transform'.
affects: >=0.0.0
Errors
Common errors & fixes
SyntaxError: Unexpected token ':'
TypeScript type annotations are not supported by jszz in the default configuration.
fix
Enable TypeScript mode by setting { typescript: true } in options.
TypeError: jszz is not a function
Using CommonJS require() to import an ESM-only module.
fix
Use import jszz from 'jszz' or use dynamic import().
Upgrade
Version history
0.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources