# canonicalizer

> Provides singular and plural forms of nouns.

Latest version **1.0.3** (published 2018-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install canonicalizer
pnpm add canonicalizer
yarn add canonicalizer
bun add canonicalizer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-06-22 |
| First published | 2014-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jim Kang |
| Maintainers | jimkang |
| Keywords | singular, plural, words, nouns, language, pluralization, canonicalization |

## Links

- npm: https://www.npmjs.com/package/canonicalizer
- Repository: https://github.com/jimkang/canonicalizer
- Issues: https://github.com/jimkang/canonicalizer/issues
- npm.io page: https://npm.io/package/canonicalizer

## Dependencies (3)

- [inflection](https://npm.io/package/inflection.md) ^1.5.3
- [lodash.find](https://npm.io/package/lodash.find.md) ^4.6.0
- [lodash.invert](https://npm.io/package/lodash.invert.md) ^4.3.0

## Recent versions

- 1.0.3 (latest) — 2018-06-22
- 1.0.2 — 2016-01-20
- 1.0.1 — 2014-12-16
- 1.0.0 — 2014-12-16

## README

canonicalizer
=============

A module that handles getting singular and plural forms of nouns. Deals with input that is in possessive form, is an uncountable noun, and other edge cases. Does its heavy lifting with [inflection](https://github.com/dreamerslab/node.inflection).

Installation
------------

    npm install canonicalizer

Usage
-----

		var canonicalizer = require('canonicalizer');
		var forms = canonicalizer.getSingularAndPluralForms('passerby');
		console.log(forms[1], 'is the plural form of', forms[0], '.');
		// passersby is the plural form of passerby.

Tests
-----

Run tests with `make test`.

License
-------

MIT.

---
_Source: https://npm.io/package/canonicalizer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
