
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
cli-profile
Advanced tools
cli-profile is a simple wrapper around v8-profiler, making it easy to use for CLI tools in node.
Invoke it as if it's node. For example, to profile an npm install:
$ cli-profile `which npm` install
All the arguments are passed to program you're profiling. This will then generate a timestamped .cpuprofile file in the current directory, which you can then load up into Chrome Dev Tools, or use flamegraph.
To generate a flamegraph from a cpu profile:
$ npm i -g flamegraph
$ cat *.cpuprofile | flamegraph -t cpuprofile > graph.svg
The profile will run from the time the program starts until either process.exit is called or the beforeExit event is emitted on process. This corresponds to the lifetime of the program being profiled.
MIT. See LICENSE.txt
FAQs
profiling tool for CLI tools
We found that cli-profile demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.