0

I created a.js file that utilizes the whoiser library: https://github.com/LayeredStudio/whoiser by calling

const whoiser = require('whoiser')

After I used npm install whoiser

There is a forked repo that fixes some issues, but hasn't been merged. My question is, how do I reference to the forked repo instead of this main one that has the fixes OR even better, download the main repo, make my own changes, and reference to my local copy instead? I am not using a package.json, not sure if I need to be for this? I just have one .js file that is currently using the require posted above.

I don't know where to start. Is it as easy as just adding the forked repo link to the require statement? That's where my head was going since I don't have a package.json or anything.

Helter RSS
  • 11
  • 2
  • 2
    Does this answer your question? [How to install an npm package from GitHub directly](https://stackoverflow.com/questions/17509669/how-to-install-an-npm-package-from-github-directly) – lusc Dec 30 '22 at 15:34

0 Answers0