KO
베타 번역

@core / consent

1.1.0 ▾
인증됨MIT
GitHub

GDPR 쿠키 동의: 거부·동의가 동등한 배너, 카테고리, 동의 기록, ConsentGate, Consent Mode v2

코드파일 9개컨텍스트약 743토큰검사 통과

.genpmignore 적용 후 주입될 정확한 트리입니다. 고정 대상:

src/lib/consent/adapters/next.ts읽기 전용 · 37d6a8f
// Adaptador Next.js: `app/api/consent/route.ts` → `export const { GET, POST } = consentRoute({ cookiesByCategory: { … } });`
import { handleConsent } from './http.ts';

export const consentRoute = (opts: Parameters<typeof handleConsent>[1] = {}) => ({ GET: (req: Request) => handleConsent(req, opts), POST: (req: Request) => handleConsent(req, opts) });

@core/consent 신고

패키지를 신고하려면 GitHub로 로그인하세요.