DEV Community

Cover image for Node - Setting a custom npm server
Flavio Campelo
Flavio Campelo

Posted on

Node - Setting a custom npm server

📮 Contact 🇧🇷 🇺🇸 🇫🇷

Twitter
LinkedIn


Setting a custom npm server

You can execute these commands npm config

npm config set registry https://mySite.com/private/repo-npm

npm config set strict-ssl false
Enter fullscreen mode Exit fullscreen mode

or you can edit the file %userprofile%\.npmrc manually to change per-user config npmrc docs

registry=https://mySite.com/private/repo-npm

strict-ssl=false
Enter fullscreen mode Exit fullscreen mode

Typos or suggestions?

If you've found a typo, a sentence that could be improved or anything else that should be updated on this blog post, you can access it through a git repository and make a pull request. If you feel comfortable with github, instead of posting a comment, please go directly to https://github.com/campelo/documentation and open a new pull request with your changes.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs