Censoring a word should conceal its characters while still allowing the reader to use context clues to understand the sentence it was in, otherwise, the entire sentence may not be understood.
Steps to reproduce:
Load swearjar-node (I did so by running npm install --no-save swearjar in an empty temporary directory)
Run the following in the node.js console:
const swearjar = require('swearjar')
swearjar.censor('Don\'t snatch your little sister\'s toys.')
Expected:
Console should display:
```javascript
'Don\'t s****h your little sister\'s toys.'
Censoring a word should conceal its characters while still allowing the reader to use context clues to understand the sentence it was in, otherwise, the entire sentence may not be understood.
Steps to reproduce:
swearjar-node
(I did so by runningnpm install --no-save swearjar
in an empty temporary directory)swearjar.censor('Don\'t snatch your little sister\'s toys.')
or
Actual:
Console displays: