@forzoom/security-text
```javascript securityText('123456', 'head:2') // **3456 securityText('123456', '!head:2') // 12**** securityText('123456', 'tail:2') // 1234** securityText('123456', '!tail:2') // ****56 securityText('123456', 'head:2|tail:2|head:3') // ***4** securityTe
Last updated 6 months ago by forzoom .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @forzoom/security-text 
SYNC missed versions from official npm registry.

Usage

securityText('123456', 'head:2') // **3456
securityText('123456', '!head:2') // 12****
securityText('123456', 'tail:2') // 1234**
securityText('123456', '!tail:2') // ****56
securityText('123456', 'head:2|tail:2|head:3') // ***4**
securityText('123456', '!head:2|!tail:2') // ******

Current Tags

  • 0.0.1                                ...           latest (6 months ago)

1 Versions

  • 0.0.1                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |