Answer the question
In order to leave comments, you need to log in
How to download a library from npm and connect it to a regular html\js file?
https://www.npmjs.com/package/html-to-image
You need to connect to html and use it in another js file
Answer the question
In order to leave comments, you need to log in
For convenient work with libraries, you need a bundler (webpack, gulp).
But if you do not want to include builders, then the package (library) page on the npm site should, in theory, have a README file that indicates how to include the package in all available ways.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question