npm

Need private packages and team management tools?Check out npm Orgs. »

thise

0.2.2 • Public • Published

thize

Build Status codecov

Add st/nd/rd/th to your number.

Install

npm install --save thize

Or if you are British,

npm install --save thise

Usage

const thize = require('thize');
 
thize(1);   // '1st'
thize(58);  // '58th'
thize(202); // '202nd'
thize(-43); // '-43rd'
 
thize.suffix(51); // 'st'

Author

Jason Yu (me@ycmjason.com)

install

npm i thise

Downloadsweekly downloads

8

version

0.2.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability