UNPKG
node-ff
Version:
latest (2.0.0)
2.0.0
1.5.0
1.1.0
A CLI for creating NodeJs projects
github.com/FelipeNevess/Node-CLI
FelipeNevess/Node-CLI
node-ff
/
app
/
src
/
utils
/
TextHandling
/
TextHandling.ts
12 lines
(10 loc)
•
293 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
class
TextHandling
{ return_text(text_format: string, little_formatted?: boolean): string {
if
(little_formatted) {
return
text_format.toString().trim(); }
else
{
return
text_format.toString().replaceAll(
' '
,
''
).trim(); } } } export { TextHandling };