"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/unique-filename/package.json" (31 May 2018, 3360 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "_args": [
    3     [
    4       "unique-filename@^1.1.0",
    5       "/Users/ogd/Documents/projects/npm/npm"
    6     ]
    7   ],
    8   "_from": "unique-filename@>=1.1.0 <2.0.0",
    9   "_id": "unique-filename@1.1.0",
   10   "_inBundle": true,
   11   "_inCache": true,
   12   "_installable": true,
   13   "_location": "/unique-filename",
   14   "_nodeVersion": "4.2.2",
   15   "_npmUser": {
   16     "email": "me@re-becca.org",
   17     "name": "iarna"
   18   },
   19   "_npmVersion": "2.14.13",
   20   "_phantomChildren": {},
   21   "_requested": {
   22     "name": "unique-filename",
   23     "raw": "unique-filename@^1.1.0",
   24     "rawSpec": "^1.1.0",
   25     "scope": null,
   26     "spec": ">=1.1.0 <2.0.0",
   27     "type": "range"
   28   },
   29   "_requiredBy": [
   30     "/npm"
   31   ],
   32   "_resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz",
   33   "_shasum": "d05f2fe4032560871f30e93cbe735eea201514f3",
   34   "_shrinkwrap": null,
   35   "_spec": "unique-filename@^1.1.0",
   36   "_where": "/Users/ogd/Documents/projects/npm/npm",
   37   "author": {
   38     "name": "Rebecca Turner",
   39     "email": "me@re-becca.org",
   40     "url": "http://re-becca.org/"
   41   },
   42   "bugs": {
   43     "url": "https://github.com/iarna/unique-filename/issues"
   44   },
   45   "dependencies": {
   46     "unique-slug": "^2.0.0"
   47   },
   48   "description": "Generate a unique filename for use in temporary directories or caches.",
   49   "devDependencies": {
   50     "standard": "^5.4.1",
   51     "tap": "^2.3.1"
   52   },
   53   "directories": {},
   54   "dist": {
   55     "shasum": "d05f2fe4032560871f30e93cbe735eea201514f3",
   56     "tarball": "http://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz"
   57   },
   58   "gitHead": "cb31644c71f842258a8019e0e6ef8f2b8533a5c0",
   59   "homepage": "https://github.com/iarna/unique-filename",
   60   "keywords": [],
   61   "license": "ISC",
   62   "main": "index.js",
   63   "maintainers": [
   64     {
   65       "name": "iarna",
   66       "email": "me@re-becca.org"
   67     }
   68   ],
   69   "name": "unique-filename",
   70   "optionalDependencies": {},
   71   "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",
   72   "readmeFilename": "README.md",
   73   "repository": {
   74     "type": "git",
   75     "url": "git+https://github.com/iarna/unique-filename.git"
   76   },
   77   "scripts": {
   78     "test": "standard && tap test"
   79   },
   80   "version": "1.1.0"
   81 }