tempfile : Get a random temporary file path. You can installing tempfile npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install tempfile $ sudo npm install -g tempfile
If want to update the tempfile package execute the command as below,
$ sudo npm update tempfile
Update package globally,
$ npm install -g tempfile
$ sudo git clone https://github.com/rektide/tempfile.git
$ sudo npm install -g ./tempfile
tempfile@2.0.0 /usr/lib/node_modules/tempfile
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall tempfile
| Package Name | tempfile |
| Version | 2.0.0 |
| Description | Get a random temporary file path |
| Released Date | 2017-03-28T16:12:01.231Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/tempfile/tutorial |