0.0.22 • Published 7 years ago

@plexis/without-indent v0.0.22

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

withoutIndent

Removes leading whitespaces from each line in a string

npm i @plexis/without-indent

Usage

import withoutIndent from '@plexis/without-indent';

withoutIndent('\t\t\tHello World'); // returns 'Hello World'
withoutIndent('\n\tHello\n\tWorld'); // returns '\nHello\nWorld'

Aliases

import {removeIndent} from 'plexis';
import {dedent} from 'plexis';
0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago