Skip to content

Rails-like inflection library for Clojure and ClojureScript

License

Notifications You must be signed in to change notification settings

r0man/inflections-clj

Repository files navigation

Inflections

https://img.shields.io/clojars/v/inflections.svghttps://github.com/r0man/inflections-clj/workflows/Clojure%20CI/badge.svghttps://github.com/r0man/inflections-clj/workflows/ClojureScript%20CI/badge.svg

Rails-like inflection library for Clojure and ClojureScript.

Usage

(use 'inflections.core) (plural "word") ;=> "words" (plural "virus") ;=> "viri" (pluralize 12 "virus") ;=> "12 viri" (singular "apples") ;=> "apple" (singular "octopi") ;=> "octopus" (underscore "puni-puni") ;=> "puni_puni" (ordinalize "52") ;=> "52nd" (capitalize "clojure") ;=> "Clojure" 

License

Copyright (C) 2013-2022 r0man

Distributed under the Eclipse Public License, the same as Clojure.

About

Rails-like inflection library for Clojure and ClojureScript

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 9

Languages