Build Status Download


Typesafe config is library that's used by akka, play, and other libraries.

This is scala library that depends on typesafe config (

It provides some scala api


  1. Add resolver
resolvers += Resolver.bintrayRepo("kondaurov", "maven")
  1. Add library as dependency
dependencies += "com.github.kondaurovdev" %% "typeconfig" % "1.0.0"


e.g you have applcation.conf:

app {
prop1 = 1
prop2 = false

Let's get this config in our application

import com.github.kondaurovdev.typeconfig.ConfigHelper
import play.api.libs.json._

val conf = ConfigHelper.load("app") == Right(Json.obj("prop1" -> 1, "prop2" -> false))

Some thoughts

I used to use another library That library wraps typesafe config and provides good scala api. But i understood that i dont't need this api because i it's possibe to get json representation of config and then use json library in order to cast it to scala type