<commit_before>"use strict";

var fs = require('fs-extra');

var pattern_exporter = function () {

  /**
   * Exports pattern to a location
   *
   * @param patternlab {object} patternlab reference <commit_msg>add clarifying notes for #487<commit_after>"use strict";

var fs = require('fs-extra');

var pattern_exporter = function () {

  /**
   * Exports all pattern's final HTML as defined in patternlab-config.json to desired location.
   * Originally created to help facilitate easier consumption by jekyll.
   * This method is off spec with PL PHP and will change or be augmented some day.
   *
   * @param patternlab {object} patternlab reference
{'fraction_non_alphanumeric': 0.09355828220858896, 'fraction_numerical': 0.004601226993865031, 'mean_word_length': 3.9097744360902253, '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': '3193172', 'n_tokens_mistral': 185, 'n_tokens_neox': 177, 'n_words': 72}