0.2.0 • Published 9 years ago

ember-pluralize v0.2.0

Weekly downloads
52
License
MIT
Repository
github
Last release
9 years ago

ember-pluralize

Build
Status

Word pluralizer based on count.

Installation

npm install ember-pluralize --save-dev

with ember-cli:

ember install ember-pluralize

Usage

{{pluralize-word 2 "dancing penguins"}} {{! => 2 dancing penguins}}
{{pluralize-word 3 "octopus"}} {{! => 3 octopi}}

Pass omitCount=true option to print the pluralized word without the count.

{{pluralize-word 5 "hamster" omitCount=true}} {{! => hamsters}}

Development

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

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