2.0.1 • Published 2 years ago
node.nato-phonetics.lib v2.0.1
node.nato-phonetics.lib
Library for nato phonetics alphabet
Installation
npm i node.nato-phonetics.lib
TypeScript
Usage
// import {char2word, word2words } from "./index"; // locally
import {char2word, word2words } from "node.nato-phonetics.lib";
console.log(char2word('a')) // 'alpha'
console.log(word2words('bbc')) // ['bravo', 'bravo', 'charlie']
JavaScript
// const {char2word, word2words} = require('./src/index');
const {char2word, word2words} = require('node.nato-phonetis.lib');
///... rest is same
License
MIT
- © Anubhav