num-ord

1.0.3 • Public • Published

num-ord

This module allows you to easily convert inteters (1, 3, 7) to ordinals (1st, 3rd, 7th).

const num_ord = require('num-ord');
num_ord(17); // => '17th'

Readme

Keywords

Package Sidebar

Install

npm i num-ord

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

1.6 kB

Total Files

4

Last publish

Collaborators

  • thattonybo