FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Ackee/src/utils/normalizeUrl.js at develop · electerious/Ackee · GitHub
electerious
/
Ackee
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
386
Star
4.7k
Code
Issues
33
Pull requests
5
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Ackee
/
src
/
utils
/
normalizeUrl.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (6 loc) · 194 Bytes
Breadcrumbs
Ackee
/
src
/
utils
/
normalizeUrl.js
Copy path
File metadata and controls
7 lines (6 loc) · 194 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
import
normalizeUrl
from
'normalize-url'
export
default
(
url
)
=>
normalizeUrl
(
url
,
{
removeDirectoryIndex
:
true
,
removeQueryParameters
:
[
/
^
u
t
m
_
\w
+
/
i
,
'ref'
,
'fbclid'
,
'source'
]
,
}
)
Back
|
FazBrowse Home
|
New Git URL