Add different versions of the same package

15 de jul. de 2023

Add the same dependency but with different version

{
  // directly in package json
  "dependencies": {
    "express": "4.18.2",
    "express-3": "npm:[email protected]"
  }
}
# via package namager
pnpm add npm:[email protected]