mitchdenny/nth

mitchdenny/nth

Releases6
Frequency1 year 2 weeks
Last Release
Stars1
The nth package is a simple JavaScript library for taking a number (e.g. 1, 2, 3, or 4) and appending the appropriate place suffix (e.g. 1st, 2nd, 3rd or 4th).

Linked projects

The nth package simply takes a number and returns the same number with the appropriate placing string. For example the number 1 becomes 1st, and the number 2 becomes 2nd.