0.0.22 • Published 6 years ago

@plexis/without-indent v0.0.22

Weekly downloads
8
License
MIT
Repository
github
Last release
6 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

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago