Utility function to hide/mask information
npm install hide-textbash
npm i hide-text
`
Tests
Describe and show how to run the tests with code examples.
How to use?
After you require or import:
`js
let result = hideText('this is your original string', { placeholder: '#', showLeft: 4, showRight: 0, trim: 0 })
//result -> "this ## #### ######## ######"
`
Config
Hide-text supports three ways to define config.
placeholder: character that is going to replace the original text. Default: ''
* showLeft: show this many characters in the left side of the string. Default: 0
* showRight: show this many characters in the right side of the string. Default: 0
* trim: reduce the result string to this many characters. Default: 0`