Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
has-flag
Check if argv has a specific flag
execa
Process execution for humans
human-signals
Human-friendly process signals
is-docker
Check if the process is running inside a Docker container
restore-cursor
Gracefully restore the CLI cursor on exit
is-wsl
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
open
Open stuff like URLs, files, executables. Cross-platform.
process
process information for node.js and browsers
is-windows
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
exit
A replacement for process.exit that ensures stdio are fully drained before exiting.
tree-kill
kill trees of processes
get-stdin
Get stdin as a string or buffer
pidtree
Cross platform children list of a PID
unified
parse, inspect, transform, and serialize content through syntax trees
micromark
small commonmark compliant markdown parser with positional info and concrete tokens
unicorn-magic
Some useful utilities I often need
is-inside-container
Check if the process is running inside a container (Docker/Podman)
serialize-error
Serialize/deserialize an error into a plain object
on-exit-leak-free
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
is-root
Check if the process is running as root user, for example, one started with `sudo`