0

Any tricks to install multiple versions of the same node package

npm install package@1.0.0

npm install package@2.0.0

and later access them by different imports

import package1 from "package@1:0:0"
import package2 from "package@2:0:0"

1 Answers1

0

No. It will simply update the version that you're already have.

Ivan Aracki
  • 4,861
  • 11
  • 59
  • 73
Tanixq
  • 1
  • 4