tmpdir.sh

Portable $TMPDIR for your shell.

tmpdir.sh

Portable $TMPDIR for your shell.

echo 123 > $(. node_modules/tmpdir.sh/index)/hacker.pid

cat $TMPDIR/hacker.pid
# => 123
echo 123 > $(. node_modules/tmpdir.sh/index)/hacker.pid

cat /tmp/hacker.pid
# => 123
npm install tmpdir.sh --save

MIT