meteor / validated-method

Meteor methods with better scoping, argument checking, and good defaults.
https://atmospherejs.com/mdg/validated-method
MIT License
194 stars 28 forks source link

test validated methods without meteor / publish to npm #58

Open macrozone opened 8 years ago

macrozone commented 8 years ago

We use validatedMethods in a mantra-app where we want to unit-test the methods. The test runs just wich mocha (without meteor), so it has no idea of meteor-packages.

By looking at the code, this package has little depencencies on meteor-stuff (e.g. Match), so it should be easy to create a npm-version of it.

Thoughts?

stubailo commented 8 years ago

Good idea! I'd happily help you publish to npm if you can do the implementation.

abernix commented 6 years ago

@macrozone Thoughts on making an npm-based implementation of this? This would be a valuable Meteor contribution, and we could (officially) publish it as @meteorjs/validated-method!