Turn audio into a shareable video. forked from nypublicradio/audiogram

index.js 491B

1234567891011121314151617181920
  1. var _ = require("underscore"),
  2. path = require("path"),
  3. fs = require("fs"),
  4. load = require("./load.js");
  5. var settings = load("settings/index.js"),
  6. themes = load("settings/themes.json"),
  7. labels = load("settings/labels.json");
  8. // Validate settings
  9. settings = require("./validate-settings.js")(settings);
  10. // Validate themes
  11. themes = require("./validate-themes.js")(themes);
  12. // Validate labels
  13. labels = require("./validate-labels.js")(labels);
  14. module.exports = settings;