MCPcopy Create free account
hub / github.com/SplootCode/splootcode / getTrayForModule

Function getTrayForModule

src/module_loader.ts:3–6  ·  view source on GitHub ↗
(moduleName: string)

Source from the content-addressed store, hash-verified

1import { TrayCategory } from '@splootcode/core'
2
3export async function getTrayForModule(moduleName: string): Promise<TrayCategory> {
4 const res = (await import(`../packages/language-python/tray/${moduleName}.json`)) as TrayCategory
5 return res
6}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected