ember-ordinal-indicators

0.1.0 • Public • Published

ember-ordinal-indicators

Build Status

Helper for obtaining the ordinal indicator of a number. It one of the following suffixes: st, nd, rd, or th.

Installation

npm install ember-ordinal-indicators --save-dev

with ember-cli:

ember install ember-ordinal-indicators

Usage

{{ordinal-for <number>}}

Examples:

{{ordinal-for 1}} {{! => st}}
{{ordinal-for 2}} {{! => nd}}
{{ordinal-for 3}} {{! => rd}}

Development

  • git clone https://github.com/rsocci/ember-ordinal-indicators.git
  • npm install

Running Tests

  • ember test
  • ember test --server

For more information on using ember-cli, visit http://ember-cli.com/.

Package Sidebar

Install

npm i ember-ordinal-indicators

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • rsocci