kuamail/node_modules/@jridgewell/resolve-uri
Kavi f1a2d385f3 feat(kuamail): Gmail-exact mail client SPA — initial release
React 19 + Vite + TanStack Router/Query + Tailwind. Gmail-exact UI:
- ThreadRow: 40px density, hover action icons, unread stripe
- Sidebar: compose button, folder list, labels
- MessageCard: expandable headers, reply/forward
- MessageReader: full Gmail toolbar
- SearchBar: pill with filter icon
- Production: nginx container with /api proxy to api.mail.kua.cl

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 03:08:44 -04:00
..
dist feat(kuamail): Gmail-exact mail client SPA — initial release 2026-04-22 03:08:44 -04:00
LICENSE feat(kuamail): Gmail-exact mail client SPA — initial release 2026-04-22 03:08:44 -04:00
README.md feat(kuamail): Gmail-exact mail client SPA — initial release 2026-04-22 03:08:44 -04:00
package.json feat(kuamail): Gmail-exact mail client SPA — initial release 2026-04-22 03:08:44 -04:00

README.md

@jridgewell/resolve-uri

Resolve a URI relative to an optional base URI

Resolve any combination of absolute URIs, protocol-realtive URIs, absolute paths, or relative paths.

Installation

npm install @jridgewell/resolve-uri

Usage

function resolve(input: string, base?: string): string;
import resolve from '@jridgewell/resolve-uri';

resolve('foo', 'https://example.com'); // => 'https://example.com/foo'
Input Base Resolution Explanation
https://example.com any https://example.com/ Input is normalized only
//example.com https://base.com/ https://example.com/ Input inherits the base's protocol
//example.com rest //example.com/ Input is normalized only
/example https://base.com/ https://base.com/example Input inherits the base's origin
/example //base.com/ //base.com/example Input inherits the base's host and remains protocol relative
/example rest /example Input is normalized only
example https://base.com/dir/ https://base.com/dir/example Input is joined with the base
example https://base.com/file https://base.com/example Input is joined with the base without its file
example //base.com/dir/ //base.com/dir/example Input is joined with the base's last directory
example //base.com/file //base.com/example Input is joined with the base without its file
example /base/dir/ /base/dir/example Input is joined with the base's last directory
example /base/file /base/example Input is joined with the base without its file
example base/dir/ base/dir/example Input is joined with the base's last directory
example base/file base/example Input is joined with the base without its file