open-index/open-npm huggingface dataset:
npm package: @sidebase/authjs-prisma-adapter
Description: A next-auth/authjs type-compatible Prisma 6 adapter for the new `prisma-client`-provider
Latest version: 0.1.0

# @sidebase/authjs-prisma-adapter

A **type-compatible [NextAuth.js](https://next-auth.js.org/) Prisma adapter** for Prisma 6, designed for projects where the Prisma client is not located at `@prisma/client`.

This solves the problem with the official [`@next-auth/prisma-adapter`](https://github.com/nextauthjs/next-auth/tree/main/packages/adapter-prisma), which hardcodes an import from `@prisma/client`.
In Nuxt or custom setups (e.g. when the client lives at `~/prisma/client`), that import path cannot be resolved and breaks builds.

This adapter avoids the dependency on Prisma types and lets you use your own Prisma client instance.

The adapter is primarily meant for use with [`@sidebase/nuxt-auth`](https://github.com/sidebase/nuxt-auth) module.

## Installation

```bash
npm install @sidebase/authjs-prisma-adapter
# or
pnpm add @sidebase/authjs-prisma-adapter
````

## Usage

```ts
// server/api/auth/[...].ts
import { PrismaAdapter } from '@sidebase/authjs-prisma-adapter'
import { NuxtAuthHandler } from '#auth'

// Import your Prisma client (can live anywhere in your project)
import { prisma } from '~/prisma/client'

export default NuxtAuthHandler({
  adapter: PrismaAdapter(prisma),
  // ... other configuration
})
```

## Why not the official adapter?

* The official `@next-auth/prisma-adapter` directly imports from `@prisma/client`.
* In Nuxt or monorepo setups, Prisma 6 can be generated in a custom path (e.g. `~/prisma/client`).
* That import fails, making the official adapter unusable.

This adapter re-implements the same logic from [next-auth@4.21.1](https://github.com/nextauthjs/next-auth/blob/d69f311ddcc328d234c286ddef83f1d5934ea1fb/packages/adapter-prisma/src/index.ts), but without importing `@prisma/client`.

## API

```ts
function PrismaAdapter(prisma: PrismaClient): Adapter
```

* **`prisma`**: Your own Prisma client instance.
* Returns a NextAuth-compatible `Adapter`.

## Compatibility

* **prisma**: `^6.0.0`
* **next-auth**: `4.21.1`

## License

MIT
npm package: @sidebase/core
Description: [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![GitHub stars](https://badgen.net/github/stars/sidebase/sidebase)](https://GitHub.com/sidebase/sidebase/) [![License][license-src]][license-hre
Author: sidestream-tech
Latest version: 0.1.4

# sidebase/core

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![GitHub stars](https://badgen.net/github/stars/sidebase/sidebase)](https://GitHub.com/sidebase/sidebase/)
[![License][license-src]][license-href]
[![Follow us on Twitter](https://badgen.net/badge/icon/twitter?icon=twitter&label)](https://twitter.com/sidebase_io)
[![Join our Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/9MUHR8WT9B)

This is the core sidebase Nuxt 3 layer. The layer adds sidebase basics to a project and is distributed via: https://github.com/sidebase/sidebase

Checkout the documentation here: https://sidebase.io/sidebase

![sidebase](https://raw.githubusercontent.com/sidebase/core/main/.github/sidebase.png)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@sidebase/core/latest.svg
[npm-version-href]: https://npmjs.com/package/@sidebase/core

[npm-downloads-src]: https://img.shields.io/npm/dt/@sidebase/core.svg
[npm-downloads-href]: https://npmjs.com/package/@sidebase/core

[license-src]: https://img.shields.io/npm/l/@sidebase/core.svg
[license-href]: https://npmjs.com/package/@sidebase/core
npm package: @sidebase/nuxt-pdf
Description: A Nuxt 3 module to create Server Side rendered PDFs
Latest version: 1.0.0-alpha.0

![nuxt-pdf](.github/preview.jpg)

# 📄 nuxt-pdf

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![GitHub stars](https://badgen.net/github/stars/sidebase/nuxt-pdf)](https://GitHub.com/sidebase/nuxt-pdf/)
[![License][license-src]][license-href]
[![Follow us on Twitter](https://badgen.net/badge/icon/twitter?icon=twitter&label)](https://twitter.com/sidebase_io)
[![Join our Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/NDDgQkcv3s)

> `nuxt-pdf` is a easy to use, pdf exporting module to convert Nuxt 3 components into downloadable PDFs.

## Features

- Easily export your Nuxt 3 components into PDFs
- Generate PDFs on your server
- Guides for PDF specific styles
- Track exporting progress

## Quick Setup

1. Add `@sidebase/nuxt-pdf` dependency to your project

```bash
# Using pnpm
pnpm add -D @sidebase/nuxt-pdf

# Using yarn
yarn add --dev @sidebase/nuxt-pdf

# Using npm
npm install --save-dev @sidebase/nuxt-pdf
```

2. Add `@sidebase/nuxt-pdf` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    '@sidebase/nuxt-pdf'
  ]
})
```

That's it! You can now use NuxtPDF in your Nuxt 3 app ✨

Afterwards you can use the [Quick Start documentation](https://sidebase.io/nuxt-pdf/getting-started/quick-start) to explore the features and properly configure your NuxtPDF instance!

## Development

```bash
# Install dependencies
pnpm install

# Generate type stubs
pnpm run dev:prepare

# Develop with the playground
pnpm run dev

# Build the playground
pnpm run dev:build

# Run ESLint
pnpm run lint

# Publish a new release (bump version before)
pnpm publish --access public
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@sidebase/nuxt-pdf/latest.svg
[npm-version-href]: https://npmjs.com/package/@sidebase/nuxt-pdf

[npm-downloads-src]: https://img.shields.io/npm/dt/@sidebase/nuxt-pdf.svg
[npm-downloads-href]: https://npmjs.com/package/@sidebase/nuxt-pdf

[license-src]: https://img.shields.io/npm/l/@sidebase/nuxt-pdf.svg
[license-href]: https://npmjs.com/package/@sidebase/nuxt-pdf
npm package: @sidebase/nuxt-prisma
Description: [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![GitHub stars](https://badgen.net/github/stars/sidebase/nuxt-prisma)](https://GitHub.com/sidebase/nuxt-prisma/) [![License][license-src]][licen
Author: sidestream-tech
Latest version: 0.1.2

# nuxt-prisma

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![GitHub stars](https://badgen.net/github/stars/sidebase/nuxt-prisma)](https://GitHub.com/sidebase/nuxt-prisma/)
[![License][license-src]][license-href]
[![Follow us on Twitter](https://badgen.net/badge/icon/twitter?icon=twitter&label)](https://twitter.com/sidebase_io)
[![Join our Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/9MUHR8WT9B)

> `nuxt-prisma` is an open source Nuxt 3 layer that provides an Prisma ORM integration for Nuxt 3 applications.

## Quick start

Follow the [Quick Start documentation](https://sidebase.io/nuxt-prisma/getting-started) to get going.

`nuxt-prisma` is a part of `sidebase`, the productive Nuxt 3 starter. If you want to have a template that has `nuxt-prisma` and the Prisma CLI integrated out of the box, use sidebase:
```sh
npm create sidebase@latest
```

Read the [sidebase starter docs](https://sidebase.io/sidebase/getting-started) for more.

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@sidebase/nuxt-prisma/latest.svg
[npm-version-href]: https://npmjs.com/package/@sidebase/nuxt-prisma

[npm-downloads-src]: https://img.shields.io/npm/dt/@sidebase/nuxt-prisma.svg
[npm-downloads-href]: https://npmjs.com/package/@sidebase/nuxt-prisma

[license-src]: https://img.shields.io/npm/l/@sidebase/nuxt-prisma.svg
[license-href]: https://npmjs.com/package/@sidebase/nuxt-prisma