
sindresorhus/is-wslCheck if the process is running inside Windows Subsystem for Linux (Bash on Windows)
JavaScript★ 198↓ 473M/moSep 16, 2026
JavaScript · TypeScript★ 44↓ 30.9M/moSep 23, 2026
JavaScript · TypeScript★ 12↓ 56M/moSep 15, 2026

es-shims/is-nanES6-compliant shim for Number.isNaN - the global isNaN returns false positives.
JavaScript★ 12↓ 42.6M/moSep 23, 2026
JavaScript★ 0↓ 105M/moSep 16, 2026

micromatch/is-globIf you use globs, this will make your code faster. 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 better user experience. 55+ million downloads.
JavaScript★ 96↓ 686M/moSep 16, 2026
JavaScript★ 98↓ 32M/moSep 15, 2026
JavaScript · TypeScript★ 81↓ 383M/moSep 16, 2026

es-shims/object-isES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.
JavaScript★ 25↓ 123M/moOct 21, 2026
JavaScript★ 2↓ 274M/moSep 16, 2026

inspect-js/is-mapIs this value a JS Map? This module works cross-realm/iframe, and despite %Symbol.toStringTag%.
JavaScript★ 9↓ 277M/moSep 16, 2026

inspect-js/is-shared-array-bufferIs this value a JS SharedArrayBuffer? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
JavaScript★ 3↓ 331M/moSep 16, 2026

inspect-js/is-weakmapIs this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
JavaScript★ 3↓ 289M/moSep 16, 2026
JavaScript★ 234↓ 459M/moSep 16, 2026
JavaScript · TypeScript★ 51↓ 984M/moSep 16, 2026
JavaScript★ 49↓ 308M/moSep 16, 2026

75lb/typicalIsomorphic, functional type-checking for Javascript
JavaScript★ 25↓ 49.3M/moSep 23, 2026
JavaScript · TypeScript★ 26↓ 128M/moOct 21, 2026
JavaScript · TypeScript★ 115↓ 704M/moSep 16, 2026
JavaScript★ 21↓ 34.5M/moSep 15, 2026
CoffeeScript · JavaScript★ 17↓ 523M/moOct 20, 2026
TypeScript★ 0↓ 10.1K/moOct 22, 2026
JavaScript★ 14↓ 50.7M/moSep 15, 2026

sindresorhus/environmentCheck which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
JavaScript★ 167↓ 140M/moSep 16, 2026
JavaScript · TypeScript★ 41↓ 224M/moSep 16, 2026
JavaScript · TypeScript★ 74↓ 176M/moSep 16, 2026
JavaScript★ 66↓ 46.8M/moSep 15, 2026
JavaScript · TypeScript★ 105↓ 475M/moSep 16, 2026
JavaScript★ 22↓ 44.8M/moSep 23, 2026
JavaScript · TypeScript★ 24↓ 148M/moSep 16, 2026