is-node

JSON →
library 1.1.1 ·javascript
verified May 27, 2026

This package provides a minimal utility to programmatically determine if the current JavaScript execution environment is Node.js. It achieves this by checking for the presence of the global `process` object and specific properties like `process.versions.node`. The current stable version is 1.1.1. The package maintains a relatively active release cadence, primarily for patch updates related to build processes (e.g., `npm ignore`). Its key differentiator is its singular focus and small footprint, offering a straightforward boolean value rather than a complex function or object. It's commonly employed in isomorphic libraries or application code that needs to adapt behavior between server-side Node.js and client-side browser environments.

total hits 8
actors 5 distinct systems
last hit 7d ago Script
GPTBot
2
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇺🇦 Ukraine · 🇨🇦 Canada · 🇩🇪 Germany