Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 427 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 427 Bytes

sensitive-words

Project to playaround with publishing and maintaining tidy consumable packages to npm.

Example

$ npm install sensitive-words --save
const sensitiveWords = require('sensitive-words').default;

const filtered = sensitiveWords(
	'The new apple macbook pro will have a touchbar',
	['pro', 'touchbar']
);

console.log(filtered);
// The new apple macbook ***** will have a *****