
sindresorhus/environmentCheck which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
JavaScript★ 168↓ 243M/月2026年11月19日
JavaScript · TypeScript★ 63↓ 52.8M/月2026年12月2日
JavaScript · TypeScript★ 51↓ 1.5B/月2026年11月19日
JavaScript · TypeScript★ 82↓ 543M/月2026年11月19日
JavaScript · TypeScript★ 12↓ 97.2M/月2026年11月18日

es-shims/is-nanES6-compliant shim for Number.isNaN - the global isNaN returns false positives.
JavaScript★ 12↓ 66.7M/月2026年11月24日

inspect-js/is-setIs this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
JavaScript★ 3↓ 499M/月2026年11月19日
JavaScript★ 98↓ 43.7M/月2026年11月18日
JavaScript★ 0↓ 245M/月2026年11月19日

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↓ 1.1B/月2026年11月19日
JavaScript★ 80↓ 41.5M/月2026年11月24日
JavaScript★ 50↓ 447M/月2026年11月19日
JavaScript★ 66↓ 60.8M/月2026年11月18日
JavaScript · TypeScript★ 110↓ 762M/月2026年11月19日
JavaScript · TypeScript★ 45↓ 36.7M/月2026年11月24日

es-shims/object-isES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.
JavaScript★ 26↓ 155M/月2026年12月2日
JavaScript★ 2↓ 477M/月2026年11月19日

inspect-js/is-mapIs this value a JS Map? This module works cross-realm/iframe, and despite %Symbol.toStringTag%.
JavaScript★ 9↓ 501M/月2026年11月19日

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↓ 530M/月2026年11月19日

inspect-js/is-weakmapIs this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
JavaScript★ 3↓ 500M/月2026年11月19日
JavaScript★ 235↓ 810M/月2026年11月19日
JavaScript · TypeScript★ 117↓ 424M/月2026年11月19日
JavaScript★ 21↓ 41.3M/月2026年11月18日
JavaScript · TypeScript★ 117↓ 1.2B/月2026年11月19日
JavaScript · TypeScript★ 75↓ 390M/月2026年11月19日
JavaScript · TypeScript★ 42↓ 368M/月2026年11月19日
JavaScript · TypeScript★ 26↓ 180M/月2026年12月2日
JavaScript · TypeScript★ 24↓ 227M/月2026年11月19日
CoffeeScript · JavaScript★ 19↓ 703M/月2026年11月30日
JavaScript★ 14↓ 65.9M/月2026年11月18日