UNPKG
nitropack
Version:
latest (2.13.5)
2.13.5
2.13.4
2.13.3
2.13.2
2.13.1
2.13.0
2.12.9
2.12.8
2.12.7
2.12.6
2.12.5
2.12.4
2.12.3
2.12.2
2.12.1
2.12.0
2.11.13
2.11.12
2.11.11
2.11.10
2.11.9
2.11.8
2.11.7
2.11.6
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.7
2.9.6
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.2
2.7.1
2.7.0
2.6.3
2.6.2
2.6.1
2.6.0
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.3
2.2.2
2.2.1
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
2.0.0-rc.1
2.0.0-rc.0
1.0.0
1.0.0-1
1.0.0-0
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.24
0.4.23
0.4.22
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.0
Build and Deploy Universal JavaScript Servers
github.com/unjs/nitro
unjs/nitro
nitropack
/
dist
/
runtime
/
entries
/
firebase.mjs
6 lines
(5 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
import
"#internal/nitro/virtual/polyfill"
;
import
functions
from
"firebase-functions"
;
import
{ toNodeListener }
from
"h3"
;
import
{ nitroApp }
from
"../app.mjs"
;
export
const
server = functions.
https
.
onRequest
(
toNodeListener
(nitroApp.
h3App
));