Name: meteor-easy-meteor-settings
Owner: practicalmeteor
Description: null
Created: 2015-10-08 14:01:30.0
Updated: 2016-01-31 22:29:48.0
Pushed: 2016-02-01 14:33:07.0
Homepage: null
Size: 7
Language: CoffeeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Easily read deep values from Meteor.settings using 'a.b.c'
ies to find it in public settings first, then in private settings.
MeteorSettings.getSetting(name, defaultValue)
MeteorSettings.getPrivateSetting(name, defaultValue)
MeteorSettings.getPublicSetting(name, defaultValue)
rows Meteor.Error with code 'missing-required-meteor-setting' if name is missing
e it in initialization code, before Meteor.startup, to make sure all your app's
quired settings exist, so that if not, server / client will crash.
ies to find it in public settings first.
MeteorSettings.getRequiredSetting(name)
MeteorSettings.getRequiredPrivateSetting(name)
MeteorSettings.getRequiredPublicSetting(name)
Alternatively, to save you typing, you can use MSettings instead, which is an alias for EasyMeteorSettings.