Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rails-like inflection library for Clojure and ClojureScript

README.md

inflections-clj

Build Status Dependencies Status Gittip

Rails-like inflection library for Clojure and ClojureScript.

Installation

Via Clojars: http://clojars.org/inflections.

Current Version

Usage

(use 'inflections.core)

(plural "word")
;=> "words"

(plural "virus")
;=> "viri"

(singular "apples")
;=> "apple"

(singular "octopi")
;=> "octopus"

(underscore "puni-puni")
;=> "puni_puni"

(ordinalize "52")
;=> "52nd"

(capitalize "clojure")
;=> "Clojure"

License

Copyright (C) 2013-2014 r0man

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

Something went wrong with that request. Please try again.