UNPKG
get-express-starter
Version:
latest (3.2.2)
3.2.2
3.2.0
3.1.0
3.0.0
2.1.2
2.1.1
2.0.1
1.1.1
1.1.0
1.0.0
0.1.0
Get production ready express boilerplate with a single command
get-express-starter
/
templates
/
express-postgres-prisma
/
src
/
lib
/
prisma.ts
13 lines
(10 loc)
•
219 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
paginate
from
'@/utils/paginate'
;
import
{
PrismaClient
}
from
'@prisma/client'
;
const
prisma =
new
PrismaClient
().$extends({
model
: {
$allModels
: { paginate, }, }, });
export
default
prisma;