vcard
vcard copied to clipboard
ReferenceError: Can't find variable: module
I am trying to use this module in the browser I have added it to my page directly using:
<script src="node_modules/vcard-parser/lib/vcard.js"></script>
However this then generates the error:
ReferenceError: Can't find variable: module
It seems this expects to be run in a node environment. Do you have guidance on how to use this module in the browser? Thanks.