Masks sensitive data with several different methods.
npm install mask-sensitive
varmask =password = 'very sensitive data'masked = ;
secure- return "***";
length- return equal to length number of "*";
half- mask first and last 1/4;
every- mask every third char;
middle- replace middle with "***";
secure method is used.