var ImageResolver = require('../../src/ImageResolver');

var imageresolver = new ImageResolver();
imageresolver.register(new ImageResolver.FileExtension());
imageresolver.register(new ImageResolver.Opengraph());
imageresolver.register(new ImageResolver.Webpage());

imageresolver.resolve('https://medium.com/life-learning/2a1841f1335d', function(result){
    console.log('result',result);
});
@@ -290,49 +290,40 @@
 http
-s
 ://
-medium.com/life-learning/2a1841f1335d
+www.imdb.com/title/tt2294629/
 ', f

Update node example