How to use the minimist.env function in minimist

To help you get started, we’ve selected a few minimist examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github trivago / parallel-webpack / src / loadConfigurationFile.js View on Github external
function callConfigFunction(fn) {
    return fn(require('minimist')(process.argv, { '--': true }).env || {});
}