add-number-suffix
v1.0.2
Published
This modules returns you the ordinal number suffix for any give number.
Maintainers
Readme
add-number-suffix
This module adds suffix for any given number (positive, zero, negative).
Getting Started
Install the module using the following command.
npm i add-number-suffixExample
Below given is the example to use this package.
const suffix = require('add-number-suffix');
let suffix = suffix.addSuffix(2);
console.log(suffix); // Returns 2ndAuthors
- Vishweswaran P - Initial work - Github
License
This project is licensed under the ISC License.
