Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/unique-filename/package.json')
-rw-r--r--node_modules/unique-filename/package.json79
1 files changed, 59 insertions, 20 deletions
diff --git a/node_modules/unique-filename/package.json b/node_modules/unique-filename/package.json
index b44501226..2b3f9a1b6 100644
--- a/node_modules/unique-filename/package.json
+++ b/node_modules/unique-filename/package.json
@@ -1,37 +1,76 @@
{
- "name": "unique-filename",
- "version": "1.0.0",
- "description": "Generate a unique filename for use in temporary directories or caches.",
- "main": "index.js",
- "scripts": {
- "test": "standard && tap test"
+ "_args": [
+ [
+ "unique-filename@~1.0.0",
+ "/Users/rebecca/code/npm"
+ ]
+ ],
+ "_from": "unique-filename@>=1.0.0 <1.1.0",
+ "_id": "unique-filename@1.0.0",
+ "_inCache": true,
+ "_location": "/unique-filename",
+ "_nodeVersion": "1.6.2",
+ "_npmUser": {
+ "email": "me@re-becca.org",
+ "name": "iarna"
},
- "repository": {
- "type": "git",
- "url": "https://github.com/iarna/unique-filename.git"
+ "_npmVersion": "2.7.6",
+ "_phantomChildren": {},
+ "_requested": {
+ "name": "unique-filename",
+ "raw": "unique-filename@~1.0.0",
+ "rawSpec": "~1.0.0",
+ "scope": null,
+ "spec": ">=1.0.0 <1.1.0",
+ "type": "range"
},
- "keywords": [],
+ "_requiredBy": [
+ "/"
+ ],
+ "_shasum": "0bee4219e192e86da3c4ffc0cc6e054d8634eab9",
+ "_shrinkwrap": null,
+ "_spec": "unique-filename@~1.0.0",
+ "_where": "/Users/rebecca/code/npm",
"author": {
- "name": "Rebecca Turner",
"email": "me@re-becca.org",
+ "name": "Rebecca Turner",
"url": "http://re-becca.org/"
},
- "license": "ISC",
"bugs": {
"url": "https://github.com/iarna/unique-filename/issues"
},
- "homepage": "https://github.com/iarna/unique-filename",
+ "dependencies": {
+ "unique-slug": "^1.0.0"
+ },
+ "description": "Generate a unique filename for use in temporary directories or caches.",
"devDependencies": {
"standard": "^3.7.3",
"tap": "^1.0.0"
},
- "dependencies": {
- "unique-slug": "^1.0.0"
+ "directories": {},
+ "dist": {
+ "shasum": "0bee4219e192e86da3c4ffc0cc6e054d8634eab9",
+ "tarball": "http://registry.npmjs.org/unique-filename/-/unique-filename-1.0.0.tgz"
},
- "readme": "unique-filename\n===============\n\nGenerate a unique filename for use in temporary directories or caches.\n\n```\nvar uniqueFilename = require('unique-filename')\n\n// returns something like: /tmp/912ec803b2ce49e4a541068d495ab570\nvar randomTmpfile = uniqueFilename(os.tmpdir())\n\n// returns something like: /tmp/my-test-912ec803b2ce49e4a541068d495ab570\nvar randomPrefixedTmpfile = uniqueFilename(os.tmpdir(), 'my-test')\n\nvar uniqueTmpfile = uniqueFilename('/tmp', 'testing', '/my/thing/to/uniq/on')\n```\n\n### uniqueFilename(*dir*, *fileprefix*, *uniqstr*) → String\n\nReturns the full path of a unique filename that looks like:\n`dir/prefix-912ec803b2ce49e4a541068d495ab570`\nor `dir/912ec803b2ce49e4a541068d495ab570`\n\n*dir* – The path you want the filename in. `os.tmpdir()` is a good choice for this.\n\n*fileprefix* – A string to append prior to the unique part of the filename.\nThe parameter is required if *uniqstr* is also passed in but is otherwise\noptional and can be `undefined`/`null`/`''`. If present and not empty\nthen this string plus a hyphen are prepended to the unique part.\n\n*uniqstr* – Optional, if not passed the unique part of the resulting\nfilename will be random. If passed in it will be generated from this string\nin a reproducable way.\n",
- "readmeFilename": "README.md",
"gitHead": "935739361f6ecc7b613c5daf66a57b67938796d4",
- "_id": "unique-filename@1.0.0",
- "_shasum": "0bee4219e192e86da3c4ffc0cc6e054d8634eab9",
- "_from": "unique-filename@*"
+ "homepage": "https://github.com/iarna/unique-filename",
+ "keywords": [],
+ "license": "ISC",
+ "main": "index.js",
+ "maintainers": [
+ {
+ "name": "iarna",
+ "email": "me@re-becca.org"
+ }
+ ],
+ "name": "unique-filename",
+ "optionalDependencies": {},
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/iarna/unique-filename.git"
+ },
+ "scripts": {
+ "test": "standard && tap test"
+ },
+ "version": "1.0.0"
}