Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
coffee-distiller
Advanced tools
Merge and minify server side coffee-script files with fake CJS wrappers. This tool is useful for developers who want to distribute a SERVER SIDE coffee-script app in the form of single javascript file.
This tool does three things:
This tool is useful for developers who want to distribute a SERVER SIDE coffee-script app in the form of a single javascript file.
CommonJS module has its built-in module scope, thus developers can not simple combine server side coffee-script files like what they do on the client side.
This tool introduces a fake CJS module wrapper and merges coffee-script files, as well as keeps scopes of each module.
npm install coffee-script coffee-distiller -g
Use in command line
distill -i path/to/app.coffe -o dist/app.js
# this will generate 3 files in ./dist/ directory:
# - app.coffee : a merged coffee file
# - app.js : compiled javascript file from app.coffee
# - app.min.js : minified javascript file from app.js
FAQs
Merge and minify server side coffee-script files with fake CJS wrappers. This tool is useful for developers who want to distribute a SERVER SIDE coffee-script app in the form of single javascript file.
We found that coffee-distiller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.