status-types Sort through a status list and assign each unique status a color. Include const statusTypes = require('status-types') Or import statusTypes from 'status-types' Basic Usage statusTypes(array, current, true)