<commit_before># octocat.js

[![npm version](https://badge.fury.io/js/octocat.svg)](http://badge.fury.io/js/octocat)
[![Build Status](https://travis-ci.org/SamyPesse/octocat.js.png?branch=master)](https://travis-ci.org/SamyPesse/octocat.js)

Javascript library to access the GitHub API.

- :sparkles: Promise based
- :sparkles: Support GitHub Enterprise
- :sparkles: Easy handling of paginated results

### Installation

```
$ npm install octocat
```

### Usage

#### Create an API client

```js<commit_msg>Replace sparkles tag with emoji<commit_after># octocat.js

[![npm version](https://badge.fury.io/js/octocat.svg)](http://badge.fury.io/js/octocat)
[![Build Status](https://travis-ci.org/SamyPesse/octocat.js.png?branch=master)](https://travis-ci.org/SamyPesse/octocat.js)

Javascript library to access the GitHub API.

- ✨ Promise based
- ✨ Support GitHub Enterprise
- ✨ Easy handling of paginated results

### Installation

```
$ npm install octocat
```

### Usage

#### Create an API client

```js
{'fraction_non_alphanumeric': 0.1701492537313433, 'fraction_numerical': 0.0, 'mean_word_length': 4.748571428571428, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6658909', 'n_tokens_mistral': 386, 'n_tokens_neox': 368, 'n_words': 75}