How to use the env-paths.config function in env-paths

To help you get started, we’ve selected a few env-paths 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 saojs / kopy / lib / Generator.js View on Github external
get cacheFile() {
    if (this.opts.cacheFile) return this.opts.cacheFile
    return require('env-paths')('kopy-cache').config
  }

env-paths

Get paths for storing things like data, config, cache, etc

MIT
Latest version published 3 years ago

Package Health Score

70 / 100
Full package analysis

Popular env-paths functions