Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
import { PLANS } from "../utils"; export function getDisplayNameFromPlan(planSlug: string) { const cleanPlanName = planSlug.split("+")[0]; const plan = PLANS.find((p) => p.slug === cleanPlanName); return plan?.name ?? "paid"; }