Help with using an npm package in a node-red function

Ok, I'm trying to use an NPM package in a node-red function, but struggling to get it working.

The package in question is "phonetic-alphabet-converter".

Any help appreciated

Starts by reading the following:

https://nodered.org/docs/user-guide/writing-functions#using-the-functionexternalmodules-option

1 Like

What have you tried? You might want to share an example flow.

Thanks, got it working now.

I'm using frigate to trigger a flow when a car enters the driveway and fire an alexa notification. Pass that to another flow to read the licence plate and send it to a couple of AWTRIX displays. Lastly convert the registration to the phonetic alphabet and read that aloud.