audit-argument-checks

Documentation of Meteor's audit-argument-checks package.

This package causes Meteor to require that all arguments passed to methods andpublish functions are checked. Any method that does not pass eachone of its arguments to check will throw an error, which will be logged on theserver and which will appear to the client as a500 Internal server error. This is a simple way to help ensure that yourapp has complete check coverage.

Methods and publish functions that do not need to validate their arguments cansimply run check(arguments, [Match.Any]) to satisfy theaudit-argument-checks coverage checker.