plural-kit

1.0.0

BinaryBirds/plural-kit

What's New

Initial release

2021-02-12T10:40:13Z

PluralKit

This package is an Swift 5, SPM compatible version on the Pluralize.swift library.

Install

Add the repository as a dependency:

.package(url: "https://github.com/binarybirds/plural-kit.git", from: "1.0.0"),

Add ViperKit to the target dependencies:

.product(name: "PluralKit", package: "plural-kit"),

Update the packages and you are ready.

Usage

PluralKit uses a string extension method.

import PluralKit

/// categories
print("category".pluralized()) 

/// add water to the shared library
PluralKit.shared.uncountable(word: "water")
print("water".pluralized())

Please refer to the original repository for more info.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Oct 19 2024 00:55:28 GMT-0900 (Hawaii-Aleutian Daylight Time)