unindent-lines
v1.0.6
Published
unindent multiple lines
Downloads
5
Readme
unindent-lines
Map lines through unindent-lines
Install
$ npm install --save unindent-lines
Usage
import unindentLines from 'unindent-lines'
const lines = '\ta\n\t\tb'
lines.split('\n').map(unindentLines()).join('\n')
//=> 'a\n\tb'
License
MIT © Sigurd Fosseng