<commit_before>#!/usr/bin/env node
/**
 * https://github.com/wikimedia/html-metadata
 */

var async = require('async'),
	cheerio = require('cheerio'),
	request = require('request'),
	microdata = require('microdata-node'),
	og = require('open-graph').parse;

// Default exported function
exports = module.exports = function(urlOrOpts, callback){
	request(urlOrOpts, function(error, response, html){
		chtml = cheerio.load(html);
		exports.parseAll(chtml, function(err, results){
			callback(err, results);
		});
	});<commit_msg>Clean-up: Remove unnessecary require statement<commit_after>#!/usr/bin/env node
/**
 * https://github.com/wikimedia/html-metadata
 */

var async = require('async'),
	cheerio = require('cheerio'),
	request = require('request'),
	microdata = require('microdata-node');

// Default exported function
exports = module.exports = function(urlOrOpts, callback){
	request(urlOrOpts, function(error, response, html){
		chtml = cheerio.load(html);
		exports.parseAll(chtml, function(err, results){
			callback(err, results);
		});
	});
{'fraction_non_alphanumeric': 0.16920152091254753, 'fraction_numerical': 0.0, 'mean_word_length': 5.343373493975903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6969002', 'n_tokens_mistral': 349, 'n_tokens_neox': 334, 'n_words': 66}