We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d09c0 commit 253c5dbCopy full SHA for 253c5db
js/figlet.js
@@ -95,4 +95,8 @@
95
function all_include(items, list) {
96
return items.every(item => list.includes(item));
97
}
98
+
99
+ function trim(str) {
100
+ return str.replace(/[\s\n]+$/, '').replace(/^\s+\n/, '');
101
+ }
102
});
0 commit comments