braille
Version:
A Node module for converting text to Braille alphabet.
22 lines (16 loc) • 497 B
Markdown
A Node module for converting text to Braille alphabet.
```bash
$ npm install braille
```
Very simple in use with text (string) as argument:
```js
var br = require('braille');
var code = br.toBraille('EXAMPLE TEXT 123'); // ⠑⠭⠁⠍⠏⠇⠑⠀⠞⠑⠭⠞⠀⠂⠆⠒
var text = br.toText('⠁⠝⠕⠞⠓⠑⠗⠀⠺⠕⠗⠙'); // ANOTHER WORD
```
Currently only six dot Braille notation is supported.
MIT