Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 607 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 607 Bytes

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");