Wondering what’s next for npm?Check out our public roadmap! »

    is-server

    0.0.2 • Public • Published

    is-server

    Check if process is running in Node.

    API

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

    License

    MIT © Yoshua Wuyts

    Install

    npm i is-server

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • avatar