New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

twisttext

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twisttext

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

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

twist

FAQs

Package last updated on 10 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts