Home / npm packages / coffee-script

coffee-script source code

Every file of coffee-script@1.12.7 as published on npm: 23 files, 398 KB. Search them by exact text or regex, in milliseconds.

It uses: eval(), new Function(), child_process, process.env, the fs module, XMLHttpRequest.

What coffee-script uses

APIIn coffee-script
eval()
runs a string as JavaScript
Yes: 1 file
e.g. lib/coffee-script/browser.js
See the lines
new Function()
builds a function from a string, like eval (with or without new)
Yes: 1 file
e.g. lib/coffee-script/browser.js
See the lines
child_process
starts other programs
Yes: 2 files
e.g. lib/coffee-script/command.js
See the lines
process.env
reads environment variables
Yes: 3 files
e.g. lib/coffee-script/helpers.js
See the lines
the fs module
reads and writes files
Yes: 7 files
e.g. bin/cake
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 1 file
e.g. lib/coffee-script/browser.js
See the lines
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
lib/coffee-script/nodes.js130 KB
lib/coffee-script/parser.js107 KB
lib/coffee-script/lexer.js40 KB
lib/coffee-script/grammar.js27 KB
lib/coffee-script/rewriter.js20 KB
lib/coffee-script/command.js19 KB
lib/coffee-script/coffee-script.js14 KB
lib/coffee-script/helpers.js6.9 KB
lib/coffee-script/repl.js6.7 KB
lib/coffee-script/sourcemap.js4.7 KB
lib/coffee-script/scope.js4.5 KB
lib/coffee-script/optparse.js4.1 KB
lib/coffee-script/browser.js3.7 KB
lib/coffee-script/cake.js3.0 KB
lib/coffee-script/register.js1.9 KB
README.md1.8 KB
LICENSE1.1 KB
package.json1.0 KB
bin/coffee546 B
bin/cake543 B
lib/coffee-script/index.js193 B
repl.js54 B
register.js41 B

Questions

How many files are in coffee-script?

Version 1.12.7 of coffee-script publishes 23 files of source, 398 KB in all, not counting images, fonts and source maps.

Does coffee-script use eval?

Yes: coffee-script calls eval() in 1 of its files.

Does coffee-script start other programs?

Yes: coffee-script uses child_process in 2 of its files.

Does coffee-script run an install script?

No: coffee-script has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine