composite-detect

    0.0.3 • Public • Published

    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

    Keywords

    none

    Install

    npm i composite-detect

    DownloadsWeekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • tcr