<commit_before>/**
 * Defines PhantomJS 2.x engine
 *
 * @see https://github.com/macbre/phantomas/pull/531
 */
var pkg = require('phantomjs2');

module.exports = {
	name: 'PhantomJS',
	engine: 'webkit2',
	path: pkg.path,
	version: pkg.version,
	getUserAgent: function() {
		return 'PhantomJS/' + pkg.version
	}
};<commit_msg>webkit2: use phantomjs-prebuilt npm module<commit_after>/**
 * Defines PhantomJS 2.x engine
 *
 * @see https://github.com/macbre/phantomas/issues/488
 */
var pkg = require('phantomjs-prebuilt');

module.exports = {
	name: 'PhantomJS',
	engine: 'webkit2',
	path: pkg.path,
	version: pkg.version,
	getUserAgent: function() {
		return 'PhantomJS/' + pkg.version
	}
};
{'fraction_non_alphanumeric': 0.16690856313497823, 'fraction_numerical': 0.01741654571843251, 'mean_word_length': 4.267175572519084, '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': '623229', 'n_tokens_mistral': 281, 'n_tokens_neox': 251, 'n_words': 52}