Converts tabs to approproate number of spaces
npm install tab-to-space
!Version npm
!NPM Downloads
!License
!GitHub Repository Size



Either through cloning with git or by using npm (the recommended way):
``bash`
npm install tab-to-space
`js
const tabToSpace = require('tab-to-space')
`
Use var_dump while development for printing details of variables and functions.
`js
let text = '\t\t[FirstName]\t\t\t\t=> TEST\n' +
' [LastName] => TEST\n'
// convert tabs to spaces
tabToSpace(text, 4)
`
This will return:
`js
' [FirstName] => TEST\n' +
' [LastName] => TEST\n'
``