yocontra / nodecast

Node interface to DIAL/RAMP/ChromeCast
MIT License
163 stars 23 forks source link

Support arguments to .find() for filtering #8

Closed yocontra closed 11 years ago

yocontra commented 11 years ago

Syntax could either be

nodecast.find({modelName: "Eureka Dongle"});

or

nodecast.find(function(device){
  return device.info.modelName === "Eureka Dongle";
});
yocontra commented 11 years ago

Done