Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    isserverpublic

    isServer

    Check if process is running in Node.

    API

    var detect = require('isServer');
     
    detect();
    // -> true in node
    // -> false in browser

    License

    MIT © Yoshua Wuyts

    install

    npm i isserver

    Downloadsweekly downloads

    2

    version

    0.0.1

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar