Number Suffix Helper
Table of contents
Installing
npm install --save number_suffix_helper
Usage
// Require the packageconst number_suffix_helper = const day = 3// The second parameter is optional, if it is not provided the default return for an// invalid number (number > 31) will be an empty string ''.const suffix = number_suffix_helper