MCPcopy Create free account
hub / github.com/taye/interact.js / getModuleName

Function getModuleName

scripts/utils.js:75–77  ·  view source on GitHub ↗
(tsName)

Source from the content-addressed store, hash-verified

73}
74
75function getModuleName(tsName) {
76 return tsName.replace(/\.[jt]sx?$/, '')
77}
78
79function getModuleDirectories() {
80 return [path.join(__dirname, '..', 'packages'), path.join(process.cwd(), 'node_modules')]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected