
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
prisma-client-dataproxy
Advanced tools
Creates a tiny (237 bytes minified & gzipped), typesafe api client using the same familiar api as your generated PrismaClient
Creates a tiny (237 bytes minified & gzipped), typesafe api client using the same familiar api as your generated PrismaClient
For a complete example see next.js example app
// prisma.schema
model Post {
id Int @id @default(autoincrement())
title String
content String?
}
import { createFetchClient } from 'prisma-proxy-fetch-client';
import type { PrismaClient } from '@prisma/client';
const baseURL = 'http://localhost:3333';
const api = createFetchClient<PrismaClient>({ baseUrl: baseURL });
const posts = await api.post.findMany({ where: { title: 'First Post' } });
// makes the following post request
// url http://localhost:3333/post/findMany
// body { "where": { "title": "First Post" }}
Run nx test prisma-proxy-fetch-client to execute the unit tests via Jest.
FAQs
Creates a tiny (237 bytes minified & gzipped), typesafe api client using the same familiar api as your generated PrismaClient
The npm package prisma-client-dataproxy receives a total of 1 weekly downloads. As such, prisma-client-dataproxy popularity was classified as not popular.
We found that prisma-client-dataproxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.