H
H
hbrmdc2016-05-06 06:32:29
npm
hbrmdc, 2016-05-06 06:32:29

How to change npm package?

There is a small open-source npm module not developed by me. I need its penultimate version but with a small modification of my own. I need this slightly modified version to be used when deploying a web application.
What is the best way to do this?
1. `npm install` all packages on the local machine and deploy with them without `npm install` before production
2. Fork the turnip of the required module, make changes, roll it out as a new npm module
3. How else?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rakro, 2016-05-06
@hbrmdc

fork, but not roll out as a new module, and in package.json specify a link to github

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question