humanize-ordinal
Tiny ordinal humanization utilizing Intl.PluralRules
.
Up and running
Get the package from npm:
npm install humanize-ordinal --save
Use default
export:
// => "1st" // => "12th" // => "23rd"
Currently, only English is supported.