JSConfigurator is a project mainly written in JavaScript, it's free.
Configuration holder class for JS applications
I often come across in my JS application that there are a lots of configuration values I want to pass from the server to my Javascript application. This small class was intended to solve this problem in an easy and clear way.
Without parameters
var config = new JSConfigurator('default', {});
With some default parameters
var config = new JSConfigurator('default', {
loaderImageUrl: '/images/loader.gif',
ajaxRefreshTime: 1000
});
config.putMore({
loaderImageUrl: '/images/loader2.gif',
ajaxRefreshTime: 2000
}, 'something');