0.1.0 • Published 9 years ago

twisttext v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Twisttext

Twist your text. Use it as command line or add it as a module.

Installation

global

npm install twisttext -g

add as a module

npm install twisttext --save

Usage

command line

Usage: twisttext [options] <your_text>
options:
  -h, --help       show usage
  -t, --time       in miliseconds. default: 2000
				   input 'infinite' to infinite time

example

twisttext hello

module

var twisttext = require('twisttext')
  twist = twisttext.twist,
  flip = twisttext.flip;

var str = 'Hello World', twistedEven = twist(str, true), twistedOdd = twist(str, false), flipped = flip(str);

console.log('str', str, 'twisted even', twistedEven, 'twisted odd', twistedOdd);

Tests

npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.1.0 Initial release