A Simple Library to convert singular to plural with all the grammars rules
npm i singular-plural-js
import Plural from 'singular-plural-js'
console.log(Plural(['ray', 'city', 'truss', 'cactus', 'phenomenon']));
(5) ['rays', 'cities', 'trusses', 'cacti', 'phenomena']