gitmyhub

is-node-process

TypeScript ★ 12 updated 3y ago

Reliably determines if the code is running in Node.js. Treats Jest, React Native, Electron, and others like Node.js.

No plain-English explanation yet — one is being written right now. Check back in a minute.