Skip to content

Rafflecopter/clj-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-config

A Clojure library designed to help you read configs from json files which can include environment variables.

[com.rafflecopter/config "0.1.1"]

Usage

  • Add json files to your resources path.
  • Use the syntax {env://ENV_VAR_NAME} in values to be replaced by environment variables.
  • You can use the lein-environ plugin to set environment variables in your project.clj.
  • Call (config.core/config "file1.json" "folder/file2.json") to setup config.
  • Call (config.core/config) later to get the config again.

License

MIT. See LICENSE file.

About

Configuration for clojure projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%