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 0.1.2 to 1.0.0

10

lib/home-path.js

@@ -12,5 +12,15 @@ "use strict";

@example
Mac OSX & Linux
```js
> var getHomePath = require("home-path");
> getHomePath()
'/Users/Lloyd'
```
Windows 8.1
```js
> var getHomePath = require("home-path");
> getHomePath()
'\\Users\\Lloyd'
```
*/

@@ -17,0 +27,0 @@ function getHomePath() {

2

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

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

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

**Example**
Mac OSX & Linux
```js

@@ -21,4 +22,11 @@ > var getHomePath = require("home-path");

Windows 8.1
```js
> var getHomePath = require("home-path");
> getHomePath()
'\\Users\\Lloyd'
```
* * *
&copy; 2015 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
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