<commit_before>'use strict';
var got = require('got');
var registryUrl = require('registry-url')();

module.exports = function (name, cb) {
	got.head(registryUrl + encodeURIComponent(name), function (err) {
		if (err && err.code === 404) {<commit_msg>lowercase the name<commit_after>'use strict';
var got = require('got');
var registryUrl = require('registry-url')();

module.exports = function (name, cb) {
	got.head(registryUrl + encodeURIComponent(name.toLowerCase()), function (err) {
		if (err && err.code === 404) {
{'fraction_non_alphanumeric': 0.1785028790786948, 'fraction_numerical': 0.011516314779270634, 'mean_word_length': 5.868421052631579, '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': '840290', 'n_tokens_mistral': 168, 'n_tokens_neox': 165, 'n_words': 42}