H
H
Hanry6542021-02-08 13:23:58
JavaScript
Hanry654, 2021-02-08 13:23:58

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

1 answer(s)
A
Alexander, 2021-02-08
@Aleksandr-JS-Developer

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 question

Ask a Question

731 491 924 answers to any question