Socket
Socket
Sign inDemoInstall

en-inflectors

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

en-inflectors - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

LICENSE.md
The MIT License (MIT)
Copyright (c) 2016 Alex Corvi
Copyright (c) 2017 Alex Corvi

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "en-inflectors",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "inflectors.js",

@@ -49,8 +49,8 @@ # English Inflectors Library

const inflectors = require("en-inflectors");
inflectors.pluralize("mouse");
// > mice
inflectors.pluralize("goose");
// > geese
inflectors.pluralize("river");
// > rivers
inflectors.singularize("mice");
// > mouse
inflectors.singularize("geese");
// > goose
inflectors.singularize("rivers");
// > river
```

@@ -77,2 +77,4 @@

Verb conjugation can take a verb (in any tense) and convert it into the required tense.
```javascript

@@ -84,3 +86,3 @@ const inflectors = require("en-inflectors");

// plays
inflectors.conjugate("transcribes","VBP");
inflectors.conjugate("transcribes","VBD");
// transcribed

@@ -117,6 +119,6 @@ inflectors.conjugate("goes","VBN");

> __Note__
> For better, more accurate results, pass the verb in it's infinitive form (`go` instead of `goes`). although this library has been written to be agnostic about the form of the inputs, but the test results has proven that it's quite hard to achieve that with full accuracy.
> Note: for better, more accurate results, pass the verb in it's infinitive form (`go` instead of `goes`). although this library has been written to be agnostic about the form of the inputs, but the test results has proven that it's quite hard to achieve that with full accuracy.
## Additional functionalities

@@ -123,0 +125,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc