solfegejs-configuration
v2.2.0
Published
SolfegeJS configuration
Downloads
7
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");