{"library":"astro-relative-links","type":"library","category":null,"description":"This Astro integration, currently at version 0.4.2, automatically converts absolute and `base`-relative paths within an Astro project to truly relative links during the build process. It addresses a common need for static sites that might be deployed to subdirectories or file systems where absolute paths can break. The project maintains a fairly active release cadence, providing fixes for bugs (e.g., Windows path issues, URL pathname spaces) and adding support for various HTML elements (like `video` poster, embedded styles) and other Astro ecosystem tools (like `astro-compress`, `astro-islands`). Its key differentiator is simplifying deployment flexibility for Astro sites by ensuring all assets, links, and resources are referenced relatively, eliminating the need for complex `base` path handling at runtime. It requires Astro version 3.0.0 or higher.","language":"javascript","status":"active","version":"0.4.2","tags":["javascript","astro","withastro","astro-component","astro-integration","renderer","relative-link","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install astro-relative-links","imports":["import relativeLinks from 'astro-relative-links';"]},{"cmd":"yarn add astro-relative-links","imports":[]},{"cmd":"pnpm add astro-relative-links","imports":[]}],"homepage":null,"github":"https://github.com/ixkaito/astro-relative-links","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/astro-relative-links","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/astro-relative-links/compatibility"}}