
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
phonetic-alpha
Advanced tools
A Node module that produces phonetic text based on nato, western or morse words
This is an npm package
A simple node module to convert a string of characters to a list of words
Usage Installation To install run npm install phonetic-alpha
To use:
var x = require('phonetic-alpha');
…
console.log(x.expand('abc'));
// will return
// 'Alpha, Bravo, Charlie'
console.dir(x.list('abc'));
// will return:
[ { index: 0, character: 'a', word: 'Alpha' },
{ index: 1, character: 'b', word: 'Bravo' },
{ index: 2, character: 'c', word: 'Charlie' } ]
The expand & list functions also support three phonetic alphabets, including nato : Nato Phonetic Alphabet (default set if not specified) west : Western Phonetic Alphabet morse: Morse Code Alphabet
Here is an example of display of SOS morse code:
var x = require('phonetic-alpha');
console.log( x.expand('sos', 'morse') );
Output: . . . - - - . . .
FAQs
A Node module that produces phonetic text based on nato, western or morse words
We found that phonetic-alpha demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.