UNPKG
redact-pii
Version:
beta (3.3.0-beta.1)
latest (3.4.0)
3.4.0
3.3.0-beta.1
3.2.3
3.2.2
3.2.1
3.2.0
3.1.0
3.0.2
3.0.1
3.0.1-alpha-0.0.1
3.0.0
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
Remove personally identifiable information from text.
github.com/solvvy/redact-pii
solvvy/redact-pii
redact-pii
/
lib
/
built-ins
/
NameRedactor.d.ts
7 lines
(6 loc)
•
211 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
ISyncRedactor
}
from
'../types'
;
export
declare
class
NameRedactor
implements
ISyncRedactor
{
private
replaceWith;
constructor
(
replaceWith
?:
string
);
redact
(
textToRedact
:
string
):
string
; }