Skip to content

kaosat-dev/detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compositejs/detect

Detect your environment: Node.js, Browser, and CommonJS.

Installation

Via component: $ component install compositejs/detect

Node.js: $ npm install composite-detect

Standalone: Download src/detect.js and look for the global detect object.

API

detect.isBrowser == true / false
detect.isNode == true / false
detect.isModule == true / false

License

MIT

About

Detect your environment: Node.js, Browser, and CommonJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors