npm

Search results

1000+ packages found

Detect whether a terminal supports color

published version 10.2.2, 9 months ago4439 dependents licensed under $MIT
1,748,058,235

Check if something is a Node.js stream

published version 4.0.1, 2 years ago2437 dependents licensed under $MIT
626,890,146

Check if the character represented by a given Unicode code point is fullwidth

published version 5.1.0, 9 months ago2710 dependents licensed under $MIT
1,025,177,156

Check if argv has a specific flag

published version 5.0.1, 5 years ago3299 dependents licensed under $MIT
1,095,101,169

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

published version 3.1.1, 4 months ago2031 dependents licensed under $MIT
422,843,419

Get details about the current Continuous Integration environment

published version 4.4.0, 4 months ago1920 dependents licensed under $MIT
491,374,771

Check if a file path is a binary file

published version 3.0.0, 2 years ago1569 dependents licensed under $MIT
373,906,913

Check if the process is running inside a Docker container

published version 4.0.0, 9 months ago1359 dependents licensed under $MIT
382,263,707

Detect whether the terminal supports Unicode

published version 2.1.0, 2 years ago1277 dependents licensed under $MIT
360,990,689

Detect the file type of a file, stream, or data

published version 22.0.1, 2 months ago3325 dependents licensed under $MIT
205,892,175

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

published version 1.1.0, 2 years ago32 dependents licensed under $MIT
125,281,954

Check if something is a generator function

published version 3.0.0, 5 years ago902 dependents licensed under $MIT
153,723,997

Detect Node.JS (as opposite to browser environment). ESM modification

published version 1.1.0, 5 years ago36 dependents licensed under $MIT
226,424,680

Check if stdout or stderr is interactive

published version 2.0.0, 5 years ago1042 dependents licensed under $MIT
214,197,297

Detect the indentation of code

published version 7.0.2, 9 months ago965 dependents licensed under $MIT
93,774,234

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

published version 1.0.0, 3 years ago248 dependents licensed under $MIT
144,210,131

Detect whether or not an object is a Typed Array

published version 1.0.0, 11 years ago1103 dependents licensed under $MIT
139,538,267

Detect whether a terminal supports hyperlinks

published version 4.4.0, 6 months ago987 dependents licensed under $MIT
133,706,735

Detect if your code is running on an AWS Lambda server

published version 1.0.1, 9 years ago145 dependents licensed under $MIT
111,430,386

Detect Node.JS (as opposite to browser environment) (reliable)

published version 2.1.0, 5 years ago864 dependents licensed under $MIT
102,142,855