Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs are mendacious and library doesn't work properly #44

Open
gerasimvol opened this issue May 8, 2020 · 1 comment
Open

Docs are mendacious and library doesn't work properly #44

gerasimvol opened this issue May 8, 2020 · 1 comment

Comments

@gerasimvol
Copy link

From docs:

const { GoogleDLPRedactor } = require('redact-pii');

const redactor = new GoogleDLPRedactor();

redactor.redactAsync('I live at 123 Park Ave Apt 123 New York City, NY 10002').then(redactedText => {
  console.log(redactedText);
  // I live at STREET_ADDRESS US_STATE City, LOCATION ZIPCODE'
});

Actual result:
I live at 123 Park Ave Apt 123 US_STATE City, NY 10002

@ncthbrt
Copy link

ncthbrt commented Feb 2, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants