@nationaldesignstudio/rampart 0.1.2 → 0.1.3
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/MODEL_CARD.md +1 -1
- package/dist/index.js +18 -34882
- package/dist/index.js.map +3 -20
- package/dist/src/ner/worker.js +14 -34878
- package/dist/src/ner/worker.js.map +3 -20
- package/package.json +2 -2
package/MODEL_CARD.md
CHANGED
|
@@ -91,7 +91,7 @@ The runtime ships as [`@nationaldesignstudio/rampart`](https://www.npmjs.com/pac
|
|
|
91
91
|
import { createGuard } from "@nationaldesignstudio/rampart";
|
|
92
92
|
|
|
93
93
|
const guard = await createGuard();
|
|
94
|
-
const {
|
|
94
|
+
const { text } = await guard.protect("My name is Alex Rivera and my SSN is 472-81-0094.");
|
|
95
95
|
// → "My name is [GIVEN_NAME_1] [SURNAME_1] and my SSN is [SSN_1]."
|
|
96
96
|
```
|
|
97
97
|
|