five-on-it / apps/tools/src/kits / readKit
Function: readKit()
readKit(
kitsDir,name):Promise<Kit>
Defined in: apps/tools/src/kits.ts:155
Reads <kitsDir>/<name>.glb and <name>.foi.json; throws naming the kit for anything missing or malformed.
Parameters
kitsDir
string
name
string
Returns
Promise<Kit>