node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

png-to-phash

var pngToPhash = require('png-to-phash')
 
pngToPhash('test.png', function(error,phash) {
  console.log(phash)
})