Ye Olde Script (v2.3.0) is a transpiler and VS Code extension that translates JavaScript/TypeScript/TSX into 17th-century English keywords and syntax. Intended for fun and novelty, it compiles `.yeolde`, `.parchment`, `.scrollx` files into standard JS/TS/TSX, preserving all semantics. Release cadence is irregular; last major update added TypeScript support. Differentiators: full keyword mapping (Incantation→function, useCrystalBall→useState), support for React/Next.js directives (`'this parchment doth run on the client'`), and built-in syntax highlighting in VS Code. Not recommended for production or serious projects.
npm install yeoldescriptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles Ye Olde Script code to modern JavaScript using the `compile` function.
Use import syntax or downgrade to v1.x if CommonJS required.
Use `import { compile } from 'yeoldescript'` instead of `import yeo from 'yeoldescript'`.Update VS Code to v1.60.0 or later.
Match extension to intended output language.
Upgrade Node.js to v18 or later.
Add "type": "module" to package.json, or use dynamic import().
Use correct extension: `.yeolde` not `.yeold`.
Use `import { compile } from 'yeoldescript'` instead of `import yeo from 'yeoldescript'`.Update VS Code to v1.60.0 or later.