Liking cljdoc? Tell your friends :D

ragtacts.util


download-middlewareclj

source

download-with-progressclj

(download-with-progress url target)
source

f-stringclj

(f-string s
          {:keys [tag-open tag-close] :or {tag-open "{" tag-close "}"} :as ctx})

Python-like f-string

Example:

(f-string "Hello, {name}!" {:name "world"})
;; => "Hello, world!"

Specify custom template tag delimeters with :tag-open and :tag-close

Example:

(f-string "{:foo {{x}}}"
          {:x "bar"
           :tag-open "{{"
           :tag-close "}}"})
;; => "{:foo bar}"
Python-like f-string

Example:
```clojure
(f-string "Hello, {name}!" {:name "world"})
;; => "Hello, world!"
```

Specify custom template tag delimeters with `:tag-open` and `:tag-close`

Example:
```clojure
(f-string "{:foo {{x}}}"
          {:x "bar"
           :tag-open "{{"
           :tag-close "}}"})
;; => "{:foo bar}"
```
sourceraw docstring

wrap-downloaded-bytes-counterclj

(wrap-downloaded-bytes-counter client)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close