{"id":27089,"library":"jszz","title":"jszz","description":"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.","status":"active","version":"0.0.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install jszz","lang":"bash","label":"npm"},{"cmd":"yarn add jszz","lang":"bash","label":"yarn"},{"cmd":"pnpm add jszz","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only package; CommonJS require will fail.","wrong":"const jszz = require('jszz')","symbol":"default","correct":"import jszz from 'jszz'"},{"note":"transform is a named export, not a subpath module.","wrong":"import { transform } from 'jszz/transform'","symbol":"transform","correct":"import { transform } from 'jszz'"},{"note":"ESM-only; require() will not work.","wrong":"const compile = require('jszz').compile","symbol":"compile","correct":"import { compile } from 'jszz'"}],"quickstart":{"code":"import { transform } from 'jszz';\nconst code = 'const x: number = 1';\nconst result = transform(code, { jsx: false });\nconsole.log(result.code);","lang":"typescript","description":"Demonstrates basic usage of the transform function to transpile TypeScript code."},"warnings":[{"fix":"Pin to a specific version and test upgrades.","message":"The API is unstable and may change without notice in versions <1.0.0.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Check the supported features list in the documentation.","message":"jszz does not support all TypeScript features; complex types may fail silently.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Replace 'compile' with 'transform'.","message":"The 'compile' function is deprecated in favor of 'transform'.","severity":"deprecated","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Enable TypeScript mode by setting { typescript: true } in options.","cause":"TypeScript type annotations are not supported by jszz in the default configuration.","error":"SyntaxError: Unexpected token ':'"},{"fix":"Use import jszz from 'jszz' or use dynamic import().","cause":"Using CommonJS require() to import an ESM-only module.","error":"TypeError: jszz is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}