I\'m building a Chrome Packaged App. I want to put the script configuration if a config file in a resource directory and on startup want to read that by Javascript.
Structure the file as JSON. Read it into a string using the File API or XHR. Then JSON.parse(string).