ordinals
v1.0.1
Published
This package can help you ordinalize numbers (1st, 2nd, 3rd, 11th, and so on)
Downloads
301
Readme
ORDINALS
Getting Started
First off, just import the package (npm i ordinals). Then, you have to require the package (const ordinal = require("ordinals")) Then, you can just use the function (ordinal(number)) Here are some examples (ordinal(1), ordinal(2), ordinal("3")) Do not that not entering a number will throw a TypeError for you to fix