• Imports all identity files in specified directory as profiles.

    Note: If the Leute model is initialized, then those profiles will be registered at leute via the leute hook.

    Parameters

    • excludeFile: string

      Name of file to exclude (usually my own identity)

    • directory: string = '.'

      The directory to search for id.json files.

    Returns Promise<default[]>