Arguments
Response
List of libraries.
Show child attributes
Show child attributes
The name of the library.
The engine used by the library (e.g., “LUA”).
The source code of the library (only included if
withCode is true).Copy
Ask AI
const libs = await redis.functions.list({
libraryName: "mylib",
withCode: true
})
console.log(libs)
// [
// {
// libraryName: "mylib",
// engine: "LUA",
// functions: [{
// name: "my_func",
// description: null,
// flags: [ "no-writes" ]
// }],
// libraryCode: "#!lua name=mylib ..."
// }
// ]