Socket
Socket
Sign inDemoInstall

global-prefix

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

global-prefix - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

index.js

@@ -21,3 +21,3 @@ /*!

prefix = process.env.PREFIX;
} else if (isWindows()) {
} else if (isWindows === true || isWindows()) {
// c:\node\node.exe --> prefix=c:\node\

@@ -24,0 +24,0 @@ prefix = path.dirname(process.execPath);

{
"name": "global-prefix",
"description": "Get the npm global path prefix.",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/jonschlinkert/global-prefix",

@@ -22,9 +22,9 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

},
"devDependencies": {
"mocha": "*",
"should": "*"
},
"dependencies": {
"is-windows": "^0.1.0"
},
"devDependencies": {
"gulp-format-md": "^0.1.7",
"mocha": "*"
},
"keywords": [

@@ -40,6 +40,24 @@ "global",

"verb": {
"run": true,
"toc": false,
"layout": "nil",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {
"list": ["global-modules", "global-paths"]
"list": [
"global-modules",
"global-paths"
]
},
"reflinks": [
"verb"
],
"lint": {
"reflinks": true
}
}
}

@@ -1,9 +0,11 @@

# global-prefix [![NPM version](https://badge.fury.io/js/global-prefix.svg)](http://badge.fury.io/js/global-prefix) [![Build Status](https://travis-ci.org/jonschlinkert/global-prefix.svg)](https://travis-ci.org/jonschlinkert/global-prefix)
# global-prefix [![NPM version](https://img.shields.io/npm/v/global-prefix.svg)](https://www.npmjs.com/package/global-prefix) [![Build Status](https://img.shields.io/travis/jonschlinkert/global-prefix.svg)](https://travis-ci.org/jonschlinkert/global-prefix)
> Get the npm global path prefix.
Install with [npm](https://www.npmjs.com/)
## Install
Install with [npm](https://www.npmjs.com/):
```sh
$ npm i global-prefix --save
$ npm install global-prefix --save
```

@@ -22,4 +24,4 @@

* [global-modules](https://github.com/jonschlinkert/global-modules): The directory used by npm for globally installed npm modules.
* [global-paths](https://github.com/jonschlinkert/global-paths): Returns an array of unique "global" directories based on the user's platform and environment. The… [more](https://github.com/jonschlinkert/global-paths)
* [global-modules](https://www.npmjs.com/package/global-modules): The directory used by npm for globally installed npm modules. | [homepage](https://github.com/jonschlinkert/global-modules)
* [global-paths](https://www.npmjs.com/package/global-paths): Returns an array of unique "global" directories based on the user's platform and environment. The… [more](https://www.npmjs.com/package/global-paths) | [homepage](https://github.com/jonschlinkert/global-paths)

@@ -31,3 +33,3 @@ ## Running tests

```sh
$ npm i -d && npm test
$ npm install -d && npm test
```

@@ -37,3 +39,3 @@

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/global-prefix/issues/new)
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/global-prefix/issues/new).

@@ -44,13 +46,13 @@ ## Authors

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright © 2015 Jon Schlinkert
Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
[Copyright (c) npm, Inc. and Contributors](https://github.com/npm/npm/blob/master/LICENSE)
Released under the MIT license.
Released under the [MIT license](https://github.com/jonschlinkert/global-prefix/blob/master/LICENSE).
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 16, 2015._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 13, 2016._

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc