-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "quick-temp",
"description": "Create and remove temporary directories with minimal effort",
"version": "0.1.2",
"author": {
"name": "Jo Liss",
"email": "joliss42@gmail.com"
},
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joliss/node-quick-temp"
},
"dependencies": {
"rimraf": "~2.2.6",
"mktemp": "~0.3.4",
"underscore.string": "~2.3.3"
},
"readme": "# node-quick-temp\n\nCreate and remove temporary directories. Useful for build tools, like Broccoli\nplugins. Smart about naming, and placing them in `./tmp` if possible, so you\ndon't have to worry about this.\n\n## Installation\n\n```bash\nnpm install --save quick-temp\n```\n\n## Usage\n\n```js\nvar quickTemp = require('quick-temp')\n```\n\n### Creating a temporary directory\n\nTo make a temporary and assign its path to `this.tmpDestDir`, call either one\nof these:\n\n```js\nquickTemp.makeOrRemake(this, 'tmpDestDir')\n// or\nquickTemp.makeOrReuse(this, 'tmpDestDir')\n```\n\nIf `this.tmpDestDir` already contains a path, `makeOrRemake` will remove it\nfirst and then create a new directory, whereas `makeOrReuse` will be a no-op.\n\nBoth functions also return the path of the temporary directory.\n\n### Removing a temporary directory\n\nTo remove a previously-created temporary directory and all its contents, call\n\n```js\nquickTemp.remove(this, 'tmpDestDir')\n```\n\nThis will also assign `this.tmpDestDir = null`. If `this.tmpDestDir` is\nalready null or undefined, it will be a no-op.\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/joliss/node-quick-temp/issues"
},
"homepage": "https://github.com/joliss/node-quick-temp",
"_id": "quick-temp@0.1.2",
"_from": "quick-temp@^0.1.0",
"scripts": {}
}