$ npm install nhkz-hello-npm
const filterModule = require('nhkz-hello-npm').default
const filtered = filterModule(
'fruits banana apple durian',
['apple', 'durian']
)
console.log(filtered)
Execute file:
$ node <file-name>
Output:
$ fruits banana ***************** *****************