UNPKG

@inertiapixel/nextjs-auth

Version:

Authentication system for Next.js. Supports credentials and social login, JWT token management, and lifecycle hooks — designed to integrate with nodejs-auth for full-stack MERN apps.

2 lines (1 loc) 68 B
export const cleanUrl = (url) => url.replace(/([^:]\/)\/+/g, '$1');