Get started with qs CDN
BSD-3-Clause licensed
QS is a lightweight library for selecting HTML elements based on CSS selectors.
Tags:- querystring
- qs
Stable version
Copied!
How to start using qs CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with qs CDN - cdnhub.io</title>
<script src="https://cdn.jsdelivr.net/npm/querystring@6.12.0/querystring.min.js"></script>
<script src="https://cdn.cdnhub.io/qs/6.12.0/qs.min.js"></script>
</head>
<body>
<script>
const url = 'https://example.com/search?q=react&page=2';
const parsedUrl = Qs.parse(url.split('?')[1]);
console.log('Search query:', parsedUrl.q);
console.log('Page number:', parsedUrl.page);
</script>
</body>
</html>
Copied!
Copied!
All versions
3.0.0
3.1.0
4.0.0
5.0.0
5.1.0
5.2.0
5.2.1
6.0.0
6.0.1
6.0.2
6.0.3
6.0.4
6.1.0
6.1.1
6.1.2
6.10.0
6.10.1
6.10.2
6.10.3
6.10.4
6.10.5
6.11.0
6.11.1
6.11.2
6.12.0
6.12.1
6.12.2
6.12.3
*** 6.13.0
6.2.0
6.2.1
6.2.2
6.2.3
6.2.4
6.3.0
6.3.1
6.3.2
6.3.3
6.4.0
6.4.1
6.5.0
6.5.1
6.5.2
6.5.3
6.6.0
6.6.1
6.7.0
6.7.3
6.8.0
6.8.3
6.9.0
6.9.1
6.9.2
6.9.3
6.9.4
6.9.6
6.9.7