If this package reaches anyone from NPM, please let me know if we could change the name to
multilinestring
.
multilines
The missing template literal for NodeJS.
Overview
multilines
removes all spaces before |
character and first space after if present.
- 💅 Prettier code style: You no longer have to care about spaces in multiline strings!
- 🌳 Zero dependencies: Completely self contained!
- 💡 Inspired by Scala code style: Used by the best, now implemented for everyone.
Installation
yarn add multilines
Example
// Before // After
License
MIT @ Matic Zavadlal