Invite customer based on distance To use const customer = require('customer-invitation-distance-calculator') doInvite("source.txt", "tobeinvited.txt", latitude, longitude) Test do in test.js node test.js