Better Programming

Advice for programmers.

Follow publication

Member-only story

Exploring New Features in npm 9

Changes in config, timing, loglevel, login, addUser, query, pack, access, and install, along with removals

Jennifer Fu
Better Programming
Published in
8 min readNov 8, 2022
Photo by Glenn Carstens-Peters on Unsplash

Introduction

npm is the package manager for the node.js JavaScript platform. It puts modules in place (node_modules) so that the node can find them. It also manages dependency conflicts intelligently.

npm is configurable to support a variety of use cases to publish, discover, install, and develop node programs. It has a list of powerful commands.

npm 9 was released on October 19, 2022. The goal for this major release was to standardize appropriate defaults and clean up legacy configurations where possible.

Here is the command to install npm 9:

% npm install -g npm@9

After the installation, npm is at version 9.0.1.

% npm --version
9.0.1

This is the help manual:

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

No responses yet

Write a response