npm50Moderatehealth index
JavaScript★ 163↓ 68.3M/moSep 15, 2026
JavaScript★ 79↓ 31.7M/moSep 23, 2026
JavaScript · TypeScript★ 63↓ 41.5M/moOct 21, 2026

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

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 · TypeScript★ 81↓ 383M/moSep 16, 2026
JavaScript · TypeScript★ 51↓ 984M/moSep 16, 2026
JavaScript · TypeScript★ 1↓ 18.7M/moSep 23, 2026
JavaScript★ 7↓ 171M/moOct 20, 2026
JavaScript★ 49↓ 308M/moSep 16, 2026
JavaScript · TypeScript★ 22↓ 46M/moSep 15, 2026

75lb/typicalIsomorphic, functional type-checking for Javascript
JavaScript★ 25↓ 49.3M/moSep 23, 2026

mswjs/is-node-processReliably determines if the code is running in Node.js. Treats Jest, React Native, Electron, and others like Node.js.
TypeScript★ 12↓ 88.3M/moSep 23, 2026
JavaScript · TypeScript★ 26↓ 128M/moOct 21, 2026
JavaScript★ 6↓ 184M/moOct 20, 2026
JavaScript · TypeScript★ 115↓ 704M/moSep 16, 2026
JavaScript★ 21↓ 34.5M/moSep 15, 2026
JavaScript★ 86↓ 380M/moSep 16, 2026

jonschlinkert/has-valueReturns true if a value exists, false if empty. Works with deeply nested values using object paths.
JavaScript★ 26↓ 76.9M/moSep 15, 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★ 2↓ 7,824/moSep 29, 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
JavaScript★ 23↓ 75.9M/moSep 15, 2026

Akurganow/isSmall utility package that provides a set of functions to check if a given argument is of a certain type
TypeScript★ 0↓ 2,366/moSep 20, 2026