var isNode = require('is-node');

module.exports = (function () {
    if (typeof Deno !== 'undefined') {
        var env = Deno.permissions().env ? Deno.env() : {};

        return {
            argv: Deno.args,
            color: !Deno.noColor ? 1 : 0,
            env: env,
            runtime: 'deno'
        };
    } else if (isNode) {
        var os = require('os');

        return {
            argv: process.argv,
            env: process.env,
            runtime: 'node',
            getNodeRelease: os.release
        };
    } else {
        return {
            argv: [],
            env: {},
            runtime: 'browser'
        };
    }
})();

/*globals Deno*/
var isNode = require('is-node');

module.exports = (function () {
    if (typeof Deno !== 'undefined') {
        var env = Deno.permissions().env ? Deno.env() : {};

        return {
            argv: Deno.args,
            color: !Deno.noColor ? 1 : 0,
            env: env,
            runtime: 'deno'
        };
    } else if (isNode) {
        var os = require('os');

        return {
            argv: process.argv,
            env: process.env,
            runtime: 'node',
            getNodeRelease: os.release
        };
    } else {
        return {
            argv: [],
            env: {},
            runtime: 'browser'
        };
    }
})();

Add a int exception for the check for Deno.
Add a int exception for the check for Deno.
