<commit_before># coderbits
> A wrapper for the coderbits API.

The simplest way to programmatically get [coderbits](coderbits.com) profiles in node.js.

## Install

```shell
npm install coderbits
```

## Usage

```javascript
var coderbits = require('coderbits');

coderbits('bit', function (error, profile) {
  if (!error) console.log(profile);
});
```

Searches using handles from linked accounts can be done passing the info in a object:

```javascript
var user = {
  user: 'bitmunkey',
  account: 'github'
}

coderbits(user, function (error, profile) {
  if (!error) console.log(profile);
});
```

If you want the profile already parsed, just pass `json: true` to your search object:

```javascript
var user = {
  user: 'bit',
  json: true
};
```

## License

Licensed under the [MIT License](https://github.com/rodrigo-medeiros/coderbits/LICENSE)<commit_msg>Fixed typo and broken link.<commit_after># coderbits
> A wrapper for the coderbits API.

The simplest way to programmatically get [coderbits](coderbits.com) profiles in node.js.

## Install

```shell
npm install coderbits
```

## Usage

```javascript
var coderbits = require('coderbits');

coderbits('bit', function (error, profile) {
  if (!error) console.log(profile);
});
```

Searches using handles from linked accounts can be done passing the info in a object:

```javascript
var user = {
  user: 'bitmunkey',
  account: 'github'
};

coderbits(user, function (error, profile) {
  if (!error) console.log(profile);
});
```

If you want the profile already parsed, just pass `json: true` to your search object:

```javascript
var user = {
  user: 'bit',
  json: true
};
```

## License

Licensed under the [MIT License](https://github.com/rodrigo-medeiros/coderbits/blob/master/LICENSE)
{'fraction_non_alphanumeric': 0.1393489434608795, 'fraction_numerical': 0.0, 'mean_word_length': 4.7631578947368425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '581993', 'n_tokens_mistral': 586, 'n_tokens_neox': 558, 'n_words': 187}