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

ember-pluralize

0.2.0 • Public • Published

ember-pluralize

BuildStatus

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/.

Install

npm i ember-pluralize

DownloadsWeekly Downloads

65

Version

0.2.0

License

MIT

Last publish

Collaborators

  • avatar