# prisma-function-extend

> ```sh npm i prisma-function-extend # OR yarn add prisma-function-extend ```

Latest version **0.0.3** (published 2023-12-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install prisma-function-extend
pnpm add prisma-function-extend
yarn add prisma-function-extend
bun add prisma-function-extend
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-12-25 |
| First published | 2023-12-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sixlib@qq.com |
| Maintainers | sixlib |

## Links

- npm: https://www.npmjs.com/package/prisma-function-extend
- npm.io page: https://npm.io/package/prisma-function-extend

## Dependencies (1)

- [@prisma/client](https://npm.io/package/@prisma/client.md) ^5.7.0

## Recent versions

- 0.0.3 (latest) — 2023-12-25
- 0.0.2 — 2023-12-23
- 0.0.1 — 2023-12-18

## README

# prisma-function-extend

```sh
npm i prisma-function-extend
# OR
yarn add prisma-function-extend
```

```js
import express from "express";
import { PrismaClient } from '@prisma/client';
import prismaFunctionExtend from 'prisma-function-extend';

const PORT = 3000;
const app = express();
app.use(async (req, res, next) => {
  const prismaClient = new PrismaClient().$extends(prismaFunctionExtend);
  req.app.set('prismaClient', prismaClient);
  next();
});

app.listen(PORT,()=>{
  console.log(`Server is running on port ${PORT}`);
});
```

---
_Source: https://npm.io/package/prisma-function-extend · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
