0.0.7 • Published 7 years ago

baxterize v0.0.7

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

baxterize

A really pointless Node JS library to expand strings and numbers into expanded "phonetic" equivalents, and accept its own output back. It also read the output aloud for some reason. Its a really, really useless little chunk of code.

Installation

npm install baxterize

Usage

var Baxterize = require('baxterize');
var baxter = new Baxterize();
const pointless = baxter.expand('wellthisispointless');
> 'double-u-eee-ell-ell-tea-aitch-eye-ess-eye-ess-pea-oh-eye-enn-tea-ell-eee-ess-ess'
baxter.contract(pointless)
> 'wellthisispointless'

Options

NametypeUse
speakboolWill attempt to read aloud the result of any contract or expand request
writeboolWill attempt to write out the a wav output of any contract or expand request. This is written out in project root.
typestringThis allows for a few different types of translating. Supported types are alpha, phonetic, bin and hex (yes, this is rather stupid when it could be accomplished by a single map)
mapobjectthis allows you to specify how the input should be transformed. This is a simple key/value pair
0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago