108 lines
3.2 KiB
JSON
108 lines
3.2 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "home-or-tmp@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "home-or-tmp",
|
|
"name": "home-or-tmp",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-register"
|
|
]
|
|
],
|
|
"_from": "home-or-tmp@>=2.0.0 <3.0.0",
|
|
"_id": "home-or-tmp@2.0.0",
|
|
"_inCache": true,
|
|
"_location": "/home-or-tmp",
|
|
"_nodeVersion": "0.12.4",
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "2.10.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "home-or-tmp@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "home-or-tmp",
|
|
"name": "home-or-tmp",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-register"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
|
|
"_shasum": "e36c3f2d2cae7d746a857e38d18d5f32a7882db8",
|
|
"_shrinkwrap": null,
|
|
"_spec": "home-or-tmp@^2.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-register",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/home-or-tmp/issues"
|
|
},
|
|
"dependencies": {
|
|
"os-homedir": "^1.0.0",
|
|
"os-tmpdir": "^1.0.1"
|
|
},
|
|
"description": "Get the user home directory with fallback to the system temp directory",
|
|
"devDependencies": {
|
|
"ava": "0.0.4"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "e36c3f2d2cae7d746a857e38d18d5f32a7882db8",
|
|
"tarball": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "dd1411a0b2531a4e2c592ae733fd45dd0f9c7163",
|
|
"homepage": "https://github.com/sindresorhus/home-or-tmp#readme",
|
|
"keywords": [
|
|
"user",
|
|
"home",
|
|
"homedir",
|
|
"dir",
|
|
"directory",
|
|
"folder",
|
|
"path",
|
|
"tmp",
|
|
"temp",
|
|
"temporary",
|
|
"fallback",
|
|
"graceful",
|
|
"userprofile"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "home-or-tmp",
|
|
"optionalDependencies": {},
|
|
"readme": "# home-or-tmp [![Build Status](https://travis-ci.org/sindresorhus/home-or-tmp.svg?branch=master)](https://travis-ci.org/sindresorhus/home-or-tmp)\n\n> Get the user home directory with fallback to the system temp directory\n\nUseful in cases where the home directory either isn't set or doesn't exist.\n\n\n## Install\n\n```\n$ npm install --save home-or-tmp\n```\n\n\n## Usage\n\n```js\nvar homeOrTmp = require('home-or-tmp');\n\nconsole.log(homeOrTmp);\n//=> '/Users/sindresorhus'\n\n// and if there's no home directory:\n\nconsole.log(homeOrTmp);\n//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/home-or-tmp.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"version": "2.0.0"
|
|
}
|