nuxed / inflector

The Nuxed Inflector component converts words between their singular and plural forms (English only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Total Downloads Latest Stable Version License

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.

About

The Nuxed Inflector component converts words between their singular and plural forms (English only)

License:MIT License


Languages

Language:Hack 97.2%Language:Shell 2.8%