
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
esbuild-coffeescript
Advanced tools
This plugin lets you import CoffeeScript files when bundling with Esbuild
$ npm install --save-dev esbuild-coffeescript
main.coffee
answer = 42
console.log("the answer is #{answer}")
build.js
const coffeeScriptPlugin = require('esbuild-coffeescript');
require('esbuild').build({
entryPoints: ['main.coffee'],
bundle: true,
outfile: 'out.js',
plugins: [coffeeScriptPlugin()],
});
An object containing configuration options may be passed into the plugin constructor coffeeScriptPlugin
coffeeScriptPlugin({
bare: true,
});
The following options are available:
options.inlineMap
, boolean
: if true, output the source map as a base64-encoded string in a comment at the bottom.options.filename
, string
: the filename to use for the source map. It can include a path (relative or absolute).options.bare
, boolean
: if true, output without the top-level function safety wrapper.options.header
, boolean
: if true, output the Generated by CoffeeScript header.options.transpile
, object
: if set, this must be an object with the options to pass to Babel. See Transpilation.options.ast
, boolean
: if true, return an abstract syntax tree of the input CoffeeScript source code.While it might seem like it, coffeescript is still downloaded over 1.6 million times every week. Coffeescript is still actively used and widespread, and this plugin provides a great way for these projects to leverage the great esbuild tooling.
v2.2.0
coffeescript ^2.6.1 → ^2.7.0
esbuild ^0.14.14 → ^0.17.7
eslint ^8.8.0 → ^8.34.0
eslint-config-prettier ^8.3.0 → ^8.6.0
jest ^27.4.7 → ^29.4.2
FAQs
Bundle CoffeeScript with Esbuild
The npm package esbuild-coffeescript receives a total of 3,589 weekly downloads. As such, esbuild-coffeescript popularity was classified as popular.
We found that esbuild-coffeescript demonstrated a healthy version release cadence and project activity because the last version was released less than 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.