UNPKG

detect-environment

Version:

Detect environments in JavaScript similar to the way Laravel does

27 lines (19 loc) 414 B
'use strict'; var // parseOptions = require('./parseOptions'), makeEnvObj = require('./makeEnvObj'), /** * */ detect = function detect (options, callback) { // options = parseOptions(options, callback); var // result = makeEnvObj(options); // return result; }; // Expose to node.js module.exports = detect;