open-index/open-npm huggingface dataset:
npm package: @seedz-d2f/seedz-farm-core
Description: A simple library to search for the city's CEP with coordinates and IBGE Code by CEP.
Author: Seedz
Latest version: 1.0.8

# SEEDZ FARM CORE

A simple library to search for the city's CEP with coordinates and IBGE Code by CEP.

## Install

Install the library using yarn:

```bash
yarn add @seedz-d2f/seedz-farm-core
```

## How to use

Import the City Service instance into your code:

```js
const { cityService } = require('@seedz-d2f/seedz-farm-core');
```

Set Token default to Google Maps

```js
const token = 'your_google_key_api';

cityService.setGoogleMapsToken(token);
```

Search Zip Code by Coordinates:

```js
const coordinates = { lat: '123.456', long: '-789.012' };

const { zipCode } = await cityService.getZipCodeByCoordinates(coordinates); // { zipCode: '00000-000' }
console.log('CEP:', zipCode); //'00000-000'
```

Search Ibge Code by Zip Code:

```js
const zipCode = '12345-678';

const { ibgeCode } = await cityService.getIbgeCodeByZipCode(zipCode); // { ibgeCode: '9876543' }
console.log('IBGE Code:', ibgeCode); // '9876543'
```

## Contribution

If you want to contribute to this project, feel free to open issues or pull requests.

## LICENSE

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @seeessence/unit
Description: ```bash npm install seeessence/unit ```
Author: Aydar Zartdinov
Latest version: 1.0.0

# unit [![Build Status](https://travis-ci.org/seeessence/unit.svg)](https://travis-ci.org/seeessence/unit) [![Coverage Status](https://coveralls.io/repos/seeessence/unit/badge.svg?branch=master&service=github)](https://coveralls.io/github/seeessence/unit?branch=master)

```bash
npm install seeessence/unit
```

```javascript
var unit = require('unit');

unit({hello:"world"}, 'json decode').pipe(
    json.pipe(
        unit('{"hello":"world"}', 'json encode')
    )
);
```

```bash
node test.js
```

```bash
✔ json encode  
✔ json decode
```