Socket
Socket
Sign inDemoInstall

home-path

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

5

lib/home-path.js

@@ -5,3 +5,6 @@ 'use strict'

/**
* Cross-platform home directory retriever, tested on Windows XP and above, Mac OSX and Linux. Will use the built-in [`os.homedir`](https://nodejs.org/api/os.html#os_os_homedir) if available.
* 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

@@ -8,0 +11,0 @@ * @example

2

package.json
{
"name": "home-path",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "1.0.2",
"version": "1.0.3",
"description": "Cross-platform home directory retriever",

@@ -6,0 +6,0 @@ "repository": "https://github.com/75lb/home-path.git",

@@ -9,4 +9,6 @@ [![view on npm](http://img.shields.io/npm/v/home-path.svg)](https://www.npmjs.org/package/home-path)

## home-path
Cross-platform home directory retriever, tested on Windows XP and above, Mac OSX and Linux. Will use the built-in [`os.homedir`](https://nodejs.org/api/os.html#os_os_homedir) if available.
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**

@@ -40,2 +42,2 @@ ```js

&copy; 2015 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
&copy; 2015-16 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc