Search results

1000+ packages found

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

published version 5.0.0, a year ago2704 dependents licensed under $MIT
360,096,779

Get the operating system CPU architecture

published version 1.0.0, 5 months ago19 dependents licensed under $MIT
4,033,353

Check whether operating system CPU architecture is 64-bit or 32-bit (Supports browsers)

published version 2.0.0, a year ago19 dependents licensed under $MIT
4,034,796

Detect potential issues with users system that could prevent Yeoman from working correctly

published version 5.0.0, 3 years ago4 dependents licensed under $BSD-2-Clause
699,043

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

published version 1.0.2, 7 years ago1214 dependents licensed under $MIT
64,641,506

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

published version 1.1.0, 8 months ago13 dependents licensed under $MIT
20,835,158

Check if argv has a specific flag

published version 5.0.1, 3 years ago3253 dependents licensed under $MIT
697,425,834

Get the native type of a value.

published version 6.0.3, 5 years ago2069 dependents licensed under $MIT
317,569,964

Check if something is a Node.js stream

published version 4.0.1, a year ago2567 dependents licensed under $MIT
283,227,547

Returns true if a windows file path has invalid characters.

published version 1.0.2, 7 years ago43 dependents licensed under $MIT
5,887,987

Check if a path is a file, directory, or symlink

published version 6.0.0, 6 months ago1806 dependents licensed under $MIT
192,508,453

Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.

published version 0.1.0, 9 years ago82 dependents licensed under $MIT
6,858,349

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

published version 7.0.0, 7 years ago2815 dependents licensed under $MIT
245,858,170

Returns true if the value is an object and not an array or null.

published version 4.0.0, 6 years ago1703 dependents licensed under $MIT
140,619,663

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

published version 3.1.0, a year ago2158 dependents licensed under $MIT
135,963,032

Looks up the first non-whitespace character to the left/right of a given index

published version 6.0.17, a year ago22 dependents licensed under $MIT
328,868

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

published version 4.0.3, 3 years ago2852 dependents licensed under $MIT
209,024,649

Check if a file path is a binary file

published version 3.0.0, 9 months ago1584 dependents licensed under $MIT
142,547,459

Returns true if a file path does not contain any invalid characters.

published version 0.1.1, 10 years ago254 dependents licensed under $MIT
4,018,714

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2296 dependents licensed under $MIT
174,901,967