tmpdir.sh

0.3.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    0
  • 0.2.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i tmpdir.sh

Weekly Downloads

2

Version

0.3.0

License

MIT

Last publish

Collaborators

  • wilmoore