Skip to content

wilmoore/tmpdir.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmpdir.sh

Build Status NPM version NPM downloads LICENSE

Portable $TMPDIR for your shell.

Example (OSX)

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

cat $TMPDIR/hacker.pid
# => 123

Example (Linux)

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

cat /tmp/hacker.pid
# => 123

Installation

npm install tmpdir.sh --save

License

MIT

About

Portable $TMPDIR for your shell.

Resources

License

Stars

Watchers

Forks

Packages

No packages published