0.0.5 • Published 10 months ago

@allbin/user-cache v0.0.5

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
10 months ago

@allbin/user-cache

Example:

import UserCache from "@allbin/user-cache";

const cache = UserCache({
  auth0: {
    domain: "...",
    client_id: "...",
    client_secret: "...",
  },
  redis: {
    url: "redis://localhost",
  },
  ttl: 60 * 15,
});

const users = await cache.getUsers(["auth0|xxx...", "auth0|yyy..."]);

await cache.disconnect();
0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago