number_suffix_helper

1.0.3 • Public • Published

Number Suffix Helper

Table of contents

Installing

npm install --save number_suffix_helper

Usage

// Require the package
const number_suffix_helper = require('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.getDayEndingFromNumber(day, '')

Readme

Keywords

Package Sidebar

Install

npm i number_suffix_helper

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • westinrc