<commit_before>## nba.js 

[![npm version](https://badge.fury.io/js/nba.js.svg)](https://badge.fury.io/js/nba.js) [![Build Status](https://travis-ci.org/kshvmdn/nba.js.svg?branch=master)](https://travis-ci.org/kshvmdn/nba.js) [![Coverage Status](https://coveralls.io/repos/github/kshvmdn/nba.js/badge.svg?branch=master)](https://coveralls.io/github/kshvmdn/nba.js?branch=master) [![Dependency Status](https://img.shields.io/david/kshvmdn/nba.js.svg)](https://david-dm.org/kshvmdn/nba.js) ![code style : standard](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)

A Node.js library for current and historical NBA stats, scores, and data.

### Installation

Install via [npm](https://npmjs.com/packages/npm.js) or download the source (via GitHub) and build manually.

- npm

  ```sh
  $ npm install --save nba.js
  ```

- GitHub

  ```sh
  $ git clone https://github.com/kshvmdn/nba.js.git && cd $_ && npm install
  ```

### Usage

- Import the module.
  
  + ES5 (note the `.default`)

    ```js
    const nba = require('nba.js').default;
    // OR
    const nba = require('nba.js').endpoints;
    ```

  + ES6

    ```js
    import nba from 'nba.js';<commit_msg>Add download link<commit_after>## nba.js 

[![npm version](https://badge.fury.io/js/nba.js.svg)](https://badge.fury.io/js/nba.js) [![Build Status](https://travis-ci.org/kshvmdn/nba.js.svg?branch=master)](https://travis-ci.org/kshvmdn/nba.js) [![Coverage Status](https://coveralls.io/repos/github/kshvmdn/nba.js/badge.svg?branch=master)](https://coveralls.io/github/kshvmdn/nba.js?branch=master) [![Dependency Status](https://img.shields.io/david/kshvmdn/nba.js.svg)](https://david-dm.org/kshvmdn/nba.js) ![code style : standard](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)

A Node.js library for current and historical NBA stats, scores, and data.

### Installation

Install via [npm](https://npmjs.com/packages/npm.js) or [download the source](https://github.com/kshvmdn/nba.js/archive/master.zip) (via GitHub) and build manually.

- npm

  ```sh
  $ npm install --save nba.js
  ```

- GitHub

  ```sh
  $ git clone https://github.com/kshvmdn/nba.js.git && cd $_ && npm install
  ```

### Usage

- Import the module.
  
  + ES5 (note the `.default`)

    ```js
    const nba = require('nba.js').default;
    // OR
    const nba = require('nba.js').endpoints;
    ```

  + ES6

    ```js
    import nba from 'nba.js';
{'fraction_non_alphanumeric': 0.19735755573905864, 'fraction_numerical': 0.0033030553261767133, 'mean_word_length': 3.606463878326996, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 23, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2665318', 'n_tokens_mistral': 990, 'n_tokens_neox': 937, 'n_words': 149}