Registry / web-framework / co-assets-compiler

co-assets-compiler

JSON →
library0.0.1-3jsnpmunverified

Assets compiler middleware for CompoundJS web framework. Version 0.0.1-3 (last release, no recent updates) compiles Less, Stylus, Sass, and CoffeeScript in Express/CompoundJS applications. This early-stage package is tightly coupled to CompoundJS's autoload mechanism and is not actively maintained. Unlike standalone asset pipelines (e.g., gulp, webpack), it runs as middleware. No significant changes since initial release; use with legacy CompoundJS projects only.

npm install co-assets-compiler
INSTALL
IMPORT
SIG · CO-ASSETS-COMPILER
C
co-assets-compiler
web-frameworkjavascriptv0.0.1-3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

co-assets-compiler
require('co-assets-compiler')
import * as assets from 'co-assets-compiler'
Package predates ES modules; use CommonJS require. No default or named exports.

Add co-assets-compiler to CompoundJS's autoload configuration for automatic asset compilation middleware.

// config/autoload.js module.exports = function (compound) { return [ 'ejs-ext', 'jugglingdb', 'seedjs', 'co-assets-compiler' ].map(require); };
Debug
Known issues
gotchaPackage only works within CompoundJS framework; not standalone Express middleware.
fix
Use only in CompoundJS projects. For Express, use separate asset middleware like node-sass or stylus.
affects: >=0.0.1
gotchaNo peer dependencies declared; requires manual installation of Less, Stylus, Sass, and CoffeeScript compilers.
fix
Install needed compilers: npm install less stylus sass coffee-script --save
affects: >=0.0.1
deprecatedPackage has not been updated since 2013; uses outdated APIs and may not work with modern Node.js.
fix
Consider migrating to a modern asset pipeline (e.g., webpack, gulp, or direct compiler integration).
affects: >=0.0.1
Errors
Common errors & fixes
Error: Cannot find module 'co-assets-compiler'
Package not installed or missing from node_modules.
fix
Run: npm install co-assets-compiler --save
TypeError: compound.use is not a function
Incorrect usage outside CompoundJS autoload (e.g., manually calling require without wrapping in compound callback).
fix
Use via config/autoload.js as shown in README; do not require directly.
Upgrade
Version history
0.0.1-3latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
co-assets-compiler — npm install co-assets-compiler · libregistry