<commit_before># G5 Node.js #

A wrapper cookbook to install [Node.js](http://nodejs.org) and
[npm](https://www.npmjs.org) configured with the defaults for a G5
development environment.

## Current version ##

0.1.0

## Requirements ##

* [Chef](http://www.getchef.com) >= 10
* [Vagrant](http://www.vagrantup.com) >= 1.5
* [Ruby](http://www.ruby-lang.org) >= 1.9

## Installation ##

Add a dependency on g5-nodejs to your cookbook's metadata.rb:

```ruby
depends 'g5-nodejs'
```

The cookbook is currently only available via git. We recommend
using [Berkshelf](http://berkshelf.com) to manage the installation.

To initialize Berkshelf in your project, if you haven't done so
already:

```console
$ cd my-chef-cookbook
$ gem install berkshelf
$ berks init
```

To reference the git version, simply add the following line to your
`Berksfile`:

```ruby
cookbook 'g5-nodejs', git: '<EMAIL>:G5/g5-nodejs.git', tag: '0.1.0'
```

## Usage ##

### Attributes ###

See the wrapped [nodejs cookbook](https://github.com/redguide/nodejs) for
supported attributes.

### Recipes ###

#### default ####

Globally installs Node.js, npm, [ember CLI](http://www.ember-cli.com) and
[bower](http://bower.io).<commit_msg>Document the attribute for the npm prefix<commit_after># G5 Node.js #

A wrapper cookbook to install [Node.js](http://nodejs.org) and
[npm](https://www.npmjs.org) configured with the defaults for a G5
development environment.

## Current version ##

0.1.0

## Requirements ##

* [Chef](http://www.getchef.com) >= 10
* [Vagrant](http://www.vagrantup.com) >= 1.5
* [Ruby](http://www.ruby-lang.org) >= 1.9

## Installation ##

Add a dependency on g5-nodejs to your cookbook's metadata.rb:

```ruby
depends 'g5-nodejs'
```

The cookbook is currently only available via git. We recommend
using [Berkshelf](http://berkshelf.com) to manage the installation.

To initialize Berkshelf in your project, if you haven't done so
already:

```console
$ cd my-chef-cookbook
$ gem install berkshelf
$ berks init
```

To reference the git version, simply add the following line to your
`Berksfile`:

```ruby
cookbook 'g5-nodejs', git: '<EMAIL>:G5/g5-nodejs.git', tag: '0.1.0'
```

## Usage ##

### Attributes ###

* `node['nodejs']['npm']['prefix']` - the
  [prefix directory](https://www.npmjs.org/doc/files/npm-folders.html#prefix-configuration)
  where global npm packages will be installed.

See the wrapped [nodejs cookbook](https://github.com/redguide/nodejs) for
supported attributes.

### Recipes ###

#### default ####

Globally installs Node.js, npm, [ember CLI](http://www.ember-cli.com) and
[bower](http://bower.io).
{'fraction_non_alphanumeric': 0.16653905053598775, 'fraction_numerical': 0.01454823889739663, 'mean_word_length': 4.409937888198757, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 5, 'lorem ipsum': 0, 'www.': 11, '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': '3645438', 'n_tokens_mistral': 964, 'n_tokens_neox': 899, 'n_words': 254}