Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Replaces all tab characters with in a smart way, spaces similiar to what your regular IDE does.
CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gruntfile.coffee
MIT-LICENSE
README.md
karma.conf.coffee
package.json

README.md

retabber

Dependency status devDependency Status Build Status

NPM

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

Something went wrong with that request. Please try again.