https://github.com/nuxed/inflector
The Nuxed Inflector component converts words between their singular and plural forms (English only)
https://github.com/nuxed/inflector
hack hack-lang hhvm inflector nuxed pluralize singularize
Last synced: 5 months ago
JSON representation
The Nuxed Inflector component converts words between their singular and plural forms (English only)
- Host: GitHub
- URL: https://github.com/nuxed/inflector
- Owner: nuxed
- License: mit
- Archived: true
- Created: 2019-11-20T03:39:40.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2020-06-18T23:13:43.000Z (almost 6 years ago)
- Last Synced: 2025-08-13T23:52:33.727Z (10 months ago)
- Topics: hack, hack-lang, hhvm, inflector, nuxed, pluralize, singularize
- Language: Hack
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README

# Nuxed Inflector
The Nuxed Inflector component converts words between their singular and plural forms (English only)
### Installation
This package can be installed with [Composer](https://getcomposer.org).
```console
$ composer require nuxed/inflector
```
### Example
```hack
use namespace Nuxed\Inflector;
<<__EntryPoint>>
async function main(): Awaitable {
$singular = Inflector\Inflector::singularize('children');
// > vec['child']
$plural = Inflector\Inflector::pluralize('bacterium');
// > vec['bacteria']
}
```
---
### Security
For information on reporting security vulnerabilities in Nuxed, see [SECURITY.md](SECURITY.md).
---
### License
Nuxed is open-sourced software licensed under the MIT-licensed.