{"library":"bare-url","type":"library","category":null,"description":"bare-url is a JavaScript library providing a WHATWG URL Standard-compliant implementation for parsing, formatting, and manipulating URLs. As of version 2.4.1, it offers a robust set of utilities, including conversions between file paths and URL objects. It ships with comprehensive TypeScript type definitions, enabling strong type-checking in modern development environments. The package is actively maintained, indicated by its numerous versions and frequent recent updates, ensuring adherence to the evolving WHATWG standard. While Node.js provides a global `URL` class that aligns with the WHATWG specification, `bare-url` can serve as a consistent, lightweight alternative or a reliable polyfill in environments where the native `URL` might be absent, outdated, or exhibit inconsistent behavior. Its focus is on providing a dependable, spec-compliant URL API.","language":"javascript","status":"active","version":"2.4.1","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bare-url","imports":["import { fileURLToPath } from 'bare-url';","import { pathToFileURL } from 'bare-url';","import { URL } from 'bare-url';"]},{"cmd":"yarn add bare-url","imports":[]},{"cmd":"pnpm add bare-url","imports":[]}],"homepage":null,"github":"https://github.com/holepunchto/bare-url","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bare-url","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/bare-url/compatibility"}}