Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkazuo/version-string
Version string sorter
https://github.com/kkazuo/version-string
Last synced: about 14 hours ago
JSON representation
Version string sorter
- Host: GitHub
- URL: https://github.com/kkazuo/version-string
- Owner: kkazuo
- License: epl-1.0
- Created: 2015-05-23T12:56:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-23T13:04:29.000Z (over 9 years ago)
- Last Synced: 2024-09-16T04:55:32.667Z (2 months ago)
- Language: Clojure
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# version-string
A Clojure library designed to sort strings with numerical order.
[![Clojars Project](http://clojars.org/version-string/latest-version.svg)](http://clojars.org/version-string)
## Usage
```
(require '[version-string.core :refer [sort-by-version]])
(sort-by-version '["a-10.0.tgz" "a-1.0.tgz"])
;==> ("a-1.0.tgz" "a-10.0.tgz")
```## License
Copyright © 2015 Kazuo Koga
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.