Skip to content

cacoco/clj-ua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# clj-ua

Clojure user-agent parser. Because I like pain.

Mostly based on the rules here: https://www.texsoft.it/index.php?m=sw.php.useragent

## Usage

to run the (large) amount of tests:
lein test


to parse a user-agent:
lein run -m clj-ua.core "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16"

About

user-agent parser in clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published