<commit_before>NodeJS with Browserify
============

<p>
  NodeJS has the most amazing package manager, npm that allows you to install modules easily. After installing a module, you can simply require it by doing require('moduleName'). Wouldn't it be great if you could do that on the client side too? Using browserify, you can.
</p>

<h3>Installation</h3>
<p>Step 1</p>
```shell
### Command Line ###

# Get the right packages
npm install -g grunt-cli

npm install --save-dev bower
npm install --save-dev debowerify

npm install --save-dev load-grunt-tasks
npm install --save-dev grunt
npm install --save-dev grunt-contrib-clean
npm install --save-dev grunt-browserify
```

<commit_msg>Update info.md<commit_after>NodeJS with Browserify
============

<p>
  NodeJS has the most amazing package manager, npm that allows you to install modules easily. After installing a module, you can simply require it by doing require('moduleName'). Wouldn't it be great if you could do that on the client side too? Using browserify, you can.
</p>

<h3>Installation</h3>
<p>Step 1</p>
```shell
### Command Line ###

# Get the right packages
npm install -g grunt-cli

npm install --save-dev bower
npm install --save-dev debowerify

npm install --save-dev load-grunt-tasks
npm install --save-dev grunt
npm install --save-dev grunt-contrib-clean
npm install --save-dev grunt-browserify
```

<p>Step 2</p>
```shell
### Command Line ###

# Create a Gruntfile.js
touch Gruntfile.js
touch bower.json
touch .bowerrc
```

<p>Step 3</p>
```javascript
// ### in Gruntfile.js ###

module.exports = function(grunt) {
  require('load-grunt-tasks')(grunt);
  grunt.initConfig({
    // will clean
    clean: {
        build: {
            src: ['public/javascripts/build.js']
        }
    },

    // will browserify all the js files
    browserify: {
        client: {
            src: ['public/javascripts/**/*.js'],
            dest: 'public/javascripts/build.js'
        }
    }
  });

  grunt.registerTask('default', ['clean', 'browserify:client']);
};
```
{'fraction_non_alphanumeric': 0.14003944773175542, 'fraction_numerical': 0.0039447731755424065, 'mean_word_length': 3.3634408602150536, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6783642', 'n_tokens_mistral': 665, 'n_tokens_neox': 633, 'n_words': 221}