Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaid/handlebars-helper-plural

Handlebars helper that returns given number with a possibly pluralized noun.
https://github.com/jaid/handlebars-helper-plural

format handlebars handlebars-helper helper plural pluralize template util utility

Last synced: 16 days ago
JSON representation

Handlebars helper that returns given number with a possibly pluralized noun.

Awesome Lists containing this project

README

        

# handlebars-helper-plural

License Sponsor handlebars-helper-plural
Build status Commits since v2.0.0 Last commit Issues
Latest version on npm Dependents Downloads

**Handlebars helper that returns given number with a possibly pluralized noun.**

#### Pure ESM library

:information_source: This package has only ESM exports. You should `import` it from MJS files or [read more here](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).

## Installation

handlebars-helper-plural on npm

```bash
npm install --save handlebars-helper-plural@^2.0.0
```

handlebars-helper-plural on Yarn

```bash
yarn add handlebars-helper-plural@^2.0.0
```

## Development

Development hints for maintaining and improving handlebars-helper-plural

Setting up:
```bash
git clone [email protected]:jaid/handlebars-helper-plural.git
cd handlebars-helper-plural
npm install
```
Testing:
```bash
npm run test:dev
```
Testing in production environment:
```bash
npm run test
```

## License
[MIT License](https://raw.githubusercontent.com/jaid/handlebars-helper-plural/master/license.txt)
Copyright © 2021, Jaid \ (https://github.com/jaid)