Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

package-directory

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package-directory

Specify a custom installation directory for local package.json dependencies

Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
649K
0.13%
Maintainers
1
Weekly downloads
 
Created
Source

package-directory

Lets you configure the path where local dependencies are installed. In NPM, the default is node_modules. Behaves similar to the .bowerrc "directory" property. Compatible to POSIX-compliant system environments.

Installation

Install this package using NPM:

npm install package-directory --save

Configuration

Add a "directory" to your package.json configuration as follows:

{
  "directory": "dist/modules"
}

Node modules will be placed in dist/modules relative to your package root.

License

MIT © 2016 Filip Dalüge (see license)

FAQs

Package last updated on 19 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts