aboutsummaryrefslogtreecommitdiff
path: root/node_modules/unique-temp-dir/readme.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/unique-temp-dir/readme.md
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
downloadwallet-core-cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585.tar.xz
remove node_modules
Diffstat (limited to 'node_modules/unique-temp-dir/readme.md')
-rw-r--r--node_modules/unique-temp-dir/readme.md71
1 files changed, 0 insertions, 71 deletions
diff --git a/node_modules/unique-temp-dir/readme.md b/node_modules/unique-temp-dir/readme.md
deleted file mode 100644
index 8b457703b..000000000
--- a/node_modules/unique-temp-dir/readme.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# unique-temp-dir [![Build Status](https://travis-ci.org/jamestalmage/unique-temp-dir.svg?branch=master)](https://travis-ci.org/jamestalmage/unique-temp-dir)
-
-> Provides a uniquely named temp directory.
-
-
-## Install
-
-```
-$ npm install --save unique-temp-dir
-```
-
-
-## Usage
-
-```js
-const uniqueTempDir = require('unique-temp-dir');
-
-uniqueTempDir();
-//=> '/var/folders/2_/zg9h6_xd4r3_z7c07s0cn8mw0000gn/T/PpCfz55ANU2hdwnGzgny'
-
-uniqueTempDir();
-//=> '/var/folders/2_/zg9h6_xd4r3_z7c07s0cn8mw0000gn/T/qfqafhh1FJulehbCDAPk'
-```
-
-
-## API
-
-### uniqueTempDir([options])
-
-Returns a string that represents a unique directory inside the systems temp directory.
-
-#### options
-
-##### create
-
-Type: `boolean`
-Default: `false`
-
-If `true`, the directory will be created synchronously before returning.
-
-##### length
-
-Type: `number`
-Default: `20`
-
-The length of the directory name inside the temp directory.
-
-##### thunk
-
-Type: `boolean`
-Default: `false`
-
-If true, returns a thunk function for `path.join(uniqueTempDir, ... additionalArgs)`. Useful for filling your directory up with stuff.
-
-```js
-const uniqueTempDir = require('unique-temp-dir');
-const tempDir = uniqueTempDir({thunk: true});
-
-tempDir()
-//=> /user/temp/uniqueId
-
-tempDir('foo')
-//=> /user/temp/uniqueId/foo
-
-tempDir('bar')
-//=> /user/temp/uniqueId/bar
-```
-
-## License
-
-MIT © [James Talmage](http://github.com/jamestalmage)