Displaying 1 to 11 from 11 results

pluralize - Pluralize or singularize any word based on a count

  •    Javascript

Pluralize and singularize any word. This module uses a pre-defined list of rules, applied in order, to singularize or pluralize a given word. There are many cases where this is useful, such as any automation based on user input. For applications where the word(s) are known ahead of time, you can use a simple ternary (or function) which would be a much lighter alternative.

globalize - A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data

  •    Javascript

A JavaScript library for internationalization and localization that leverage the official Unicode CLDR JSON data. The library works both for the browser and as a Node.js module. Each language, and the countries that speak that language, have different expectations when it comes to how numbers (including currency and percentages) and dates should appear. Obviously, each language has different names for the days of the week and the months of the year. But they also have different expectations for the structure of dates, such as what order the day, month and year are in. In number formatting, not only does the character used to delineate number groupings and the decimal portion differ, but the placement of those characters differ as well.

node.inflection - A port of inflection-js to node.js module

  •    Javascript

inflection-js is a port of the functionality from Ruby on Rails' Active Support Inflection classes into Javascript. inflection is a port of inflection-js to node.js npm package. Instead of extending JavaScript native String object like inflection-js does, inflection separate the methods to a independent package to avoid unexpected behaviors. Note: This library uses Wiktionary as its reference.




fleck - functional-style string inflections

  •    Javascript

fleck is a functional styled library for string inflection that doesn't pollute String.prototype.

underscore.inflection - ActiveSupport::Inflector, for underscore!

  •    Javascript

I'll be the first to say it; this isn't the first port of ActiveSupport::Inflector to js. Not by a long shot. But I'll definitely take underscore mixins over extending String.prototype or other clunky implementations any day. The methods listed below are the ones you'll be using 99% of the time.


numd - Pluralize a word

  •    Javascript

Count to determine a word. Word in the nominative singular.

inflect - Go library to pluralize and singularize English nouns ("cat" <=> "cats" etc.)

  •    Go

Package inflect can pluralize ("cat" => "cats", "man" => "men") or singularize ("cats" => "cat", "men" => "man") English language nouns. API docs are here.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.