Home / npm packages / @commitlint/cli

@commitlint/cli source code

Every file of @commitlint/cli@21.2.3 as published on npm: 11 files, 21 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env, the fs module.

What @commitlint/cli uses

APIIn @commitlint/cli
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 1 file
e.g. lib/cli.js
See the lines
the fs module
reads and writes files
Yes: 1 file
e.g. lib/cli.js
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
NoWho does
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/cli.js16 KB
package.json1.4 KB
license.md1.1 KB
lib/cli-error.js810 B
lib/types.d.ts681 B
lib/cli-error.d.ts413 B
README.md256 B
index.cjs100 B
lib/types.js44 B
lib/cli.d.ts44 B
cli.js43 B

Questions

How many files are in @commitlint/cli?

Version 21.2.3 of @commitlint/cli publishes 11 files of source, 21 KB in all, not counting images, fonts and source maps.

Does @commitlint/cli use eval?

No: @commitlint/cli doesn't call eval() anywhere in its published files.

Does @commitlint/cli start other programs?

No: @commitlint/cli doesn't use child_process anywhere in its published files.

Does @commitlint/cli run an install script?

No: @commitlint/cli 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