cost-center-sort
v1.0.3
Published
## Input ``` [ [“100”, “Cost Center B”], [“200”, “Cost Center A”], [“100”, “Cost Center B”], …] ```
Downloads
3
Readme
Generates unique list of ordered cost centers from a given array of cost center
Input
[ [“100”, “Cost Center B”], [“200”, “Cost Center A”], [“100”, “Cost Center B”], …]
Output
[{
“id”: “200”,
“name”: “Cost Center A”
},
{
“id”: “100”,
“name”: “Cost Center B”
},
]