Home / npm packages / commitizen

commitizen source code

Every file of commitizen@4.3.2 as published on npm: 49 files, 238 KB. Search them by exact text or regex, in milliseconds.

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

What commitizen uses

APIIn commitizen
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 18 files
e.g. dist/commitizen/adapter.js
See the lines
child_process
starts other programs
Yes: 9 files
e.g. dist/commitizen/adapter.js
See the lines
process.env
reads environment variables
Yes: 1 file
e.g. dist/configLoader/loader.js
See the lines
the fs module
reads and writes files
Yes: 5 files
e.g. dist/commitizen/adapter.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
dist/commitizen/adapter.js33 KB
dist/commitizen/init.js22 KB
README.md20 KB
logo/commitizen-logo-mono.svg17 KB
dist/git/commit.js17 KB
dist/commitizen/commit.js15 KB
logo/commitizen-logo-color.svg14 KB
dist/configLoader/getContent.js14 KB
dist/common/util.js9.5 KB
dist/configLoader/loader.js8.7 KB
dist/configLoader/getNormalizedConfig.js8.2 KB
dist/configLoader/findup.js6.7 KB
dist/commitizen/staging.js5.5 KB
dist/commitizen/cache.js5.4 KB
dist/git/whatChanged.js3.9 KB
dist/git/log.js3.7 KB
dist/cli/strategies/git-cz.js3.5 KB
package.json3.3 KB
dist/cli/commitizen.js2.8 KB
dist/git/add.js2.8 KB
dist/commitizen/configLoader.js2.1 KB
dist/git/init.js1.9 KB
logo/generate.sh1.8 KB
dist/commitizen.js1.7 KB
CONTRIBUTING.md1.7 KB
jobs/build.yml1.4 KB
dist/index.js1.3 KB
LICENSE1.0 KB
dist/configLoader.js1.0 KB
dist/git.js980 B

Questions

How many files are in commitizen?

Version 4.3.2 of commitizen publishes 49 files of source, 238 KB in all, not counting images, fonts and source maps.

Does commitizen use eval?

No: commitizen doesn't call eval() anywhere in its published files.

Does commitizen start other programs?

Yes: commitizen uses child_process in 9 of its files.

Does commitizen run an install script?

No: commitizen 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