node.jsnpmpackage.json

What does "npm:" prefix in dependency section in package.json mean?


I am wondering what does that mean:

"dependencies": {
    "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.3.0",
}

What is that npm: prefix?


Solution

  • https://github.com/npm/cli/commit/b7b54f2d18e2d8d65ec67c850b21ae9f01c60e7e

    this commit introduced aliasing to npm cli