Predicate that returns true if all characters are found in provided string.
npm install is-subchars
bower install is-subchars
const isSubchars = require('is-subchars');
console.log(isSubchars(`who`, `hello world`)); // true
console.log(isSubchars(`foo`, `hello world`)); // false
console.log(isSubchars(`I will kill you.`, `I really like you, I'll do what you said.`)); // true
npm test
MIT