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).