| 1 |
Source: node-tmp |
| 2 |
Section: javascript |
| 3 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 4 |
Uploaders: Utkarsh Gupta <[email protected]> |
| 5 |
Build-Depends: debhelper-compat (= 13) |
| 6 |
, dh-sequence-nodejs |
| 7 |
, mocha <!nocheck> |
| 8 |
Standards-Version: 4.7.4 |
| 9 |
Vcs-Browser: https://salsa.debian.org/js-team/node-tmp |
| 10 |
Vcs-Git: https://salsa.debian.org/js-team/node-tmp.git |
| 11 |
Homepage: https://github.com/raszi/node-tmp |
| 12 |
Testsuite: autopkgtest-pkg-nodejs |
| 13 |
|
| 14 |
Package: node-tmp |
| 15 |
Architecture: all |
| 16 |
Depends: ${misc:Depends} |
| 17 |
Provides: ${nodejs:Provides} |
| 18 |
Description: Temporary file and directory creator for Node.js |
| 19 |
The main difference between node-temp and node-tmp is that node-tmp more |
| 20 |
aggressively checks for the existence of the newly created temporary file |
| 21 |
and creates the new file with O_EXCL instead of simple O_CREAT | O_RDRW, |
| 22 |
so it is safer. |
| 23 |
. |
| 24 |
The API is slightly different as well, Tmp does not yet provide |
| 25 |
synchronous calls and all the parameters are optional. |
| 26 |
. |
| 27 |
Tmp uses crypto for determining random file names, or, when using templates, |
| 28 |
a six letter random identifier. And just in case that you do not have that |
| 29 |
much entropy left on your system, Tmp will fall back to pseudo random numbers. |
| 30 |
. |
| 31 |
You can set whether you want to remove the temporary file on process exit or |
| 32 |
not, and the destination directory can also be set. |
| 33 |
. |
| 34 |
Node.js is an event-based server-side JavaScript engine. |