Skip to content

Email for professionals and teams

148 B
Raw Blame
import { nanoid } from "nanoid";

export function newId(prefix?: string): string {
	const id = nanoid();
	return prefix ? `${prefix}_${id}` : id;
}