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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    52
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    52
  • 0.1.0
    2

Package Sidebar

Install

npm i ember-pluralize

Weekly Downloads

54

Version

0.2.0

License

MIT

Last publish

Collaborators

  • rsocci