detect-node
Detect Node.JS (as opposite to browser environment) (reliable)
- Category
- npm packages
npm install detect-node Official docs outline
github.comExtra Credit builds an outline of detect-node's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
is-in-ssh Check if the process is running in an SSH session
-
@img/sharp-wasm32 Prebuilt sharp for use with WebAssembly
-
joycon Load config with ease.
-
global-modules The directory used by npm for globally installed npm modules.
-
form-data-encoder Encode FormData content into the multipart/form-data format
-
redis-errors Error classes used in node_redis
-
crossws Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers
-
@babel/preset-react Babel preset for all React plugins.
-
markdown-it Markdown-it - modern pluggable markdown parser.
-
is-unsafe Zero-dependency, DOM-free, pure predicate for detecting unsafe strings across HTML, XML, SVG, SQL, SHELL, and REGEX contexts
-
vfile-location vfile utility to convert between positional (line and column-based) and offset (range-based) locations
-
embla-carousel-react A lightweight carousel library with fluid motion and great swipe precision