<commit_before><html>
  <head>
    <title>Browserify Test</title>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script>
    <script type="text/javascript" src="jsonapi-serializer.js"></script>
    <script>
      var JSONAPISerializer = require('jsonapi-serializer');

      var dataSet = [{
        _id: '54735750e16638ba1eee59cb',
        firstName: 'Sandro',
        lastName: 'Munda',
      }, {
        _id: '5490143e69e49d0c8f9fc6bc',
        firstName: 'Lawrence',
        lastName: 'Bennett'
      }];

      var json = new JSONAPISerializer('users', dataSet, {
        id: '_id',
        attributes: ['firstName', 'lastName']
      });

      console.log(json);
    </script>
  </head>
</html>
<commit_msg>Update the browserify example<commit_after><html>
  <head>
    <title>Browserify Test</title>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script>
    <script type="text/javascript" src="jsonapi-serializer.js"></script>
    <script>
      var JSONAPISerializer = require('jsonapi-serializer').Serializer;

      var dataSet = [{
        _id: '54735750e16638ba1eee59cb',
        firstName: 'Sandro',
        lastName: 'Munda',
      }, {
        _id: '5490143e69e49d0c8f9fc6bc',
        firstName: 'Lawrence',
        lastName: 'Bennett'
      }];

      var json = new JSONAPISerializer('users', {
        id: '_id',
        attributes: ['firstName', 'lastName']
      }).serialize(dataSet);

      console.log(json);
    </script>
  </head>
</html>

{'fraction_non_alphanumeric': 0.16234996841440302, 'fraction_numerical': 0.04295641187618446, 'mean_word_length': 2.7624703087885987, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '5133949', 'n_tokens_mistral': 585, 'n_tokens_neox': 542, 'n_words': 87}