Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jaid/handlebars-helper-plural
- Owner: Jaid
- License: mit
- Created: 2019-07-07T16:45:01.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T00:44:33.000Z (almost 2 years ago)
- Last Synced: 2024-12-15T17:44:28.677Z (26 days ago)
- Topics: format, handlebars, handlebars-helper, helper, plural, pluralize, template, util, utility
- Language: JavaScript
- Homepage: https://github.com/Jaid/handlebars-helper-plural
- Size: 2.38 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license.txt
Awesome Lists containing this project
README
# handlebars-helper-plural
**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
```bash
npm install --save handlebars-helper-plural@^2.0.0
``````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)