tangle_indexer


git clone https://radroots.dev/git/tangle_indexer.git
Log | Files | Refs | Submodules | LICENSE

public_key.ts (211B)


      1 import { REGEX_NOSTR_KEY } from "@radroots/nostr";
      2 import type { ParamMatcher } from '@sveltejs/kit';
      3 
      4 export const match: ParamMatcher = (value: string): boolean => {
      5     return REGEX_NOSTR_KEY.test(value);
      6 };