UNPKG
braiin
Version:
latest (0.4.3)
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Behavioral Reasoning AI for Intelligent Navigation
braiin
/
dist
/
factory
/
string.factory.js
8 lines
(7 loc)
•
284 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
removeInfoStrings
=
void
0
;
const
removeInfoStrings
= (
input
) => {
return
input.
replaceAll
(
/```[a-zA-Z0-9_-]*/g
,
'```\n'
).
replaceAll
(
'```'
,
''
); };
exports
.
removeInfoStrings
= removeInfoStrings;