<commit_before># codigo-postal

[![npm version](https://img.shields.io/npm/v/codigo-postal.svg?style=flat-square)](https://www.npmjs.com/package/codigo-postal)
[![npm downloads](https://img.shields.io/npm/dm/codigo-postal.svg?style=flat-square)](https://www.npmjs.com/package/codigo-postal)
[![Build Status](https://img.shields.io/travis/lgaticaq/codigo-postal.svg?style=flat-square)](https://travis-ci.org/lgaticaq/codigo-postal)
[![Coverage Status](https://img.shields.io/coveralls/lgaticaq/codigo-postal/master.svg?style=flat-square)](https://coveralls.io/github/lgaticaq/codigo-postal?branch=master)
[![dependency Status](https://img.shields.io/david/lgaticaq/codigo-postal.svg?style=flat-square)](https://david-dm.org/lgaticaq/codigo-postal#info=dependencies)
[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/codigo-postal.svg?style=flat-square)](https://david-dm.org/lgaticaq/codigo-postal#info=devDependencies)
[![Join the chat at https://gitter.im/lgaticaq/codigo-postal](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat-square)](https://gitter.im/lgaticaq/codigo-postal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Get postal code from Correos de Chile

## Installation

```bash
npm i -S codigo-postal
```

## Use

[Try on Tonic](https://tonicdev.com/npm/codigo-postal)
```js
const codigoPostal = require('codigo-postal');

const data = {
  address: 'avenida siempreviva',
  number: 742,
  commune: 'springfield'
};

codigoPostal(data).then(console.log);
```

Result:

```js
{
  zip: XXXXX, // a number
  address: XXXXX, // a string
  number: XXXXX, // a string
  commune: XXXXX, // a string
}
```<commit_msg>docs(README): Update badges<commit_after># codigo-postal

[![npm version](https://img.shields.io/npm/v/codigo-postal.svg?style=flat-square)](https://www.npmjs.com/package/codigo-postal)
[![npm downloads](https://img.shields.io/npm/dm/codigo-postal.svg?style=flat-square)](https://www.npmjs.com/package/codigo-postal)
[![Build Status](https://img.shields.io/travis/lgaticaq/codigo-postal.svg?style=flat-square)](https://travis-ci.org/lgaticaq/codigo-postal)
[![Coverage Status](https://img.shields.io/coveralls/lgaticaq/codigo-postal/master.svg?style=flat-square)](https://coveralls.io/github/lgaticaq/codigo-postal?branch=master)
[![Code Climate](https://img.shields.io/codeclimate/github/lgaticaq/codigo-postal.svg?style=flat-square)](https://codeclimate.com/github/lgaticaq/codigo-postal)
[![dependency Status](https://img.shields.io/david/lgaticaq/codigo-postal.svg?style=flat-square)](https://david-dm.org/lgaticaq/codigo-postal#info=dependencies)
[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/codigo-postal.svg?style=flat-square)](https://david-dm.org/lgaticaq/codigo-postal#info=devDependencies)

> Get postal code from Correos de Chile

## Installation

```bash
npm i -S codigo-postal
```

## Use

[Try on Tonic](https://tonicdev.com/npm/codigo-postal)
```js
const codigoPostal = require('codigo-postal');

const data = {
  address: 'avenida siempreviva',
  number: 742,
  commune: 'springfield'
};

codigoPostal(data).then(console.log);
```

Result:

```js
{
  zip: XXXXX, // a number
  address: XXXXX, // a string
  number: XXXXX, // a string
  commune: XXXXX, // a string
}
```

## License

[MIT](https://tldrlegal.com/license/mit-license)
{'fraction_non_alphanumeric': 0.19140740740740741, 'fraction_numerical': 0.0044444444444444444, 'mean_word_length': 5.580896686159844, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 32, 'lorem ipsum': 0, 'www.': 4, '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': '3031469', 'n_tokens_mistral': 1384, 'n_tokens_neox': 1286, 'n_words': 137}