v2.2.0
- Added timeout param
var itunes = require ('searchitunes');
var params = {
entity: 'software',
country: 'NL',
term: 'github',
limit: 1,
price: 0
};
// Time out after waiting 5 seconds
itunes (params, 5000, console.log);var itunes = require ('searchitunes');
var params = {
entity: 'software',
country: 'NL',
term: 'github',
limit: 1,
price: 0
};
// Time out after waiting 5 seconds
itunes (params, 5000, console.log);