vtils

Home > utils > DesensitizeOptions

DesensitizeOptions interface

Signature:

export declare interface DesensitizeOptions 

Properties

Property Modifiers Type Description
postKeep?   number <p>(Optional) 后置保留字符数</p><p> 0</p>
preKeep?   number <p>(Optional) 前置保留字符数</p><p> 0</p>
replacer?   string <p>(Optional) 脱敏替换字符</p><p> ‘*’</p>
strategy?   DesensitizeStrategy (Optional) 脱敏策略