<commit_before>var https = require("https");
var url = require("url");
var userAgent = "Node GitHub Request " + require( "../package.json" ).version;

function extend(a, b) {
	for (var prop in b) {
		a[prop] = b[prop];
	}

	return a;
}

function xHeader(str) {
	if (str.substring(0, 2) === "x-" ) {
		str = str.substring(2);
	}

	return str.replace(/-([a-z])/g, function(all, letter) {
		return letter.toUpperCase();<commit_msg>Don't use extension when loading package metadata<commit_after>var https = require("https");
var url = require("url");
var userAgent = "Node GitHub Request " + require( "../package" ).version;

function extend(a, b) {
	for (var prop in b) {
		a[prop] = b[prop];
	}

	return a;
}

function xHeader(str) {
	if (str.substring(0, 2) === "x-" ) {
		str = str.substring(2);
	}

	return str.replace(/-([a-z])/g, function(all, letter) {
		return letter.toUpperCase();
{'fraction_non_alphanumeric': 0.1939120631341601, 'fraction_numerical': 0.006764374295377677, 'mean_word_length': 3.9887640449438204, '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': '7079457', 'n_tokens_mistral': 337, 'n_tokens_neox': 319, 'n_words': 85}