Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Utils from 'utils.js';
// Load the config.
let config = Utils.initConfig();
// Later, use it
if ( ! Utils.configSettingExists( config, 'foo' ) ) {
Utils.printConfigFormatInstructions();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment