The frontend Wix Members API allows you to manage member access to your site as well as view and manage the currently logged-in member.
To use the frontend Wix Members API,
import the applicable named exports from wix-members-frontend
:
import { authentication, currentMember } from "wix-members-frontend";