string/remove-new-lines
v0.0.1
0.0.1
Collaborators
Gravatar for undefined
0
MIT
PUBLIC
0
0     DEPENDENCIES
BuildPass

remove all new lines from a string (do not mutate the string but return new instance)

Use string/remove-new-lines in your project
npm i @bit/bit.utils.string.remove-new-lines

removeNewLines (str:string) : string

remove all new lines from a string (do not mutate the string but return new instance)

Argument

str: string

Returns

string

Test Summary


remove-new-lines the component should existPass
remove-new-lines should remove all new lines from a stringPass