Home / npm packages / lerna

lerna source code

Every file of lerna@10.0.1 as published on npm: 383 files, 608 KB. Search them by exact text or regex, in milliseconds.

It uses: child_process, process.env, the fs module, http / https, fetch(), crypto.

What lerna uses

APIIn lerna
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
Yes: 20 files
e.g. dist/chunk-WC2B4V4E.js
See the lines
process.env
reads environment variables
Yes: 8 files
e.g. dist/chunk-7CE6W7VR.js
See the lines
the fs module
reads and writes files
Yes: 5 files
e.g. dist/chunk-3JVNTSAN.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 1 file
e.g. dist/chunk-WC2B4V4E.js
See the lines
fetch()
makes HTTP requests
Yes: 1 file
e.g. dist/chunk-WC2B4V4E.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 2 files
e.g. dist/chunk-EB6RZPL6.js
See the lines
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/chunk-WC2B4V4E.js210 KB
schemas/lerna-schema.json63 KB
dist/chunk-EB6RZPL6.js37 KB
dist/chunk-TN6YF3FA.js28 KB
dist/chunk-BE2FWPTC.js15 KB
dist/chunk-XO6K5PNW.js14 KB
dist/chunk-ICHFIBDJ.js12 KB
dist/chunk-VEY66ZJL.js11 KB
dist/chunk-3ACMBZPX.js8.0 KB
dist/chunk-V6PZZIJX.js6.6 KB
dist/commands/add-caching/index.js6.3 KB
dist/commands/create/lib/lerna-module-data.cjs5.2 KB
dist/lib/lerna-module-data.cjs5.2 KB
dist/libs/commands/version/src/index.d.ts4.8 KB
dist/libs/core/src/lib/package.d.ts4.5 KB
dist/chunk-XNEGSIFA.js4.4 KB
dist/commands/repair/index.js3.5 KB
dist/index.js3.4 KB
dist/libs/core/src/lib/npm-conf/index.d.ts3.3 KB
dist/libs/core/src/index.d.ts3.2 KB
dist/libs/commands/publish/src/index.d.ts3.2 KB
dist/libs/core/src/lib/npm-conf/defaults.d.ts3.2 KB
dist/migrations/update-options-from-legacy-deprecate-config/update-options-from-legacy-deprecate-config.js3.1 KB
package.json3.0 KB
dist/chunk-TDOJUOSY.js3.0 KB
dist/libs/core/src/lib/command/index.d.ts2.9 KB
dist/chunk-OAUJ6G52.js2.6 KB
dist/libs/core/src/lib/npmlog/index.d.ts2.5 KB
dist/chunk-4SBEQS72.js2.4 KB
dist/chunk-FR5GJJDG.js2.4 KB

Questions

How many files are in lerna?

Version 10.0.1 of lerna publishes 383 files of source, 608 KB in all, not counting images, fonts and source maps.

Does lerna use eval?

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

Does lerna start other programs?

Yes: lerna uses child_process in 20 of its files.

Does lerna run an install script?

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