canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS and CSS.
81 lines (80 loc) • 2.78 kB
JSON
{
"_args": [
[
"user-home@https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
"/Users/gajus/Documents/dev/canonical-code-style/canonical"
]
],
"_from": "user-home@>=2.0.0 <3.0.0",
"_id": "user-home@2.0.0",
"_inCache": true,
"_location": "/user-home",
"_phantomChildren": {},
"_requested": {
"name": "user-home",
"raw": "user-home@https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
"rawSpec": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/eslint"
],
"_resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
"_shasum": "9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f",
"_shrinkwrap": null,
"_spec": "user-home@https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
"_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/user-home/issues"
},
"dependencies": {
"os-homedir": "^1.0.0"
},
"description": "Get the path to the user home directory",
"devDependencies": {
"ava": "0.0.4",
"path-exists": "^1.0.0"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/user-home#readme",
"keywords": [
"dir",
"directory",
"env",
"environment",
"folder",
"home",
"homedir",
"os-homedir",
"path",
"user",
"userprofile",
"variables",
"vars"
],
"license": "MIT",
"name": "user-home",
"optionalDependencies": {},
"readme": "# user-home [](https://travis-ci.org/sindresorhus/user-home)\n\n> Get the path to the user home directory\n\n\n## Install\n\n```\n$ npm install --save user-home\n```\n\n\n## Usage\n\n```js\nvar userHome = require('user-home');\n\nconsole.log(userHome);\n//=> '/Users/sindresorhus'\n```\n\nReturns `null` in the unlikely scenario that the home directory can't be found.\n\n\n## Related\n\n- [user-home-cli](https://github.com/sindresorhus/user-home-cli) - CLI for this module\n- [home-or-tmp](https://github.com/sindresorhus/home-or-tmp) - Get the user home directory with fallback to the system temp directory\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/user-home.git"
},
"scripts": {
"test": "node test.js"
},
"version": "2.0.0"
}