trim-around
v0.1.0
Published
utility function that trims the start, end, line endings and superfluous indentation
Readme
trim-around
utility function that trims the start, end, line endings and superfluous indentation
Usage
import trimAround from 'trim-around'
const result = trimAround(`
hello
world
`)outputs:
hello
world