doc
This commit is contained in:
parent
b2be3179f2
commit
91a2eebda1
2 changed files with 13 additions and 13 deletions
|
|
@ -769,7 +769,7 @@ Differences with Clojure:
|
|||
|
||||
- No `defprotocol`, `defrecord` and unboxed math.
|
||||
|
||||
## [Projects](doc/projects.md)
|
||||
## [Libraries and projects](doc/libraries.md)
|
||||
|
||||
A list of projects (scripts, libraries and tools) known to work with babashka.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,20 @@
|
|||
# Projects
|
||||
# Libraries and projects
|
||||
|
||||
The following libraries and projects are known to work with babashka.
|
||||
|
||||
## Libraries
|
||||
|
||||
### [clj-http-lite](https://github.com/borkdude/clj-http-lite)
|
||||
|
||||
A fork of a fork of `clj-http-lite`. Example:
|
||||
|
||||
``` shell
|
||||
$ export BABASHKA_CLASSPATH="$(clojure -Sdeps '{:deps {clj-http-lite {:git/url "https://github.com/borkdude/clj-http-lite" :sha "f44ebe45446f0f44f2b73761d102af3da6d0a13e"}}}' -Spath)"
|
||||
|
||||
$ bb "(require '[clj-http.lite.client :as client]) (:status (client/get \"https://www.clojure.org\"))"
|
||||
200
|
||||
```
|
||||
|
||||
### [spartan.spec](https://github.com/borkdude/spartan.spec/)
|
||||
|
||||
An babashka-compatible implementation of `clojure.spec.alpha`.
|
||||
|
|
@ -42,17 +53,6 @@ $ bb -e "(require '[medley.core :as m]) (m/index-by :id [{:id 1} {:id 2}])"
|
|||
{1 {:id 1}, 2 {:id 2}}
|
||||
```
|
||||
|
||||
### [clj-http-lite](https://github.com/borkdude/clj-http-lite)
|
||||
|
||||
This fork does not depend on any other libraries. Example:
|
||||
|
||||
``` shell
|
||||
$ export BABASHKA_CLASSPATH="$(clojure -Sdeps '{:deps {clj-http-lite {:git/url "https://github.com/borkdude/clj-http-lite" :sha "f44ebe45446f0f44f2b73761d102af3da6d0a13e"}}}' -Spath)"
|
||||
|
||||
$ bb "(require '[clj-http.lite.client :as client]) (:status (client/get \"https://www.clojure.org\"))"
|
||||
200
|
||||
```
|
||||
|
||||
### [limit-break](https://github.com/technomancy/limit-break)
|
||||
|
||||
A debug REPL library.
|
||||
Loading…
Reference in a new issue