numer.js: Tiny Number Format JavaScript Library Example

A super tiny (1kb minified) JavaScript library for converting, formatting and manipulating numbers.

new Numer({ style: 'comma' }).format(1000000)
new Numer({ style: 'abbreviation' }).format(123456789)
new Numer({ style: 'ordinal' }).format(2)