UNPKG
nuxt-mongoose
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Nuxt 3 module for MongoDB with Mongoose
docs.arashsheyda.me/nuxt-mongoose
arashsheyda/nuxt-mongoose
nuxt-mongoose
/
dist
/
module.cjs
6 lines
(5 loc)
•
227 B
JavaScript
View Raw
1
2
3
4
5
6
module
.
exports
=
function
(
...args
) {
return
import
(
'./module.mjs'
).
then
(
m
=>
m.
default
.
call
(
this
, ...args)) }
const
_meta =
module
.
exports
.
meta
=
require
(
'./module.json'
)
module
.
exports
.
getMeta
=
() =>
Promise
.
resolve
(_meta)