tab2space
v0.0.1-alpha
Published
Change tab to space without change width of line
Downloads
2
Readme
tab2space
Change tab to space without change width of line
Install
$ npm i tab2space
Usage
const tab2space = require('tab2space');
tab2space('This\tis\ttab', 4);
//=> 'This is tab'
tab2space('This\tis\ttab', 5);
//=> 'This is tab'