UNPKG

text2braille

Version:

A small library to convert text to braille notation.

28 lines (14 loc) 814 B
[![Build Status](https://travis-ci.org/bluewhale1010/text2braille.svg?branch=master)](https://travis-ci.org/bluewhale1010/text2braille) [![Coverage Status](https://coveralls.io/repos/github/bluewhale1010/text2braille/badge.svg?branch=master)](https://coveralls.io/github/bluewhale1010/text2braille?branch=master) Text 2 Braille ========= A small library to convert text to braille notation. ## Installation `npm install @shaaslam/text2braille ## Usage var toBraille = require('@shaaslam/text2braille'); var braille = toBraille('2944B'); Output should be `⠼⠃⠼⠊⠼⠙⠼⠙⠠⠃` ## Tests `npm test` ## Contributing In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.