An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.7% on proxy.golang.org
Top 0.3% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 0.2% docker downloads on proxy.golang.org

proxy.golang.org : github.com/rickb777/plural

Package plural provides simple support for localising plurals in a flexible range of different styles. There are considerable differences around the world in the way plurals are handled. This is a simple but competent API for catering with these differences when presenting to people formatted text with numbers. This package is able to format countable things and continuous values. It can handle integers and floating point numbers equally and this allows you to decide to what extent each is appropriate. For example, "2 cars" might weigh "1.6 tonnes"; both categories are covered. This API is deliberately simple; it doesn't address the full gamut of internationalisation. If that's what you need, you should consider products such as https://github.com/nicksnyder/go-i18n instead. Please see the examples and associated api documentation.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/rickb777/plural
License: BSD-3-Clause
Latest release: about 1 month ago
First release: almost 8 years ago
Namespace: github.com/rickb777
Dependent packages: 232
Dependent repositories: 532
Stars: 1 on GitHub
Forks: 0 on GitHub
Docker dependents: 219
Docker downloads: 121,842,460
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...