gulp-tabify
Features
- Changes spaces to be tabs
- Number of spaces to change is configurable
Install
$ npm install --save-dev gulp-tabify
Usage
var gulp = ;var tabify = ; gulp;
API
tabfiy(numSpaces, preserveAlignmentSpaces)
numSpaces
is the number of spaces to convert to a tab at the beginning of each line. The default is 4.
preserveAlignmentSpaces
is a boolean. When set to true, alignment spaces are preserved; false ignores them. Default is true. Example when set to true:
Before
After