@onflow/fcl-config

Flow Client Library - Configuration

Usage no npm install needed!

<script type="module">
  import onflowFclConfig from 'https://cdn.skypack.dev/@onflow/fcl-config';
</script>

README

@onflow/fcl-config

Recursively searches synchronously for a flow.json file, starting in the execution context moving towards the home directory inclusively.

Install

npm install --save @onflow/fcl-config

Usage

import {flowConfig} from "@onflow/fcl-config"
const config = flowConfig() // javascript object if found, error if not found