Skip to main content

getUsers

Callable

  • getUsers(catalogDir: string): (options?: {}) => Promise<User[]>

  • Returns all users from EventCatalog.

    @example
    import utils from '@eventcatalog/utils';

    const { getUsers } = utils('/path/to/eventcatalog');

    // Gets all users from the catalog
    const channels = await getUsers();