// Load module
const itunes = require ('searchitunes');

// Search parameters
const params = {
  entity: 'software',
  country: 'NL',
  term: 'github',
  limit: 1,
  price: 0
};

// Fancy console.log
function output (result) {
  console.dir (err || data, {
    depth: null,
    colors: true
  });
}

// Do the search
itunes (params)
  .then (output)
  .catch (console.error);

// Load module
const itunes = require ('searchitunes');

// Search parameters
const params = {
  entity: 'software',
  country: 'NL',
  term: 'github',
  limit: 1,
  price: 0
};

// Do the search
itunes (params)
  .then (data => console.dir (data, {
    depth: null,
    colors: true
  }))
  .catch (console.error);

Fix and shorten callback