1.0.4 • Published 1 year ago

ligbans v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ligbans

api that gives interface for litebans index (useful for ssr banlist tables).

generally inspired and blatantly copied:

honorable mention

example

import connectLitebans from "ligbans";
const cons = connectLitebans(
  "mysql://username:password@127.0.0.1:3306/bantable"
);
let query = await cons.bans({ offset: 0, limit: 16 });
query == [
  {
    id: 727n,
    name: "TheImpostorAmongUs727",
    byName: "Console",
    reason: "§6[§eAnti-cheat Automatic Action§6] §cToo many combined movement violations.",
    time: 1727727727727n,
    origin: "QueueHub",
    expire: 2727-27-27T10:27:27.000Z,
    freedBy: "#expired",
    freedReason: null,
  },
  // ...
]
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago