Last updated 4 years ago
Was this helpful?
A common function for trimming whitespace without regex!
yarn add @common-utilities/trim-whitespace -D
trimWhitespace(' This is some really crazy. string. ') // This is some really crazy. string.
No cruft. No bloat. No dependencies.
Simple, typed, functional, documented, and tested javascript utility functions.
View other on Github.