| 1 |
{ |
| 2 |
"_id": "unique-filename", |
| 3 |
"_rev": "21-583d19b84cd34086d9f2726bc41365bb", |
| 4 |
"name": "unique-filename", |
| 5 |
"description": "Generate a unique filename for use in temporary directories or caches.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.1.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "unique-filename", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Generate a unique filename for use in temporary directories or caches.", |
| 14 |
"main": "index.js", |
| 15 |
"scripts": { |
| 16 |
"test": "standard && tap test" |
| 17 |
}, |
| 18 |
"repository": { |
| 19 |
"type": "git", |
| 20 |
"url": "https://github.com/iarna/unique-filename.git" |
| 21 |
}, |
| 22 |
"keywords": [], |
| 23 |
"author": { |
| 24 |
"name": "Rebecca Turner", |
| 25 |
"email": "[email protected]", |
| 26 |
"url": "http://re-becca.org/" |
| 27 |
}, |
| 28 |
"license": "ISC", |
| 29 |
"bugs": { |
| 30 |
"url": "https://github.com/iarna/unique-filename/issues" |
| 31 |
}, |
| 32 |
"homepage": "https://github.com/iarna/unique-filename", |
| 33 |
"devDependencies": { |
| 34 |
"standard": "^3.7.3", |
| 35 |
"tap": "^1.0.0" |
| 36 |
}, |
| 37 |
"dependencies": { |
| 38 |
"unique-slug": "^1.0.0" |
| 39 |
}, |
| 40 |
"gitHead": "935739361f6ecc7b613c5daf66a57b67938796d4", |
| 41 |
"_id": "[email protected]", |
| 42 |
"_shasum": "0bee4219e192e86da3c4ffc0cc6e054d8634eab9", |
| 43 |
"_from": ".", |
| 44 |
"_npmVersion": "2.7.6", |
| 45 |
"_nodeVersion": "1.6.2", |
| 46 |
"_npmUser": { |
| 47 |
"name": "iarna", |
| 48 |
"email": "[email protected]" |
| 49 |
}, |
| 50 |
"maintainers": [ |
| 51 |
{ |
| 52 |
"name": "iarna", |
| 53 |
"email": "[email protected]" |
| 54 |
} |
| 55 |
], |
| 56 |
"dist": { |
| 57 |
"shasum": "0bee4219e192e86da3c4ffc0cc6e054d8634eab9", |
| 58 |
"tarball": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.0.0.tgz" |
| 59 |
}, |
| 60 |
"directories": {} |
| 61 |
}, |
| 62 |
"1.1.0": { |
| 63 |
"name": "unique-filename", |
| 64 |
"version": "1.1.0", |
| 65 |
"description": "Generate a unique filename for use in temporary directories or caches.", |
| 66 |
"main": "index.js", |
| 67 |
"scripts": { |
| 68 |
"test": "standard && tap test" |
| 69 |
}, |
| 70 |
"repository": { |
| 71 |
"type": "git", |
| 72 |
"url": "git+https://github.com/iarna/unique-filename.git" |
| 73 |
}, |
| 74 |
"keywords": [], |
| 75 |
"author": { |
| 76 |
"name": "Rebecca Turner", |
| 77 |
"email": "[email protected]", |
| 78 |
"url": "http://re-becca.org/" |
| 79 |
}, |
| 80 |
"license": "ISC", |
| 81 |
"bugs": { |
| 82 |
"url": "https://github.com/iarna/unique-filename/issues" |
| 83 |
}, |
| 84 |
"homepage": "https://github.com/iarna/unique-filename", |
| 85 |
"devDependencies": { |
| 86 |
"standard": "^5.4.1", |
| 87 |
"tap": "^2.3.1" |
| 88 |
}, |
| 89 |
"dependencies": { |
| 90 |
"unique-slug": "^2.0.0" |
| 91 |
}, |
| 92 |
"gitHead": "cb31644c71f842258a8019e0e6ef8f2b8533a5c0", |
| 93 |
"_id": "[email protected]", |
| 94 |
"_shasum": "d05f2fe4032560871f30e93cbe735eea201514f3", |
| 95 |
"_from": ".", |
| 96 |
"_npmVersion": "2.14.13", |
| 97 |
"_nodeVersion": "4.2.2", |
| 98 |
"_npmUser": { |
| 99 |
"name": "iarna", |
| 100 |
"email": "[email protected]" |
| 101 |
}, |
| 102 |
"dist": { |
| 103 |
"shasum": "d05f2fe4032560871f30e93cbe735eea201514f3", |
| 104 |
"tarball": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz" |
| 105 |
}, |
| 106 |
"maintainers": [ |
| 107 |
{ |
| 108 |
"name": "iarna", |
| 109 |
"email": "[email protected]" |
| 110 |
} |
| 111 |
], |
| 112 |
"directories": {} |
| 113 |
}, |
| 114 |
"1.1.1": { |
| 115 |
"name": "unique-filename", |
| 116 |
"version": "1.1.1", |
| 117 |
"description": "Generate a unique filename for use in temporary directories or caches.", |
| 118 |
"main": "index.js", |
| 119 |
"scripts": { |
| 120 |
"test": "standard && tap test" |
| 121 |
}, |
| 122 |
"repository": { |
| 123 |
"type": "git", |
| 124 |
"url": "git+https://github.com/iarna/unique-filename.git" |
| 125 |
}, |
| 126 |
"keywords": [], |
| 127 |
"author": { |
| 128 |
"name": "Rebecca Turner", |
| 129 |
"email": "[email protected]", |
| 130 |
"url": "http://re-becca.org/" |
| 131 |
}, |
| 132 |
"license": "ISC", |
| 133 |
"bugs": { |
| 134 |
"url": "https://github.com/iarna/unique-filename/issues" |
| 135 |
}, |
| 136 |
"homepage": "https://github.com/iarna/unique-filename", |
| 137 |
"devDependencies": { |
| 138 |
"standard": "^5.4.1", |
| 139 |
"tap": "^2.3.1" |
| 140 |
}, |
| 141 |
"dependencies": { |
| 142 |
"unique-slug": "^2.0.0" |
| 143 |
}, |
| 144 |
"gitHead": "3653bb94c8ae4497636f0767e0a35eb442b27d9f", |
| 145 |
"_id": "[email protected]", |
| 146 |
"_npmVersion": "6.4.1", |
| 147 |
"_nodeVersion": "10.10.0", |
| 148 |
"_npmUser": { |
| 149 |
"name": "iarna", |
| 150 |
"email": "[email protected]" |
| 151 |
}, |
| 152 |
"dist": { |
| 153 |
"integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", |
| 154 |
"shasum": "1d69769369ada0583103a1e6ae87681b56573230", |
| 155 |
"tarball": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", |
| 156 |
"fileCount": 15, |
| 157 |
"unpackedSize": 41421, |
| 158 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo83nCRA9TVsSAnZWagAAGUIP/RHKLBFB/61Nc2H7LVQj\n6aGrKRjQ+ZkQCGQODloPtfU8nQ94IJ7ZaD1ArcdDWu6oP2k5xJFsDKd/zxyQ\nPMPuAwkNDVZ4ndmRbKJ2Fzxq8B4eN20Q7t9PyvHWS2x8WOE1zzeLwDeBZI1f\nK8EUaTcaAj5du6TKUbnqVzqi5K2deWovlvDBPbFMqm84nO07Zbu50t0wHqDi\nIja76zlA8o2UiY2X4I044h8dV3n7wLF/yJoj7DPgcr+jrHY2R4BP/zMyjkZh\nRHiB+50TCHXUuvfnxmeoVNhAqnrUGVw4FE1NBRgVqgl1SX5KKhZO0XRRVMAN\nCN1dxQOoXFnLT4TZp8jgCQdtRkrTH/Um4Alz0gOPf39KTU96DFm+XmoTJGKK\nI2p7GsnC8zroAktlpXSuEJZp8sG9+35k9kdda/pQO8GjVPPUsA2E4US4iIpU\nAQUptUfNLIYHzYADJqEriiWjw4/ZH2spyvq4e4jPReQWq/P3flhqv+CPYrX2\n/hGTtopd5TfEwYAUxtMUZKXBh3RNnFr6Q2NPnUD+gddSyEdee+6nheaB9B7e\nYJaPyQ8/noK8NaWNUTnLV3/pkjT9BpDHduEvL0uGvc5jkH/DSPYGqSE0D6+s\n5xNHocG6mKADtl2qTXVEwoqZldEPc7x5trUxukSSJGGREImNwGgN1/faKeEj\nUHiH\r\n=/EXC\r\n-----END PGP SIGNATURE-----\r\n" |
| 159 |
}, |
| 160 |
"maintainers": [ |
| 161 |
{ |
| 162 |
"name": "iarna", |
| 163 |
"email": "[email protected]" |
| 164 |
} |
| 165 |
], |
| 166 |
"directories": {}, |
| 167 |
"_npmOperationalInternal": { |
| 168 |
"host": "s3://npm-registry-packages", |
| 169 |
"tmp": "tmp/unique-filename_1.1.1_1537461734124_0.8229183281578927" |
| 170 |
}, |
| 171 |
"_hasShrinkwrap": false |
| 172 |
} |
| 173 |
}, |
| 174 |
"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-7ddd44c0`\nor `dir/7ddd44c0`\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", |
| 175 |
"maintainers": [ |
| 176 |
{ |
| 177 |
"email": "[email protected]", |
| 178 |
"name": "nlf" |
| 179 |
}, |
| 180 |
{ |
| 181 |
"email": "[email protected]", |
| 182 |
"name": "ruyadorno" |
| 183 |
}, |
| 184 |
{ |
| 185 |
"email": "[email protected]", |
| 186 |
"name": "darcyclarke" |
| 187 |
}, |
| 188 |
{ |
| 189 |
"email": "[email protected]", |
| 190 |
"name": "isaacs" |
| 191 |
} |
| 192 |
], |
| 193 |
"time": { |
| 194 |
"modified": "2020-10-19T13:51:11.820Z", |
| 195 |
"created": "2015-05-07T23:12:09.667Z", |
| 196 |
"1.0.0": "2015-05-07T23:12:09.667Z", |
| 197 |
"1.1.0": "2015-12-03T23:00:37.437Z", |
| 198 |
"1.1.1": "2018-09-20T16:42:14.396Z" |
| 199 |
}, |
| 200 |
"homepage": "https://github.com/iarna/unique-filename", |
| 201 |
"keywords": [], |
| 202 |
"repository": { |
| 203 |
"type": "git", |
| 204 |
"url": "git+https://github.com/iarna/unique-filename.git" |
| 205 |
}, |
| 206 |
"author": { |
| 207 |
"name": "Rebecca Turner", |
| 208 |
"email": "[email protected]", |
| 209 |
"url": "http://re-becca.org/" |
| 210 |
}, |
| 211 |
"bugs": { |
| 212 |
"url": "https://github.com/iarna/unique-filename/issues" |
| 213 |
}, |
| 214 |
"license": "ISC", |
| 215 |
"readmeFilename": "README.md", |
| 216 |
"users": { |
| 217 |
"mattmcfarland": true, |
| 218 |
"iarna": true, |
| 219 |
"shiva127": true |
| 220 |
} |
| 221 |
} |