<commit_before>var through = require('through2');
var norma = require('norma');

var pickArgs = norma.compile('property:s');

module.exports = function Property() {
  var args = pickArgs(arguments);
  var prop = args.property;

  return through.obj(function(chunk, enc, done) {
    if (chunk[prop]) { this.push(chunk[prop]); }
    done();
  });
};<commit_msg>check if it exists<commit_after>var through = require('through2');
var norma = require('norma');

var pickArgs = norma.compile('property:s');

module.exports = function Property() {
  var args = pickArgs(arguments);
  var prop = args.property;

  return through.obj(function(chunk, enc, done) {
    this.push(chunk[prop]);
    done();
  });
};
{'fraction_non_alphanumeric': 0.16809116809116809, 'fraction_numerical': 0.002849002849002849, 'mean_word_length': 4.762295081967213, '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': '3996821', 'n_tokens_mistral': 224, 'n_tokens_neox': 221, 'n_words': 53}