unindent-lines

1.0.6 • Public • Published

unindent-lines

Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i unindent-lines

Weekly Downloads

3

Version

1.0.6

License

MIT

Last publish

Collaborators

  • laat