<commit_before>/*
* Request a configuration file and cache it.
* */
var sconfig = require('../index.js'); //require('sconfig');

sconfig({
  env: '{YOUR_ENVIRONMENT}',
  key: '{YOUR_API_KEY}',
  secret: '{YOUR_API_SECRET}',
  sync: true
}, function(err, config) {
  console.log("OK", config, process.env);
});<commit_msg>Update config.js<commit_after>/*
* Request a configuration file and cache it.
* */
var sconfig = require('../index.js'); //require('sconfig');

sconfig({
  version: '{YOUR_VERSION}', // defaults to latest
  key: '{YOUR_API_KEY}',
  sync: true
}, function(err, config) {
  console.log("OK", config);
});
{'fraction_non_alphanumeric': 0.20385232744783308, 'fraction_numerical': 0.0, 'mean_word_length': 4.621621621621622, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6227598', 'n_tokens_mistral': 220, 'n_tokens_neox': 219, 'n_words': 53}