Simple utility to translate numeral to their english ordinal representation.
Install
npm
npm install --save js-ordinal
yarn
yarn add js-ordinal
Few Examples
const o =o // '1st'o // '2nd'o // '11th'o // '12th'o // '21st'
Getting only ordinal
o // 'st'