Home/Tools/@tpmjs/tools-gdpr-data-map

gdprDataMapTool

@tpmjs/tools-gdpr-data-map

Maps data processing activities to GDPR legal bases and requirements. Analyzes each activity to determine appropriate legal basis, assess compliance requirements, identify risks, and provide actionable recommendations for GDPR compliance.

Official
legal
v0.1.0
MIT

Interactive Playground

Test @tpmjs/tools-gdpr-data-map (gdprDataMapTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-gdpr-data-map
pnpm add @tpmjs/tools-gdpr-data-map
yarn add @tpmjs/tools-gdpr-data-map
bun add @tpmjs/tools-gdpr-data-map
deno add npm:@tpmjs/tools-gdpr-data-map

2. Import the tool

import { gdprDataMapTool } from '@tpmjs/tools-gdpr-data-map';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { gdprDataMapTool } from '@tpmjs/tools-gdpr-data-map';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { gdprDataMapTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(activities: { name: string; purpose: string; description: string; dataSubjects: string[]; dataCategories: string[] }[]) => Promise<unknown>

Tags

activities
bases
compliance
data
gdpr
legal
map
maps
privacy
processing
requirements
tpmjs

Parameters

Available configuration options

Auto-extracted
activities
Required
Type: array

Data processing activities to map

Schema extracted: 3/1/2026, 4:29:49 AM

README

ERROR: No README data found!

Statistics

Downloads/month

6

GitHub Stars

0

Quality Score

73%

Bundle Size

NPM Keywords

tpmjs
gdpr
legal
compliance
privacy

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai