1.1.6 • Published 5 years ago

string-masking v1.1.6

Weekly downloads
26
License
ISC
Repository
-
Last release
5 years ago

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

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago