solfegejs-configuration

SolfegeJS configuration

Usage no npm install needed!

<script type="module">
  import solfegejsConfiguration from 'https://cdn.skypack.dev/solfegejs-configuration';
</script>

README

solfegejs-configuration

Configuration manager for SolfegeJS

Installation

The bundle is included by default in SolfegeJS. You don't need to install it.

See SolfegeJS

Usage

The bundle provides a YAML loader for configuration files.

import solfege from "solfegejs";
import MyBundle from "./MyBundle";

// Create application
let application = solfege.factory();
application.addBundle(new MyBundle);

// Load configuration
application.setConfigurationFile(`${__dirname}/config/production.yml`, "yaml");