Security and privacy · Independent · 20 Oct 2026

mr-tanta/ndpr-toolkit

Open-source React & TypeScript library for Nigeria Data Protection Act (NDPA) 2023 compliance. Cookie consent, DSR portal, DPIA, 72-hour breach notification, RoPA, lawful-basis, privacy-policy generator.

← Security and privacy

In simple English

This library helps web developers make applications that follow Nigerian data protection laws. It gives you ready-made boxes for cookie consent, user rights requests, data protection impact assessments, and breach notifications. You get user interface components for React and helper functions for your backend server. It saves you from writing privacy workflows from scratch. The code is free to use under the MIT licence.

What it is

An open-source React and TypeScript library providing compliance infrastructure for the Nigeria Data Protection Act 2023. It includes cookie banners, request portals, validation tools, and a command-line checker for continuous integration.

What it is good for

Solo builders and software teams creating web applications for the Nigerian market who need to meet local data privacy regulations without building legal workflows by hand.

Stars10
LicenceMIT
Latestv6.2.0 (2026-10-13)checked 20 Oct 2026
Last code change2026-10-18
Written inTypeScript
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Provides ready-to-use React components for cookie consent and privacy portals.
  • Includes server-side validators and command-line tools to check compliance in your build pipeline.
  • Supports multiple local languages alongside English, French, and Arabic.
Watch for
  • Only applies to the Nigerian data protection framework, so it is not useful for general European or American privacy laws.
  • Requires a React frontend and TypeScript for the component library to work out of the box.
  • Needs custom backend storage wiring if you want to save user consent and data requests on a server.
Replaces

Writing custom privacy notice banners and data subject request forms from scratch.

Works well with

Next.js for building server-rendered web applications with React.

Similar repositories
  • shadcn-ui/ui126k stars

    A collection of accessible React UI components you can copy into your app.

Also reviewed on Repo Radar
  • future-architect/vuls12k stars

    Scans Linux machines over SSH for installed software with publicly reported security holes.

  • cossacklabs/acra1.5k stars

    A proxy that encrypts individual database fields on the way in and decrypts them on the way out.

  • 0xERR0R/blocky7.0k stars

    A small DNS service for a home or office network that refuses to look up advertising and tracking addresses.

Install
npm install @tantainnovative/ndpr-toolkit

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Business Operations & Legal › Company Formation & Legal › Privacy Policies.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.