1.1.1 • Published 8 years ago

indenthero v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

indenthero

The hero you need when indenting text.

Usage

var indenthero = require('indenthero');

indenthero('i am a single line'); // '    i am a single line'

indenthero('i am two\nlines of text'); //'    i am two\n    lines of text'

// You can also specify the amount to indent by
indenthero('one space', 1); // ' one space'
indenthero('five spaces', 5); // '     five spaces'

Installation

npm install indenthero --save

License

MIT

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.0.1-alpha

8 years ago