{"id":26561,"library":"typhon-typescript","title":"typhon-typescript","description":"A transpiler that converts Typhon to TypeScript. Version 1.0.7 stable. Low-cadence maintenance with no recent updates. Differentiator: domain-specific transpilation for the Typhon language, targeting TypeScript output. Minimal documentation; primarily a build tool dependency.","status":"active","version":"1.0.7","language":"javascript","source_language":"en","source_url":"git://github.com/geometryzen/typhon-typescript","tags":["javascript","typescript"],"install":[{"cmd":"npm install typhon-typescript","lang":"bash","label":"npm"},{"cmd":"yarn add typhon-typescript","lang":"bash","label":"yarn"},{"cmd":"pnpm add typhon-typescript","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is ESM; use named import.","wrong":"const compile = require('typhon-typescript').compile;","symbol":"compile","correct":"import { compile } from 'typhon-typescript';"},{"note":"Default export is the transpiler function; avoid requires for ESM.","wrong":"const typhon = require('typhon-typescript');","symbol":"default","correct":"import typhon from 'typhon-typescript';"},{"note":"Type is exported from main entry; not a subpath export.","wrong":"import { Transpiler } from 'typhon-typescript/Transpiler';","symbol":"Transpiler","correct":"import { Transpiler } from 'typhon-typescript';"}],"quickstart":{"code":"import { compile } from 'typhon-typescript';\n\nconst tyCode = `\noutput \"Hello, world\";\n`;\n\nconst tsCode = compile(tyCode);\nconsole.log(tsCode);\n","lang":"typescript","description":"Transpile a simple Typhon program that prints to console, outputting equivalent TypeScript."},"warnings":[{"fix":"Use import instead of require, or set type:\"module\" in package.json.","message":"Package is ESM-only. CommonJS require() will throw ERR_REQUIRE_ESM.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Pin exact version and test upgrades.","message":"No breaking changes documented as package is low-activity; may have undocumented breaking changes between minor versions.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Consider forking or contributing if active maintenance needed.","message":"No deprecation notices; but package has not been updated recently and may be considered low-support.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Test compilation output with expected Typhon features.","message":"TypeScript types are shipped but may be incomplete; rely on runtime behavior.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run npm install typhon-typescript --save-dev","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'typhon-typescript'"},{"fix":"Change to import statement.","cause":"Using require() on an ES module.","error":"ERR_REQUIRE_ESM"},{"fix":"Verify Typhon syntax according to language spec.","cause":"Invalid Typhon code input.","error":"TyphonSyntaxError: unexpected token"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}