Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> web >> node-plur
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: node-plur  ]

软件包: node-plur (3.1.1-2)

Pluralize a word

This package works only for English language currently. Default:

    - Irregular nouns will use this [list]
      (https://github.com/sindresorhus/irregular-plurals/
               blob/master/irregular-plurals.json).
    - Words ending in *s*, *x*, *z*, *ch*, *sh*
      will be pluralized with *-es* (eg. *foxes*).
    - Words ending in *y* that are preceded by a consonant
      will be pluralized by replacing *y* with *-ies* (eg. *puppies*).
    - All other words will have "s" added to the end (eg. *days*).
Pluralized word. The plural suffix will match the case of the last letter in the word. This option is only for extreme edge-cases. You probably won't need it.

Node.js is an event-based server-side JavaScript engine.

其他与 node-plur 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: node-irregular-plurals
    Map of nouns to their irregular plural form
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    同时作为一个虚包由这些包填实: node-pegjs

下载 node-plur

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 4.3 kB17 kB [文件列表]