<commit_before>
/**
 * Module dependencies.
 * @private
 */

var rpc = require('littlstar/frame-rpc@master')
  , merge = require('yields/merge')
  , Emitter = require('component/emitter')
  , domready = require('components/domready')

const GLOBAL_CALLBACK_NAME = 'OnLSPlayerFrameReady';
const IFRAME_CLASS_NAME = 'lsplayer-frame';

// used to generate an id for the frame
var FRAME_COUNT = 0;

// initialize when DOM s ready
domready(InitializeFrameRPC);

var pkg = require('./package.json');<commit_msg>moar doc<commit_after>
/**
 * Module dependencies.
 * @private
 */

var rpc = require('littlstar/frame-rpc@master')
  , merge = require('yields/merge')
  , Emitter = require('component/emitter')
  , domready = require('components/domready')

/**
 * Global callback function name.
 *
 * @private
 * @const
 * @type {String}
 */

const GLOBAL_CALLBACK_NAME = 'OnLSPlayerFrameReady';

/**
 * Iframe class name.
 *
 * @private
 * @const
 * @type {String}
 */
const IFRAME_CLASS_NAME = 'lsplayer-frame';

/**
 * Frame count used to generate an id for the frame.
 *
 * @private
 * @type {Number}
 */

var FRAME_COUNT = 0;

// initialize when DOM s ready
domready(InitializeFrameRPC);

/**
 * Packahe information.
 *
 * @private
 * @const
 * @type {Object}
 */

const pkg = require('./package.json');

// emit package information
{'fraction_non_alphanumeric': 0.1492087415222306, 'fraction_numerical': 0.0015071590052750565, 'mean_word_length': 3.955223880597015, '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': '3118704', 'n_tokens_mistral': 445, 'n_tokens_neox': 434, 'n_words': 107}