BrainForge 1.1.4 is a JavaScript/TypeScript transpiler that converts code to an enhanced Brainfuck variant with advanced features like garbage collection, GUI/CLI support, and debugging. It maintains standard Brainfuck compatibility while adding optimizations. Ships TypeScript types. Released under MIT. Differentiator: extends the esoteric language for practical applications beyond simple code golf.
npm install brainforgeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to transpile JavaScript to enhanced Brainfuck using the transpile function with optimization enabled.
Upgrade Node.js to version 16 or higher
Use await or .then() when calling transpile()
Replace compile() with transpile()
Use type assertions or augment types if needed
Set maxCellValue option to limit memory usage
Use import syntax or switch to dynamic import()
Run 'npm install --save-dev @types/brainforge' if available, or ensure brainforge is installed as a dependency
Change to import syntax: import { transpile } from 'brainforge'Use named import: import { transpile } from 'brainforge'Upgrade Node.js to version 16 or higher
No dependency data recorded yet.