# @pedroribeiro89/angular-cep

> An Angular CEP(Brazilian ZIP code) input field

Latest version **1.0.1** (published 2020-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pedroribeiro89/angular-cep
pnpm add @pedroribeiro89/angular-cep
yarn add @pedroribeiro89/angular-cep
bun add @pedroribeiro89/angular-cep
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-10-08 |
| First published | 2020-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 140.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | pedroribeiro89 |
| Maintainers | pedroribeiro89 |
| Keywords | angular, cep, typescript, material, angular-material |

## Links

- npm: https://www.npmjs.com/package/@pedroribeiro89/angular-cep
- Repository: https://github.com/pedroribeiro89/angular-cep
- Homepage: https://github.com/pedroribeiro89
- Issues: https://github.com/pedroribeiro89/angular-cep/issues
- npm.io page: https://npm.io/package/@pedroribeiro89/angular-cep

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.10.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-10-08
- 1.0.0 — 2020-10-08

## README

# AngularCEP

An Angular CEP(Brazilian ZIP code) input field

## Dependencies

* [Angular](https://angular.io)
* [Material](https://material.angular.io/)

## Features

* Native Input 
* Material Input
* Load Address using [Viacep](https://viacep.com.br/)

## Installation

After install the dependencies, install `angular-cep`:

```shell
npm install @pedroribeiro89/angular-cep --save
```

Once installed, import AngularCepModule in your application module:
```js
import { AngularCepModule } from 'angular-cep';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [AngularCepModule, ...],  
  bootstrap: [AppComponent]
})
export class AppModule {}
```

#### Native Input:
```html
  <angular-cep (onLoadCEP)="loadedCep($event)"></angular-cep>
```

#### Material Input:
```html
  <angular-cep-material label="Digite seu CEP" (onLoadCEP)="loadedCep($event)"></angular-cep-material>
```


## Contributing

I would love for improvements ideas and bug reports (leave in github issues).

---
_Source: https://npm.io/package/@pedroribeiro89/angular-cep · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
