dpdp-kit 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,14 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/yogesh2902/dpdp-kit/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**The Node.js-native toolkit for India's Digital Personal Data Protection Act, 2023.** Build it into your Node.js backend.
|
|
6
6
|
|
|
7
7
|
- **Declare why you hold each piece of personal data**, in one typed config file. A misspelt purpose is a type error.
|
|
8
8
|
- **Keep consent records that show tampering.** Each person's grants and withdrawals form a hash chain, with the notice version and language they saw.
|
|
9
9
|
- **Know what to erase.** When consent is withdrawn or an account is deleted, get a plan: which fields go, which stay (and why), which tables are under a legal hold, which third parties to tell.
|
|
10
10
|
- **Check it in CI.** `dpdp-kit audit` fails the build when the data map is inconsistent.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## Node-native
|
|
13
|
+
|
|
14
|
+
dpdp-kit is a TypeScript library that runs **inside your Node.js process**, not a service you call.
|
|
15
|
+
|
|
16
|
+
- **No separate server.** There's nothing to deploy, no sidecar to keep running, and no REST API between your code and your consent records.
|
|
17
|
+
- **No hosted service.** No account, no API key, and no network calls. Personal data never leaves your infrastructure.
|
|
18
|
+
- **Your own database.** Consent records go into your own Postgres, through the Drizzle setup you already have, in the same database as the rest of your data.
|
|
19
|
+
- **Fits your Node stack.** Typed config, middleware for Express and Hono, a CLI for CI, and works with ESM, `require()` and TypeScript.
|
|
13
20
|
|
|
14
21
|
> **Not legal advice.** dpdp-kit helps you put compliance into practice; it does not make an app compliant on its own. Section and rule references point you to the text so you can check them. Have your own lawyer review your purposes, notices and retention periods.
|
|
15
22
|
|
package/package.json
CHANGED