mask-js
A library that exposes functions to masks strings. To use it, it's pretty simple. First, you need to install it:
npm i mask-js
Then, you can import its functions and use at will:
; console; // trueconsole; // true
The library also supports optional digits. For example:
; console; // trueconsole; // trueconsole; // trueconsole; // trueconsole; // true
License
This project is licensed under the MIT license. See the LICENSE file for more info.