ordinal-suffix-of

1.0.1 • Public • Published

ordinal-suffix-of

Use:

import { ordinalSuffixOf } from 'ordinal-suffix-of';

let a = 123;

console.log(a + ordinalSuffixOf(a))

Notes:

  • ordinalSuffixOf expects a Number.
  • Any type other than Number will throw an Error.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ordinal-suffix-of

      Weekly Downloads

      0

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      1.33 kB

      Total Files

      3

      Last publish

      Collaborators

      • mccordinator