Documentation for this Lua module is available in the mcp23008.md file and in the Official NodeMCU Documentation in Lua Modules section.
Lua Modules