4.0.0 • Published 8 years ago

retabber v4.0.0

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

retabber

GratiPay Build Status Coverage Downloads Version

Replaces all tab characters with spaces in a smart way so that columns visually align, similiar to what your regular IDE does.

Installation

npm install retabber

Usage Example

var retabber = require('retabber');
retabber.smart('1\t2\nheh\t2', 4);
1   2
heh 2

retabber.regular('1\t2\nheh\t2', 4);
1    2
heh    2

Testing

npm test

License

MIT

4.0.0

8 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago