Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hashed-tmp

nak2k1MIT0.0.2

Make a directory with a hashed name

tmp

readme

hashed-tmp

Make a directory with a hashed name.

Installation

npm i hashed-tmp -S

Usage

const { mkdirp } = require('hashed-tmp');

mkdirp({ src: 'SRC_OF_HASH' }, (err, tmpdir) => {
  // tmpdir => '/var/folders/.../T/89a6dc23b3058db32ca6e643839cb8e1'
});

License

MIT