{"id":23284209,"url":"https://github.com/agilecreativity/swiza-commons","last_synced_at":"2025-08-27T04:11:58.791Z","repository":{"id":62433775,"uuid":"205472716","full_name":"agilecreativity/swiza-commons","owner":"agilecreativity","description":"swiza-commons by agilecreativity","archived":false,"fork":false,"pushed_at":"2020-05-22T14:12:34.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T05:01:58.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/agilecreativity/swiza-commons","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agilecreativity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-31T00:06:38.000Z","updated_at":"2024-01-03T23:32:42.000Z","dependencies_parsed_at":"2022-11-01T20:45:50.833Z","dependency_job_id":null,"html_url":"https://github.com/agilecreativity/swiza-commons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-commons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-commons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-commons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-commons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agilecreativity","download_url":"https://codeload.github.com/agilecreativity/swiza-commons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500476,"owners_count":20948880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T01:38:41.320Z","updated_at":"2025-04-06T15:15:15.774Z","avatar_url":"https://github.com/agilecreativity.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"## swiza-commons\n\n[![Clojars Project](https://img.shields.io/clojars/v/net.b12n/swiza-commons.svg)](https://clojars.org/net.b12n/swiza-commons)\n[![Dependencies Status](https://jarkeeper.com/agilecreativity/swiza-commons/status.png)](https://jarkeeper.com/agilecreativity/swiza-commons)\n\nCommon Clojure library that I use for different projects and hopefully something that compatible with GraalVM.\n\n### Basic Usage\n\nIf you are using Leiningen then you can quickly try\n\n```shell\n# Get project dependency\nlein deps :tree\n```\n\nThere are couple of function that I used quite often in other project.\n\n```clojure\n;; Use in your Clojure code\n(require [b12n.swiza.commons.core-utils \n           :refer [expand-path \n                   load-edn-config \n                   assoc-some \n                   map-keys \n                   map-vals]]\n         [b12n.swiza.common.base64-utils \n           :refer [base64-encode \n                   base64-decode]])\n```\n\n### Notes\n\n- function that I used all the time would be:\n\n```clojure\n(expand-path \"~/path\") ;;=\u003e \"$HOME/path\"\n(load-edn-config \"~/path/to/your/config.edn\")\n\n;; The following function works without issue when using with GraalVM\n;; base64-encode \n;; base64-decode\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilecreativity%2Fswiza-commons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagilecreativity%2Fswiza-commons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilecreativity%2Fswiza-commons/lists"}