Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/secret-1password / normalizeOpUri
Function: normalizeOpUri()
ts
function normalizeOpUri(raw): string;Defined in: packages/secret-1password/src/resolver.ts:164
Lowercase the authority + path segments of an op:// URI so two configs that differ only in case resolve to the same value (matching 1Password's case-insensitive behaviour).
Exposed for tests.
Parameters
| Parameter | Type |
|---|---|
raw | string |
Returns
string