CoffeeStylesheets is an experimental transpiler that converts CoffeeScript function calls into CSS, similar to SASS/SCSS/LESS/Stylus but entirely CoffeeScript-based. Version 0.0.5 (no recent updates) is currently available on npm. It compiles to pure JavaScript concatenation without string parsing, offering faster template compilation than Stylus (claimed 90% faster). It is stand-alone with no dependencies, and allows using common JavaScript/CoffeeScript functions like require() within templates. However, the project has not been updated in years, and the package may be unstable or incomplete. It runs in both Node.js and browser environments.
npm install coffee-stylesheetsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a CoffeeStylesheets engine with a global helper and rendering a stylesheet to CSS.
Consider using SASS/SCSS, Less, or Stylus instead.
Ensure all functions return the expected value, and use CoffeeScript-like function bodies or compile from .coffee files.
Use import or access .default: const CoffeeStylesheets = require('coffee-stylesheets').default;Pass an object: new CoffeeStylesheets({ format: true }).Use established preprocessors for production CSS.
Use: const CoffeeStylesheets = require('coffee-stylesheets').default; or switch to ES6 import.Instantiate engine with an options object: new CoffeeStylesheets({ format: true }).Install CoffeeScript: npm install coffee-script --save
No dependency data recorded yet.