Last active
September 2, 2020 00:50
-
-
Save miguelmota/e4137c9ed503af2aa8f6d9d5180af3a4 to your computer and use it in GitHub Desktop.
NPM install multiple versions of same package example (ethers)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as ethers from 'ethers' // v4 | |
import * as ethers5 from 'ethers5' // v5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm i ethers@4 | |
npm i ethers5@npm:ethers@5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment