Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
env-paths
Get paths for storing things like data, config, cache, etc
external-editor
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
untildify
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
expand-tilde
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
resolve-dir
Resolve a directory that is either local, global or in the user's home directory.
os-locale
Get the system locale
is-root
Check if the process is running as root user, for example, one started with `sudo`
tildify
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
home-or-tmp
Get the user home directory with fallback to the system temp directory
env-editor
Get metadata on the default editor or a specific editor
parse-github-url
Parse a github URL into an object.
nest-pret
A generator to bootstrap fully-featured NestJS apps. Includes user registration, email verification, password recovery, claims-based access control, standardized and paginated responses, OpenAPI auto-documentation and more.
userhome
A cross-platform path to the user's home
xdg-app-paths
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
github-username
Get a GitHub username from an email address
useragent
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
username
Get the username of the current user
root-check
Try to downgrade the permissions of a process with root privileges and block access if it fails
goobs-auth
A comprehensive and customizable authentication solution for applications. Includes flexible auth flows, email/SMS verification, custom middleware, and integration with Twilio and SMTP services.
sudo-block
Block users from running your app with root permissions