NeahFront2/node_modules/@prisma/get-platform
2025-04-08 20:36:59 +02:00
..
dist Initial commit 2025-04-08 20:36:59 +02:00
LICENSE Initial commit 2025-04-08 20:36:59 +02:00
package.json Initial commit 2025-04-08 20:36:59 +02:00
README.md Initial commit 2025-04-08 20:36:59 +02:00

@prisma/get-platform

Platform detection.

⚠️ Warning: This package is intended for Prisma's internal use. Its release cycle does not follow SemVer, which means we might release breaking changes (change APIs, remove functionality) without any prior warning.

If you are using this package, it would be helpful if you could help us gain an understanding where, how and why you are using it. Your feedback will be valuable to us to define a better API. Please share this information at https://github.com/prisma/prisma/discussions/13877 - Thanks!

Usage

import { getBinaryTargetForCurrentPlatform } from '@prisma/get-platform'

const binaryTarget = await getBinaryTargetForCurrentPlatform()