This package will finding differences between two string, you can combine this with owntest.js
to test your code.
const ownTestSdiff = require('./owntest-sdiff');
let string_one = "hello world";
let string_two = "hi worlds";
let result = ownTestSdiff.sdiff(arr, newArr)
console.log(result);