A lightweight wrapper for the CoffeeScript compiler providing a unified API (fromSource/fromFile) across compiler libraries. Current version 0.3.2. The package has not been updated since 2014 and relies on an outdated peer dependency coffee-script >=1.6.2. It offers simple callback-based compilation with source maps and bare mode options.
npm install coffee-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compile CoffeeScript source string to JavaScript with source map and bare mode.
Use coffee-script directly or switch to an actively maintained compiler like decaffeinate or coffeescript@next.
Run 'npm install coffee-script' alongside coffee-compiler.
Promisify manually or use coffee-script's own compile method.
Clone options before passing: coffee.fromSource(src, Object.assign({}, opts), cb);Run 'npm install coffee-script' in your project.
Use 'var coffee = require('coffee-compiler');' then call coffee.fromSource().Use dynamic import() or switch to an ESM-compatible compiler.