{"library":"url-parse","type":"library","category":null,"description":"url-parse is a URL parsing library designed for both Node.js and browser environments, emphasizing a small footprint. Originally created in 2014, it addressed the lack of a standardized WHATWG URL API across platforms. The package is currently at version 1.5.10 and receives infrequent updates, focusing on stability. It provides two distinct API interfaces: one that emulates the Node.js `url` module and another that behaves similarly to the modern browser `URL` interface. Its core differentiator is a pure string parsing approach, introduced in version 1.0.0, which ensures broad compatibility, particularly in environments without DOM access like Web Workers. It also bundles and exposes the `querystringify` module for robust query string handling. Critically, the project maintainers strongly recommend using the native `URL` interface for new development due to its superior security and accuracy, positioning `url-parse` primarily as a solution for legacy compatibility.","language":"javascript","status":"maintenance","version":"1.5.10","tags":["javascript","URL","parser","uri","url","parse","query","string","querystring"],"last_verified":"Wed May 27","install":[{"cmd":"npm install url-parse","imports":["import URLParse from 'url-parse';\n// Or for CommonJS:\nconst URLParse = require('url-parse');","import querystringify from 'url-parse/lib/querystringify';\n// Or for CommonJS:\nconst querystringify = require('url-parse/lib/querystringify');"]},{"cmd":"yarn add url-parse","imports":[]},{"cmd":"pnpm add url-parse","imports":[]}],"homepage":null,"github":"https://github.com/unshiftio/url-parse","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/url-parse","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/url-parse/compatibility"}}