Skip to content

Instantly share code, notes, and snippets.

@matb33
Last active December 15, 2015 12:09
Show Gist options
  • Save matb33/5258260 to your computer and use it in GitHub Desktop.
Save matb33/5258260 to your computer and use it in GitHub Desktop.
Collection hooks for Meteor: allows you to run callbacks before and after any insert/update/remove to collections. Works across both server and client. Drop this file into a shared folder, for example: `/lib/external/collection-hooks.js`
MOVED: https://github.com/matb33/meteor-collection-hooks
MOVED: https://github.com/matb33/meteor-collection-hooks
@crapthings
Copy link

yeah collection hooks should be standard package with meteor.js. awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment