title: Helper for check all params node.js - sails - express
body: <p>I want to check my params in my controllers.
  For the moment, I'm doing like that:</p>
  
  <pre><code>create: function (req, res) {
      if(req.params.label &amp;&amp; req.params.password){
       // do stuff
       }
  }
  </code></pre>
  
  <p>But I want to do this more quickly.
  I'm wondering if there is no tools which already exist.</p>
  
  <p>I want to do things like that:</p>
  
  <pre><code>create: function (req, res) {
      checkParams({label: {empty: false}, password: {empty: false}}, function(err){
          // Do stuff
       });
  }
  </code></pre>
  
  <p>Do you know something which could help me?</p>
  
  <p>Thank you.</p>