UNPKG

jsonld-signatures-merkleproof2019

Version:

A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context

5 lines (4 loc) 199 B
export function safelyAppendUrlParameter(url, parameterKey, parameterValue) { const separator = url.includes('?') ? '&' : '?'; return `${url}${separator}${parameterKey}=${parameterValue}`; }