npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

retabber

4.0.0 • Public • Published

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

Keywords

install

npm i retabber

Downloadsweekly downloads

55

version

4.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability