<commit_before>'use strict';
/**
 * dynamically wrap lob, mesh, and util functions for javascript
**/
var th = require("./thc.js");

const returntypes = {
  "_lob_json" : "json",
  "_hashname_short" : "string",
  "_lob_get" : "string"
};

const Unwrappers = {
  pointer : (_val) => _val,
  number : (_val) => _val,
  string : th.UTF8ToString,
  json : (_val) => JSON.parse(th.UTF8ToString(_val))<commit_msg>one little wrapper<commit_after>'use strict';
/**
 * dynamically wrap lob, mesh, and util functions for javascript
**/
var th = require("./thc.js");

const returntypes = {
  "_lob_json" : "json",
  "_hashname_short" : "string",
  "_jwt_encode" : "string",
  "_lob_get" : "string"
};

const Unwrappers = {
  pointer : (_val) => _val,
  number : (_val) => _val,
  string : th.UTF8ToString,
  json : (_val) => JSON.parse(th.UTF8ToString(_val))
{'fraction_non_alphanumeric': 0.179456906729634, 'fraction_numerical': 0.004722550177095631, 'mean_word_length': 4.170731707317073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5858173', 'n_tokens_mistral': 315, 'n_tokens_neox': 308, 'n_words': 73}