1.0.3 • Published 2 months ago

spliturl v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

安装

npm i spliturl

使用

const url = 'https://www.google.com/home?a=b&b=c'
const result = splitUrl(url)
console.log(result)
//result[url] = https://www.google.com/home
//result[params] = {a: 'b',b: 'c'}

github地址

地址

1.0.2

2 months ago

1.0.1

2 months ago

1.0.3

2 months ago

1.0.0

2 months ago