This is a simple authentication library.
Use the package manager npm to install @haelp/auth.
npm install @haelp/authimport { Auth } from '@haelp/auth';
const auth = new Auth({
domain: ".example.com",
database: {
uri: process.env.MONGODB_URI,
},
jwt: {
secret: process.env.JWT_SECRET,
}
});