The URLSearchParams polyfill.
Previously known as url-search-params.
All detections have been included and the code covered 100% (DOM patches are not measured on NodeJS though).
- CDN global patch via https://unpkg.com/@ungap/url-search-params
- ESM via
import URLSearchParams from '@ungap/url-search-params'
- CJS via
const URLSearchParams = require('@ungap/url-search-params')
If you have issues just requiring @ungap/url-search-params
, be sure you require @ungap/url-search-params/cjs
instead.
No issue should happen if you just import
the module instead.