New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

get-installed-path

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-installed-path - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

CHANGELOG.md
## v1.0.2 / May 6, 2015
- Release v1.0.2 / npm@v1.0.2
- standard style for the example usage
- plus some tweaks
## v1.0.1 / May 6, 2015

@@ -4,0 +9,0 @@ - Release v1.0.1 / npm@v1.0.1

2

package.json
{
"name": "get-installed-path",
"version": "1.0.1",
"version": "1.0.2",
"description": "Get the installation path of the given package if it is installed globally or locally.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -7,3 +7,3 @@ ## [![npm][npmjs-img]][npmjs-url] [![standard style][standard-img]][standard-url] [![build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![deps status][daviddm-img]][daviddm-url]

```
npm i --save get-installed-path
npm i get-installed-path --save
npm test

@@ -17,9 +17,9 @@ ```

```js
var getInstalledPath = require('get-installed-path');
var getInstalledPath = require('get-installed-path')
getInstalledPath('npm');
getInstalledPath('npm')
//=> '/home/charlike/path/to/global/modules/node_modules/npm'
getInstalledPath('detect-installed', true);
//=> '/home/path/to/get-installed-path/node_modules/detect-installed'
getInstalledPath('detect-installed', true)
//=> '/home/path/to/cwd/node_modules/detect-installed'
```

@@ -34,3 +34,3 @@ > give `true` as second argument and it will check in local modules

- [is-match](https://github.com/jonschlinkert/is-match): Create a matching function from a glob pattern, regex, string,… [more](https://github.com/jonschlinkert/is-match)
- [npm-related](https://github.com/tunnckoCore/npm-related#readme): Thin wrapper on top of `helper-related` for generating a list… [more](https://github.com/tunnckoCore/npm-related#readme)
- [npm-related](https://github.com/tunnckoCore/npm-related): Thin wrapper on top of `helper-related` for generating a list… [more](https://github.com/tunnckoCore/npm-related)
- [npm-pkgs-filter](https://github.com/tunnckoCore/npm-pkgs-filter): Filter the list of user npm packages from the [npmjs.com](https://npmjs.com)… [more](https://github.com/tunnckoCore/npm-pkgs-filter)

@@ -37,0 +37,0 @@

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