add-number-suffix

1.0.2 • Public • Published

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-suffix

Example

Below given is the example to use this package.

const suffix = require('add-number-suffix');

let suffix = suffix.addSuffix(2);

console.log(suffix); // Returns 2nd

Authors

  • Vishweswaran P - Initial work - Github

License

This project is licensed under the ISC License.

Package Sidebar

Install

npm i add-number-suffix

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.34 kB

Total Files

3

Last publish

Collaborators

  • vishnuit