Socket
Socket
Sign inDemoInstall

npm-artifactory

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-artifactory

A proxy server that uses Artifactory to store npm modules for seamless integration with java/maven-based workflows


Version published
Maintainers
2
Created
Source

npm-artifactory

A proxy server that uses Artifactory as a data store for npm modules. Useful to seamlessly integrate node into your java/maven-based workflows.

  • offload network strain on npmjs.org to in-house artifactory
  • publish and consume your proprietary modules without major workarounds
  • snapshot/shrinkwrap your dependency versions so that OSS licenses are bundled in-house

Installation

npm install npm-artifactory

Usage

Run the server:

node app.js

Set your registry to point to the server (ie):

npm config set registry http://localhost:3000/

Use npm as you would:

npm publish
npm install your-private-module

Notes

Configure config.json before running (make sure the credentials to Artifactory are correct). The host and port are necessary for npm-artifactory to rewrite some urls to point to its instance instead of registry.npmjs.org. Make sure this these values are externally accessible (ie, provide your ip address instead of 'localhost').

You may optionally specify a proxy address in the config (ex. 'http://localhost:9999')

If you want to reset the registry back to the default, run: npm config set registry https://registry.npmjs.org

License

Apache License 2.0

Keywords

FAQs

Package last updated on 30 May 2014

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

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