@Robin - let me clarify, as of post #12 no error is reported on the Send to Espruino, however nothing appears on the NFC reader either. After clicking send in the WebIDE, the following is reported:
Found PUCKJS, 2v04
Connected to Web Bluetooth, Puck.js xxxx
No errors in NFCvCard. Minified 2877 bytes to 634 bytes.
So, I presume the original code module from post #1 is working then?
...not that I can confirm using the same NFC Reader app as post #1.
Is the module 'NFCTag.js' also used locally, and physically there as implied in post #12 ?
No. However internally NFCvCard has the
require("NFCTag").create(); inside, which per the module documentation should load.
To replicate what I am doing in its entirety, download the NFCvCard.js locally to your modules folder, paste the following code in your editor, and upload.
var tag = require("NFCvCard").create("BEGIN:VCARD\n"+
Once the upload completes, attempt to verify the values with the NFC reader.