{"repo":"raszi/node-tmp","free":true,"listed":false,"github":"https://github.com/raszi/node-tmp","clone":"git clone https://github.com/raszi/node-tmp.git","description":"Temporary file and directory creator for node.js","language":"JavaScript","stars":776,"topics":["library","nodejs","tempdir","tempfiles"],"license":"MIT","category":"dev-tools","readme_excerpt":"Tmp A simple temporary file and directory creator for [node.js.][1] About This is a [widely used library][2] to create temporary files and directories in a [node.js][1] environment. Tmp offers both an asynchronous and a synchronous API. For all API calls, all the parameters are optional. There also exists a promisified version of the API, see [tmp-promise][5]. Tmp uses crypto for determining random file names, or, when using templates, a six letter random identifier. And just in case that you do not have that much entropy left on your system, Tmp will fall back to pseudo random numbers. You can set whether you want to remove the temporary file on process exit or not. If you do not want to store your temporary directories and files in the standard OS temporary directory, then you are free to override that as well. An Important Note on Previously Undocumented Breaking Changes All breaking changes that had been introduced, i.e. - tmpdir must be located under the system defined tmpdir root. - Spaces being collapsed into single spaces - Removal of all single and double quote characters have been reverted in v0.2.2 and tmp should now behave as it did before the introduction of these breaking changes. Other breaking changes, i.e. - template must be relative to tmpdir - name must be relative to tmpdir - dir option must be relative to tmpdir are still in place. In order to override the system's tmpdir, you will have to use the newly introduced tmpdir option. An Important Note on Compa","default_branch":null,"files":null,"tree":[],"storefront":"/r/raszi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raszi/node-tmp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}