Discussion NodeJS

Fetching modules directly from git repository

Sometimes we need to fetch some modules directly from git repository like we install npm modules.
For example, we need to use npm modules but with some modifications.
In that case, we can fork or clone those repositories into our personal github and fetch it directly using url.
The command is npm install git+<git repository url of the module>
For example npm install git+https://github.com/redux-saga/redux-saga.git (edited)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *