0.0.4 • Published 13 years ago

dvorak v0.0.4

Weekly downloads
17
License
-
Repository
github
Last release
13 years ago

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

> dvorak@0.0.0 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

0.0.4

13 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago

0.0.0

13 years ago