-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend readme, filter falsey keyed values in key-by, reloaded repl
- Loading branch information
1 parent
37a1e9e
commit 796e4ea
Showing
4 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,30 @@ | ||
### Swark | ||
# Swark | ||
|
||
SWiss ARmy Knife - Your everyday clojure toolbelt! | ||
|
||
https://clojars.org/org.clojars.stanv/swark | ||
|
||
## Basic usage | ||
|
||
### Clojure CLI/deps.edn | ||
|
||
Add this dependency to the :deps map in deps.edn | ||
`org.clojars.stanv/swark {:mvn/version "0.1.0"}` | ||
|
||
Require swark.core in your ns form: | ||
`(:require [swark.core :as swark])` | ||
|
||
Then you can use the Swark utility functions: | ||
`(swark/key-by :id [{:id 1 :name "one"} {:id 2 :name "two"}])` | ||
|
||
## Development | ||
|
||
Start a repl with `clojure -M:repl/reloaded` | ||
|
||
Create an uberjar with `clj -X:uberjar :jar swark-x.x.x.jar` (replacing x's with version) | ||
|
||
Install Swark locally with `clj -X:install` | ||
|
||
## License | ||
|
||
Swark by Stan Verberkt is marked with CC0 1.0 Universal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.