Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 942 Bytes

README.md

File metadata and controls

35 lines (19 loc) · 942 Bytes

celularspeak

Unit tests codecov

Convert text into numpad of old cellphones.

Hello world 🔁 44.33.555.555.666.0.9.666.777.555.3

image showing a cellphone numeric pad with numbers from 1 to 9

Website

NPM Package

NPM

import { textToPhoneSpeak, phoneSpeakToText } from 'celularspeak'

textToPhoneSpeak('hello world')
// "44.33.555.555.666.0.9.666.777.555.3"

phoneSpeakToText('44.33.555.555.666.0.9.666.777.555.3')
// "hello world"

Running tests

npm test