UNPKG
genezio
Version:
dev (3.0.4-dev)
latest (3.2.10)
3.2.10
3.2.9
3.2.8
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.4-dev
3.0.3
3.0.2
3.0.1
3.0.0
2.6.14
2.6.13
2.6.12
2.6.11
2.6.10
2.6.9
2.6.8
2.6.7
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.3
2.5.2
2.5.1
2.5.0
2.4.1
2.4.0
2.3.3
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.8.0
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.5.6
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.6
0.4.5
0.4.4
0.4.2
0.4.1
0.4.0
0.3.12
0.3.11
0.3.10
0.3.9
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Command line utility to interact with Genezio infrastructure.
genezio.com
Genez-io/genezio
genezio
/
build
/
src
/
utils
/
getFunctionEntryFilename.js
6 lines
(5 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
import
{ entryFileFunctionMap }
from
"../projectConfiguration/yaml/models.js"
;
export
function
getFunctionEntryFilename
(
language, filename
) {
const
extension = entryFileFunctionMap[language].
split
(
"."
)[
1
];
return
`
${filename}
.
${extension}
`
; }