Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-npmrc

Package Overview
Dependencies
Maintainers
20
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-npmrc

Fetches the token from remote service and creates local npmrc

  • 2.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
878
decreased by-15.33%
Maintainers
20
Weekly downloads
 
Created
Source

create-npmrc

This is a client module that communicates with the server and creates .npmrc in your local project. Using generated .npmrc file allows installation of scoped npm packages.

yarn add create-npmrc

or

npm install create-npmrc --save

Add this row to your project's package.json to automatically obtain .npmrc

"scripts": {
  "preinstall": "URL={server end point} create-npmrc"
},

ENV variables:

URL      # required variable
REGISTRY # default: registry.npmjs.org

FAQs

Package last updated on 27 Jan 2018

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