Skip to content

Nonemoticoner/braille

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING! master is currently a temporary development branch

braille

A Node module for converting text to Braille alphabet.

Installation

$ npm install braille

How to use

Very simple in use with text (string) as argument:

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.

License

MIT