UNPKG
@jomari-wp/linkedin-jobs-scraper
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Scrape public available jobs on Linkedin using headless browser
@jomari-wp/linkedin-jobs-scraper
/
build
/
utils
/
string.js
8 lines
(7 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
normalizeString
=
void
0
;
const
normalizeString
= (
s
) => {
return
s.
replace
(
/[\n\r\t ]+/g
,
' '
).
trim
(); };
exports
.
normalizeString
= normalizeString;