We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d2fad commit 572672eCopy full SHA for 572672e
.gitignore
@@ -0,0 +1,3 @@
1
+/node_modules/
2
+/package-lock.json
3
+/yarn.lock
README.md
@@ -0,0 +1,29 @@
+# TCStringParse
+
+Simple parser for transparency and consent strings compatible with TCF2.0.
4
5
+## Installation
6
7
+`npm install tc-string-parse`
8
9
+## Usage
10
11
+### NodeJS
12
13
+```js
14
+const TCStringParse = require('tc-string-parse');
15
16
+const consentString = ''; // your consent string
17
+TCStringParse(consentString);
18
+```
19
20
+### Browser
21
22
+```html
23
+<script src="path/to/tc-string-parse.js"></script>
24
25
+<script>
26
+ const consentString = ''; // your consent string
27
+ TCStringParse(consentString);
28
+</script>
29
0 commit comments