diff options
Diffstat (limited to 'node_modules/home-path')
| -rw-r--r-- | node_modules/home-path/.npmignore | 2 | ||||
| -rw-r--r-- | node_modules/home-path/.travis.yml | 9 | ||||
| -rw-r--r-- | node_modules/home-path/LICENSE | 21 | ||||
| -rw-r--r-- | node_modules/home-path/README.md | 43 | ||||
| -rw-r--r-- | node_modules/home-path/jsdoc2md/README.hbs | 11 | ||||
| -rw-r--r-- | node_modules/home-path/lib/home-path.js | 42 | ||||
| -rw-r--r-- | node_modules/home-path/package.json | 58 | ||||
| -rw-r--r-- | node_modules/home-path/test/test.js | 7 |
8 files changed, 0 insertions, 193 deletions
diff --git a/node_modules/home-path/.npmignore b/node_modules/home-path/.npmignore deleted file mode 100644 index 713862c..0000000 --- a/node_modules/home-path/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -tmp -out diff --git a/node_modules/home-path/.travis.yml b/node_modules/home-path/.travis.yml deleted file mode 100644 index dd1dde1..0000000 --- a/node_modules/home-path/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: node_js -node_js: - - 7 - - 6 - - '5' - - '4' - - 'iojs' - - '0.12' - - '0.10' diff --git a/node_modules/home-path/LICENSE b/node_modules/home-path/LICENSE deleted file mode 100644 index a8f6b97..0000000 --- a/node_modules/home-path/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-17 Lloyd Brookes <[email protected]> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/home-path/README.md b/node_modules/home-path/README.md deleted file mode 100644 index 71282d0..0000000 --- a/node_modules/home-path/README.md +++ /dev/null @@ -1,43 +0,0 @@ -[](https://www.npmjs.org/package/home-path) -[](https://www.npmjs.org/package/home-path) -[](https://travis-ci.org/75lb/home-path) -[](https://david-dm.org/75lb/home-path) -[](https://github.com/feross/standard) - -<a name="module_home-path"></a> - -# home-path -Cross-platform home directory retriever, tested on Windows XP and above, Mac OSX and Linux. - -With node versions 2.3.0 (iojs) or higher, the built-in [`os.homedir`](https://nodejs.org/api/os.html#os_os_homedir) method is used. - -**Example** -```js -var getHomePath = require('home-path') -``` -<a name="exp_module_home-path--getHomePath"></a> - -## getHomePath() ⏏ -**Kind**: Exported function -**Example** -Mac OSX -```js -> getHomePath() -'/Users/Lloyd' -``` - -Ubuntu Linux -```js -> getHomePath() -'/home/lloyd' -``` - -Windows 8.1 -```js -> getHomePath() -'C:\\Users\\Lloyd' -``` - -* * * - -© 2015-17 Lloyd Brookes \<[email protected]\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown). diff --git a/node_modules/home-path/jsdoc2md/README.hbs b/node_modules/home-path/jsdoc2md/README.hbs deleted file mode 100644 index 67dff42..0000000 --- a/node_modules/home-path/jsdoc2md/README.hbs +++ /dev/null @@ -1,11 +0,0 @@ -[](https://www.npmjs.org/package/home-path) -[](https://www.npmjs.org/package/home-path) -[](https://travis-ci.org/75lb/home-path) -[](https://david-dm.org/75lb/home-path) -[](https://github.com/feross/standard) - -{{>main}} - -* * * - -© 2015-17 Lloyd Brookes \<[email protected]\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown). diff --git a/node_modules/home-path/lib/home-path.js b/node_modules/home-path/lib/home-path.js deleted file mode 100644 index bff9e98..0000000 --- a/node_modules/home-path/lib/home-path.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict' -var os = require('os') - -/** -* Cross-platform home directory retriever, tested on Windows XP and above, Mac OSX and Linux. -* -* With node versions 2.3.0 (iojs) or higher, the built-in [`os.homedir`](https://nodejs.org/api/os.html#os_os_homedir) method is used. -* -* @module home-path -* @example -* var getHomePath = require('home-path') -*/ -module.exports = os.homedir ? os.homedir : getHomePath - -/** -* @alias module:home-path -* @example -* Mac OSX -* ```js -* > getHomePath() -* '/Users/Lloyd' -* ``` -* -* Ubuntu Linux -* ```js -* > getHomePath() -* '/home/lloyd' -* ``` -* -* Windows 8.1 -* ```js -* > getHomePath() -* 'C:\\Users\\Lloyd' -* ``` -*/ -function getHomePath () { - if (process.platform === 'win32') { - return process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || process.env.HOME - } else { - return process.env.HOME - } -} diff --git a/node_modules/home-path/package.json b/node_modules/home-path/package.json deleted file mode 100644 index 5a572bd..0000000 --- a/node_modules/home-path/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "_from": "home-path@^1.0.1", - "_id": "[email protected]", - "_inBundle": false, - "_integrity": "sha1-eIspgVsS1Tus9XVkhHbm+QQdEz8=", - "_location": "/home-path", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "home-path@^1.0.1", - "name": "home-path", - "escapedName": "home-path", - "rawSpec": "^1.0.1", - "saveSpec": null, - "fetchSpec": "^1.0.1" - }, - "_requiredBy": [ - "/electron-download" - ], - "_resolved": "https://registry.npmjs.org/home-path/-/home-path-1.0.5.tgz", - "_shasum": "788b29815b12d53bacf575648476e6f9041d133f", - "_spec": "home-path@^1.0.1", - "_where": "/Users/armanshah/Desktop/node-projects/shopping-list/node_modules/electron-download", - "author": { - "name": "Lloyd Brookes", - "email": "[email protected]" - }, - "bugs": { - "url": "https://github.com/75lb/home-path/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Cross-platform home directory retriever", - "devDependencies": { - "jsdoc-to-markdown": "^3.0.0", - "tape": "^4.6" - }, - "homepage": "https://github.com/75lb/home-path#readme", - "keywords": [ - "home", - "directory", - "folder", - "path" - ], - "license": "MIT", - "main": "./lib/home-path.js", - "name": "home-path", - "repository": { - "type": "git", - "url": "git+https://github.com/75lb/home-path.git" - }, - "scripts": { - "docs": "jsdoc2md --heading-depth 1 -t jsdoc2md/README.hbs lib/*.js > README.md; echo", - "test": "tape test/*.js" - }, - "version": "1.0.5" -} diff --git a/node_modules/home-path/test/test.js b/node_modules/home-path/test/test.js deleted file mode 100644 index a484c07..0000000 --- a/node_modules/home-path/test/test.js +++ /dev/null @@ -1,7 +0,0 @@ -var test = require('tape') -var getHomePath = require('../') - -test('returns string', function (t) { - t.equal(typeof getHomePath(), 'string') - t.end() -}) |