1.1.6 • Published 6 years ago
string-masking v1.1.6
To mask the string
const stringMasking = require ('string-masking')
let string = "1234567890"
let output = stringMasking(string,3)
console.log(output)
//output
{ status: 'success', response: 'XXXXXXX890' }
const stringMasking = require ('string-masking')
let string = "1234567890"
let output = stringMasking(string,-3)
console.log(output)
//output
{ status: 'success', response: '123XXXXXXX' }
const stringMasking = require ('string-masking')
let string = "1234567890"
let output = stringMasking(string,0)
console.log(output)
//output
{ status: 'success', response: '12XXXXXX90' }
Contribution
Rohan Solse
All suggestions and recommendations are more than welcome.
You can get in contact with me @ rohansolse@gmail.com.
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago