<commit_before># api-tailor

A tool to swiftly tailor a fitting api

<table>
  <thead>
    <tr>
      <th>Linux</th>
      <th>OS X</th>
      <th>Windows</th>
      <th>Coverage</th>
      <th>Dependencies</th>
      <th>DevDependencies</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td colspan="2" align="center">
        <a href="https://travis-ci.org/nachos/api-tailor"><img src="https://img.shields.io/travis/nachos/api-tailor.svg?style=flat-square"></a>
      </td>
      <td align="center">
        <a href="https://ci.appveyor.com/project/noamokman/api-tailor"><img src="https://img.shields.io/appveyor/ci/noamokman/api-tailor.svg?style=flat-square"></a>
      </td>
      <td align="center">
<a href='https://coveralls.io/r/nachos/api-tailor'><img src='https://img.shields.io/coveralls/nachos/api-tailor.svg?style=flat-square' alt='Coverage Status' /></a>
      </td>
      <td align="center">
        <a href="https://david-dm.org/nachos/api-tailor"><img src="https://img.shields.io/david/nachos/api-tailor.svg?style=flat-square"></a>
      </td>
      <td align="center">
        <a href="https://david-dm.org/nachos/api-tailor#info=devDependencies"><img src="https://img.shields.io/david/dev/nachos/api-tailor.svg?style=flat-square"/></a>
      </td>
    </tr>
  </tbody>
</table>

## Have a problem? Come chat with us!
[![Join the chat at https://gitter.im/nachos/api-tailor](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nachos/api-tailor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Installation
``` bash
  $ [sudo] npm install api-tailor --save
```

## Examples
``` js
var tailor = require('api-tailor');

var client = tailor({
    host: 'http://yourserver.com/api',
    resources: {
      customers: {
        all: {
          method: 'GET',
          path: '/'
        },
        byName: {
          method: 'GET',
          path: '/:name'
        }
      }
    }
  });


client.customers.all(); -> get request to http://yourserver.com/api/customers/all
client.customers.byName('nacho') -> get request to http://yourserver.com/api/customers/nacho
```

## Run Tests
``` bash
  $ npm test
```

## License

[MIT](LICENSE)

<sub><sup>*we never go out of style*</sup></sub>
<commit_msg>README: removed space in osx<commit_after># api-tailor

A tool to swiftly tailor a fitting api

<table>
  <thead>
    <tr>
      <th>Linux</th>
      <th>OSX</th>
      <th>Windows</th>
      <th>Coverage</th>
      <th>Dependencies</th>
      <th>DevDependencies</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td colspan="2" align="center">
        <a href="https://travis-ci.org/nachos/api-tailor"><img src="https://img.shields.io/travis/nachos/api-tailor.svg?style=flat-square"></a>
      </td>
      <td align="center">
        <a href="https://ci.appveyor.com/project/noamokman/api-tailor"><img src="https://img.shields.io/appveyor/ci/noamokman/api-tailor.svg?style=flat-square"></a>
      </td>
      <td align="center">
<a href='https://coveralls.io/r/nachos/api-tailor'><img src='https://img.shields.io/coveralls/nachos/api-tailor.svg?style=flat-square' alt='Coverage Status' /></a>
      </td>
      <td align="center">
        <a href="https://david-dm.org/nachos/api-tailor"><img src="https://img.shields.io/david/nachos/api-tailor.svg?style=flat-square"></a>
      </td>
      <td align="center">
        <a href="https://david-dm.org/nachos/api-tailor#info=devDependencies"><img src="https://img.shields.io/david/dev/nachos/api-tailor.svg?style=flat-square"/></a>
      </td>
    </tr>
  </tbody>
</table>

## Have a problem? Come chat with us!
[![Join the chat at https://gitter.im/nachos/api-tailor](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nachos/api-tailor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Installation
``` bash
  $ [sudo] npm install api-tailor --save
```

## Examples
``` js
var tailor = require('api-tailor');

var client = tailor({
    host: 'http://yourserver.com/api',
    resources: {
      customers: {
        all: {
          method: 'GET',
          path: '/'
        },
        byName: {
          method: 'GET',
          path: '/:name'
        }
      }
    }
  });


client.customers.all(); -> get request to http://yourserver.com/api/customers/all
client.customers.byName('nacho') -> get request to http://yourserver.com/api/customers/nacho
```

## Run Tests
``` bash
  $ npm test
```

## License

[MIT](LICENSE)

<sub><sup>*we never go out of style*</sup></sub>

{'fraction_non_alphanumeric': 0.20243362831858408, 'fraction_numerical': 0.001327433628318584, 'mean_word_length': 2.8974137931034485, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 109, 'https://': 26, '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': '5667891', 'n_tokens_mistral': 1770, 'n_tokens_neox': 1709, 'n_words': 251}