node.inflection icon indicating copy to clipboard operation
node.inflection copied to clipboard

Add some uncountable words

Open lopenchi opened this issue 6 months ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/inflection/src/inflection.ts b/node_modules/inflection/src/inflection.ts
index 94a4e0d..8903d80 100644
--- a/node_modules/inflection/src/inflection.ts
+++ b/node_modules/inflection/src/inflection.ts
@@ -29,6 +29,7 @@ const uncountableWords = [
   'assistance',
   'athletics',
   // 'attention',
+  'aws',
 
   'bacon',
   'baggage',
@@ -58,6 +59,7 @@ const uncountableWords = [
   // 'damage',
   'dancing',
   // 'danger',
+  'data',
   'deer',
   // 'delight',
   // 'dessert',
@@ -184,6 +186,7 @@ const uncountableWords = [
   'mayonnaise',
   'measles',
   // 'meat',
+  'media',
   // 'metal',
   'methane',
   'milk',

This issue body was partially generated by patch-package.

lopenchi avatar Jul 10 '25 14:07 lopenchi