{"library":"url-toolkit","type":"library","category":null,"description":"URL Toolkit is a lightweight, dependency-free JavaScript library designed to build absolute URLs from a base URL and a relative URL, specifically adhering to RFC 1808. The current stable version is `2.2.5`. The project maintains a steady release cadence, primarily focusing on bug fixes, performance improvements (like regex optimizations), and security updates (such as ReDoS vulnerability patches), with occasional documentation enhancements. Its key differentiator from the native `URL()` constructor in browsers and Node.js is its strict adherence to RFC 1808, which differs from the WHATWG URL Living Standard used by `URL()`. This difference notably affects how 'special URLs' (like `http:///example.com`) are normalized and parsed, making URL Toolkit suitable for environments or applications that require precise RFC 1808 compliance.","language":"javascript","status":"active","version":"2.2.5","tags":["javascript","url","relative","absolute","parser","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install url-toolkit","imports":["import * as URLToolkit from 'url-toolkit';","import { buildAbsoluteURL } from 'url-toolkit';","import { parseURL } from 'url-toolkit';"]},{"cmd":"yarn add url-toolkit","imports":[]},{"cmd":"pnpm add url-toolkit","imports":[]}],"homepage":null,"github":"https://github.com/tjenkinson/url-toolkit","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/url-toolkit","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-toolkit/compatibility"}}