kernl API
    Preparing search index...

    Function peopleModule

    • Reading a person from any form of their identity, asking the servers it names first: kernl.people. Applets name people in any form only while it is loaded; without it, only a hex key is taken.

      Parameters

      • options: Pick<PeopleOptions, "timeoutMs"> = {}

        The outer bound on waiting for the hinted servers.

      Returns KernlModule<"people", People>

      The module; its api is People.

      const kernl = createKernl({ host, modules: [peopleModule()] });
      await kernl.people.locate('npub1…');