How to use the fs-temp/promise.mkdir function in fs-temp

To help you get started, we’ve selected a few fs-temp 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 albinekb / enhanced-slack / cli.js View on Github external
    task: (ctx, task) => fsTemp.mkdir().then(tmpPath => { ctx.tmpPath = tmpPath })
  },

fs-temp

`fs-temp` is a quick and simple way to create temporary files and directories.

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis

Similar packages