I am struggling to get the zxcvbn library to work while developing a chrome web extension. I am new to js and my current goal is to output the strength of the password entered into the password field of a website.
I have tried implementing the library on my own local web page and it works fine, however without an html page, I am not sure where to add:
<script type="text/javascript" src="D:\webpagezxcvbn\node_modules\zxcvbn\dist\zxcvbn.js"></script>
or the equivalent.
I have also tried using jsdelivr but this is also using html and I don't know how to get this to run so that within my js file, the library is recognised?