(parse arg)Given a dependency string that follows the following schema
[groupID/]artifactID[@version]
Returns a map with the keys :groupID, :artifactID, :version
(parse "reagent")
; returns {:groupdID "reagent" :artifactID "reagent" :version nil}
(parse "emotion-cljs@0.2.0"'
; returns {:groupdID "emotion-cljs" :artifactID "emotion-cljs" :version 0.2.0}
Given a dependency string that follows the following schema
`[groupID/]artifactID[@version]`
Returns a map with the keys `:groupID`, `:artifactID`, `:version`
### Examples:
```clj
(parse "reagent")
; returns {:groupdID "reagent" :artifactID "reagent" :version nil}
(parse "emotion-cljs@0.2.0"'
; returns {:groupdID "emotion-cljs" :artifactID "emotion-cljs" :version 0.2.0}
```(xml->map doc)Converts an xml string into Clojure map structure
Converts an xml string into Clojure map structure
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |