title: Is it bad practice to use process.env.SOMETHING in a npm package?
body: <p>Specifically, I have created a wrapper for winston, so only a few functions are available and it can always be swapped out for some other library.
  In this wrapper I am creating a new logger with:</p>
  
  <pre><code>const logger = winston.createLogger({
    level: process.env.MIN_LOG_LEVEL || 'debug', // Minimum logging level
    transports: [new winston.transports.Console()],
    format: winston.format.combine(winston.format.timestamp(), customFormat),
  });
  </code></pre>
  
  <p>Is it a bad practice to use <em>process.env.MIN_LOG_LEVEL</em> here? Should it only be used in the "actual app" ? And if so, how would you solve this?</p>