<commit_before>**Version: 0.1.0**

Last modified: 23 November 2015

https://travis-ci.org/kbase/data_api_js_clients.svg?branch=develop

# JavaScript API Wrappers for the Data API

The JavaScript Data API is, like the Python API, custom wrapper code on top of the JavaScript library generated by Thrift. The source code for these wrappers is in `src/js/`.

## Download

### JS API repository

Get the repository from github using the `git clone` command (or some UI equivalent):

        git clone https://github.com/kbase/data_api_js_clients.git

### Core Data API repository
 
You will also need to check out a version of the data API 'core'. For right now, you should just check out the head of the development branch. Later, we will have tagged releases and you should check out a release that aligns with the version of this API. To future-proof the directory names, we will use a convention of `core-{tag_or_version}` for naming the cloned directory, so the command becomes the following:

    git clone -b develop https://github.com/kbase/data_api.git core-develop
    
For now it is recommended you use this directory name and clone the repository inside the top level of this repository. If you choose another location, you **must** modify the value of the variable `corepath` inside `Gruntfile.js` to your path. You also must substitute this directory wherever you see "core-develop" used in the examples below.

## Installation

In the following instructions, it will be assumed unless otherwise stated that the shell is currently operating from the top-level directory of the github repository, i.e. from the same directory in which you find this README. 
<commit_msg>Travis badge v2<commit_after>**Version: 0.1.0**

Last modified: 23 November 2015

[![Build Status](https://travis-ci.org/kbase/data_api_js_clients.svg?branch=develop)](https://travis-ci.org/kbase/data_api_js_clients)

# JavaScript API Wrappers for the Data API

The JavaScript Data API is, like the Python API, custom wrapper code on top of the JavaScript library generated by Thrift. The source code for these wrappers is in `src/js/`.

## Download

### JS API repository

Get the repository from github using the `git clone` command (or some UI equivalent):

        git clone https://github.com/kbase/data_api_js_clients.git

### Core Data API repository
 
You will also need to check out a version of the data API 'core'. For right now, you should just check out the head of the development branch. Later, we will have tagged releases and you should check out a release that aligns with the version of this API. To future-proof the directory names, we will use a convention of `core-{tag_or_version}` for naming the cloned directory, so the command becomes the following:

    git clone -b develop https://github.com/kbase/data_api.git core-develop
    
For now it is recommended you use this directory name and clone the repository inside the top level of this repository. If you choose another location, you **must** modify the value of the variable `corepath` inside `Gruntfile.js` to your path. You also must substitute this directory wherever you see "core-develop" used in the examples below.

## Installation

In the following instructions, it will be assumed unless otherwise stated that the shell is currently operating from the top-level directory of the github repository, i.e. from the same directory in which you find this README. 

{'fraction_non_alphanumeric': 0.062427071178529754, 'fraction_numerical': 0.005542590431738623, 'mean_word_length': 4.308049535603715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5536599', 'n_tokens_mistral': 896, 'n_tokens_neox': 868, 'n_words': 483}