mocofoteamlist

0.0.2 • Public • Published

mocofoteamlist

npm install mocofoteamlist

var mocofoteamlist = require('mocofoteamlist');
 
mocofoteamlist.getHTMLSelectOptionsForTeams(function gotHTML (err, list) {
  if (err) {
    console.log(err);
  }
  // console.log(list);
 
  // Do something, for example
  // res.render('home', {
  //  list: list
  // });
});
 

You should rended this list within a select tag

<select>
  <option value="default">--Select</option>
  {{{ RENDER THE RETURNED LIST HERE }}}
</select>

Readme

Keywords

none

Package Sidebar

Install

npm i mocofoteamlist

Weekly Downloads

0

Version

0.0.2

License

MPL-2.0

Last publish

Collaborators

  • adamlofting