auth-master
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

Auth Master

Example

    import authMaster from "auth-master";
    authMaster.config.keys.adminToken = "123";
    async function name() {
      const token = await authMaster.create({
        data: { user_name: "" },
        expiresIn: "1D",
        keyName: "adminToken",
      });
      console.log(token);
    }
    name();

Package Sidebar

Install

npm i auth-master

Weekly Downloads

250

Version

1.1.6

License

ISC

Unpacked Size

13.2 kB

Total Files

6

Last publish

Collaborators

  • togtokh.dev