</>PackageGraphPackageGraph

Packages by sindresorhus

Packages maintained by sindresorhus.

65 packages

strip-bomnpm

Strip UTF-8 byte order mark (BOM) from a string

0/wk1 dependentsMIT
non-errornpm

An error subclass for wrapping non-error values

0/wk1 dependentsMITTS
shebang-regexnpm

Regular expression for matching a shebang line

0/wk1 dependentsMIT
find-upnpm

Find a file or directory by walking up parent directories

0/wk4 dependentsMITTS
is-inside-containernpm

Check if the process is running inside a container (Docker/Podman)

0/wk2 dependentsMITTS
find-up-simplenpm

Find a file or directory by walking up parent directories — Zero dependencies

0/wk2 dependentsMITTS
parse-jsonnpm

Parse JSON with more helpful errors

0/wk2 dependentsMITTS
is-dockernpm

Check if the process is running inside a Docker container

0/wk2 dependentsMITTS
is-safe-filenamenpm

Check if a filename is safe to use in a path join operation

0/wk1 dependentsMITTS
oranpm

Elegant terminal spinner

0/wk6 dependentsMITTS
is-in-sshnpm

Check if the process is running in an SSH session

0/wk1 dependentsMITTS
define-lazy-propnpm

Define a lazily evaluated property on an object

0/wk1 dependentsMIT
import-localnpm

Let a globally installed package use a locally installed version of itself if available

0/wk2 dependentsMITTS
redentnpm

Strip redundant indentation and indent the string

0/wk3 dependentsMIT
default-browser-idnpm

Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari

0/wk1 dependentsMIT
strip-indentnpm

Strip leading whitespace from each line in a string

0/wk1 dependentsMITTS
defaultsnpm

Easily handle defaults for your options

0/wk1 dependentsMITTS
import-freshnpm

Import a module while bypassing the cache

0/wk2 dependentsMITTS
string-widthnpm

Get the visual width of a string - the number of columns required to display it

0/wk3 dependentsMITTS
p-mapnpm

Map over promises concurrently

0/wk1 dependentsMITTS
pkg-dirnpm

Find the root directory of a Node.js project or npm package

0/wk1 dependentsMITTSdeprecated
detect-newlinenpm

Detect the dominant newline character of a string

0/wk1 dependentsMITTS
levennpm

Measure the difference between two strings using the Levenshtein distance algorithm

0/wk2 dependentsMITTS
strip-json-commentsnpm

Strip comments from JSON. Lets you use comments in your JSON files!

0/wk2 dependentsMITTS
string-lengthnpm

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

0/wk3 dependentsMITTS
is-generator-fnnpm

Check if something is a generator function

0/wk1 dependentsMIT
tagged-tagnpm

Unique tag for use in the type-fest Tagged type

0/wk1 dependentsMITTS
stdin-discardernpm

Discard stdin input except for Ctrl+C

0/wk1 dependentsMITTS
cli-spinnersnpm

Spinners for use in the terminal

0/wk1 dependentsMITTS
log-symbolsnpm

Colored symbols for various log levels. Example: `✔︎ Success`

0/wk1 dependentsMITTS
← PrevPage 2 of 3Next →