server/drivers/index.js
function getDrivers() {
  return Object.keys(drivers).map(id => {
    return {
      id,
      name: drivers[id].name,
      fields: drivers[id].fields
    };
  });
}
function getDrivers() {
  return Object.keys(drivers).map(id => {
    return {
      id,
      name: drivers[id].name,
      fields: drivers[id].fields
    };
  });
}
function getDrivers ( ) { return Object . keys ( drivers ) . map ( id => { return { id , name : drivers [ id ] . name , fields : drivers [ id ] . fields } ; } ) ; }
Gets array of driver objects
@returns {array} drivers
Gets array of driver objects