---
title: parseConfigEffect
description: >-
  Parse (validate) a raw JS object against the config schema, then check that
  the major version matches the config format this package reads.
symbol:
  kind: function
  name: parseConfigEffect
  signatures:
    - >-
      parseConfigEffect(raw: unknown):
      Effect.Effect<[[reference/api/config/SvartzConfig|SvartzConfig]],
      [[reference/api/config/ConfigDecodeFailed|ConfigDecodeFailed]]>
  parameters:
    - name: raw
      type: unknown
      description: The raw JS object to parse.
  returns:
    type: >-
      Effect.Effect<[[reference/api/config/SvartzConfig|SvartzConfig]],
      [[reference/api/config/ConfigDecodeFailed|ConfigDecodeFailed]]>
    description: The parsed SvartzConfig.
---

# parseConfigEffect
