dvorak
v0.0.4
Published
Convert qwerty to dvorak and vice versa
Downloads
19
Readme
dvorak
Convert between the Qwerty and Dvorak keyboard layout
Install
npm install dvorak
Usage
var dvorak = require('dvorak');
Example
> var dvorak = require('./index')
undefined
> dvorak.toQwerty('aoeu')
'asdf'
> dvorak.toDvorak('asdf')
'aoeu'
> dvorak.toDvorak('Gqm ktrglu sl a x,dokt vdtnsaoh a; gy gqm sl a h.soav patsfk')
'I\'m typing on a qwerty keyboard as if i\'m on a dvorak layout'
Tests
dave @ [ bahamas10 :: (Darwin) ] ~/dev/node-dvorak $ npm test
> [email protected] test /Users/dave/dev/node-dvorak
> node tests/test.js
Testing length
Testing conversion from "Dvorak Test" toQwerty
Testing conversion from "Qwerty Test" toDvorak
Testing full conversion cycle with "Reverse Test"
License
MIT Licensed