Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/loopbackio/loopback-next
/ toFileName
Function
toFileName
packages/cli/lib/utils.js:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
const
kebabCase = _.kebabCase;
33
34
const
toFileName = name => {
35
return
kebabCase(name).replace(/-(\d+)$/g,
'$1'
);
36
};
37
38
const
RESERVED_PROPERTY_NAMES = [
'constructor'
];
39
Callers
4
utils.js
File · 0.85
getModelFileName
Function · 0.85
getControllerFileName
Function · 0.85
getServiceFileName
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected