testdouble

testdouble/theredoc

Makes your multi-line JavaScript strings look good

JavaScript
80
3
No license

The `theredoc` library is a tagged template function for JavaScript that automatically removes leading indentation and surrounding blank lines from multi-line strings, making heredocs cleaner. It's designed for JavaScript developers who frequently write formatted multi-line messages (like error

Total donated
Undistributed
Share with your subscribers: