nuxed / inflector
Nuxed Inflector
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Hack
Requires
- hhvm: ^4.25
- hhvm/hsl: ^4.25
Requires (Dev)
- facebook/fbexpect: ^2.7
- hhvm/hacktest: ^2.0
- hhvm/hhast: ^4.25
This package is auto-updated.
Last update: 2024-12-19 09:14:57 UTC
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.
$ composer require nuxed/inflector
Example
use namespace Nuxed\Inflector; <<__EntryPoint>> async function main(): Awaitable<void> { $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.
License
Nuxed is open-sourced software licensed under the MIT-licensed.