UNPKG

singular-plural-js

Version:

A Simple Library to convert singular to plural with all the grammar rules

20 lines (10 loc) 372 B
# Singular-Plural.JS > A Simple Library to convert singular to plural with all the grammar rules ## Install npm i singular-plural-js ## Import import Plural from 'singular-plural-js' ## Use console.log(Plural(['ray', 'city', 'truss', 'cactus', 'phenomenon'])); ## Output (5) ['rays', 'cities', 'trusses', 'cacti', 'phenomena']