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