Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment
faisalmanabout 1 month agoReturns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
jonschlinkertover 2 years agoNode.js os.homedir polyfill for older versions of node.js.
doowbover 2 years agoCheck which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
sindresorhus9 months ago