Alias an NPM Package with `yarn add`
Ever needed to install a package under an alias? Or maybe you need to install 2 versions of the same dependency.
You can handle this on install with yarn:
yarn add email@example.com yarn add react-select-next@npm:react-select@next
Now you can import your aliased dependency with:
import Select from 'react-select-next'