Emit events for collection CRUD operations on Deployd
npm install dpd-emitter --save
deleted are emitted when models are created,
updated and deleted respectively.
The model object operated on is always sent along with the events.
var socket = ; // Change the url as seen fit// watch new modelssocket;// watch all updated modelssocket;// watch updates on a particular modelsocket;// watch all deleted modelssocket;// watch when a particular model is deletedsocket;