UNPKG
prueba1mypluralize
Version:
latest (0.0.1)
0.0.1
Prueba numero 1
github.com/feliperoan/mypluralize
feliperoan/mypluralize
prueba1mypluralize
/
index.ts
9 lines
•
220 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
pluralize
from
'pluralize'
;
/** *
@Method
: Returns the plural form of any noun. *
@Param
{
string
} *
@Return
{
string
} */
export
function
getPlural
(
str
:
any
):
string
{
return
pluralize.
plural
(str) }