Get the longest common subsequence of two strings as described in Wikipedia
$ npm install --save longest-common-subsequence
const lcs = require('longest-common-subsequence');
lcs('Abc def', 'abc');
//=> 'abc'
lcs('abc def','Abc Def', true); // case sensitive = true
//=> 'bc ef'
$ npm test
MIT © EL AZZABI Ahmed