Skip to content

solfegejs/configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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