{"id":26634,"library":"wch-coffee","title":"wch-coffee","description":"CoffeeScript transpiler for wchd (version 0.3.2). Integrates with wchd build tool to compile CoffeeScript source files from a 'src' directory. Requires peer dependency wch ^0.10.0 and CoffeeScript as a devDependency. Focused on simplicity: set main in package.json, run 'wch start' for server and 'wch .' for watching. Lightweight but niche; no active release cadence observed. Differentiator: minimal configuration vs other CoffeeScript build tools like gulp-coffee, but tied to wchd ecosystem.","status":"active","version":"0.3.2","language":"javascript","source_language":"en","source_url":"https://github.com/aleclarson/wch-coffee","tags":["javascript"],"install":[{"cmd":"npm install wch-coffee","lang":"bash","label":"npm"},{"cmd":"yarn add wch-coffee","lang":"bash","label":"yarn"},{"cmd":"pnpm add wch-coffee","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency: provides the wch CLI and build system; wch-coffee is a plugin for wchd","package":"wch","optional":false}],"imports":[{"note":"wch-coffee is a plugin for wchd; imported as a side-effect module, not as a named export. Typically added to package.json as a devDependency without explicit import in user code.","wrong":"const wchCoffee = require('wch-coffee')","symbol":"default","correct":"import 'wch-coffee'"}],"quickstart":{"code":"// In package.json:\n// {\n//   \"main\": \"lib/index.js\",\n//   \"devDependencies\": {\n//     \"wch\": \"^0.10.0\",\n//     \"wch-coffee\": \"^0.3.2\",\n//     \"coffeescript\": \"^2.7.0\"\n//   }\n// }\n// Place CoffeeScript files in src/\n// Run in terminal:\n// npx wch start\n// npx wch .","lang":"javascript","description":"Demonstrates basic setup: package.json config, devDependencies, and commands to run wchd server and watch for changes."},"warnings":[{"fix":"Ensure wch is at version 0.10.x and wch-coffee at ^0.3.2.","message":"Requires wch version ^0.10.0; incompatible with other major versions.","severity":"breaking","affected_versions":"<0.3.0"},{"fix":"Consider using wchd's native CoffeeScript handling if available; otherwise stick with this plugin.","message":"Deprecated in favor of native wch support for CoffeeScript? Check if wchd has built-in transpilation.","severity":"deprecated","affected_versions":">=0.3.0"},{"fix":"Install coffeescript as devDependency and ensure version compatible with this plugin (e.g., ^2.7.0).","message":"CoffeeScript version not pinned; user must add 'coffeescript' as a devDependency. Using incompatible CoffeeScript version may break transpilation.","severity":"gotcha","affected_versions":">=0.3.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 wch@^0.10.0' or add wch to devDependencies.","cause":"wch peer dependency not installed","error":"Error: Cannot find module 'wch'"},{"fix":"Run 'npm install coffeescript --save-dev'","cause":"CoffeeScript not installed","error":"Error: Missing dependency 'coffeescript'"},{"fix":"Create src/index.coffee or configure main in package.json to point to existing CoffeeScript file.","cause":"Source file missing in src directory","error":"Error: ENOENT: no such file or directory, open 'src/index.coffee'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}