K
K
knocker832017-07-18 18:11:07
npm
knocker83, 2017-07-18 18:11:07

How to download directly from github in npm?

I need a library with github in the project, for example here https://github.com/tgomilar/paroller.js/
but it is not available on npm, and dependencies are needed in the project.
How to download directly from github in npm?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2017-07-18
@knocker83

In general, this is done like this:
But this library is not specifically installed. Most likely due to the lack of package.json.
There are several options. You can:

  • just copy the code to yourself - there are only 150 lines of code along with css, and the last commit was in March.
  • clone it into your project as a submodule.
  • install it via bower .
  • fork it, make a package.json and install from your fork.
  • fork it, make a package.json and offer the author your changes.
  • use another library. This, after all, is not the operating system of the lunar rover - there are a lot of parallax plug-ins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question