
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
canonicalizer
Advanced tools
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.
npm install canonicalizer
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.
Run tests with make test.
MIT.
FAQs
Provides singular and plural forms of nouns.
The npm package canonicalizer receives a total of 10 weekly downloads. As such, canonicalizer popularity was classified as not popular.
We found that canonicalizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.