# angular-viacep

> Angular Module for integration WebService ViaCep created by César Barone

Latest version **1.1.2** (published 2017-11-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install angular-viacep
pnpm add angular-viacep
yarn add angular-viacep
bun add angular-viacep
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2017-11-17 |
| First published | 2017-11-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vasconcelos |
| Maintainers | vasconce7os |
| Keywords | angularJs, via cep, ViaCEP |

## Links

- npm: https://www.npmjs.com/package/angular-viacep
- Repository: https://github.com/vasconce7os/angular-viacep
- Homepage: https://github.com/vasconce7os/angular-viacep#readme
- Issues: https://github.com/vasconce7os/angular-viacep/issues
- npm.io page: https://npm.io/package/angular-viacep

## Recent versions

- 1.1.2 (latest) — 2017-11-17

## README

# angular-viacep  &nbsp;[![Build Status](https://travis-ci.org/cesarbarone/angular-viacep.png?branch=master)](https://travis-ci.org/cesarbarone/angular-viacep)

# ViaCEP AngularJS directive and service

## See demo [here](https://plnkr.co/edit/2YkyutxNKrm99jRENNwt?p=preview)

## How to install:

### Install from bower
    bower install angular-viacep --save

### Include this line in your index.html
    <script src="bower_components/angular-viacep/dist/angular-viacep.min.js"></script>

### How to use directive(recommended)
#### Just see [demo](https://plnkr.co/edit/2YkyutxNKrm99jRENNwt?p=preview)

### Or, if you prefer, use only service
    angular.module('app', ['angular.viacep'])
    angular.module('app').controller('ctrl', function ctrl($scope, viaCep) {
        viaCep.get('08465-312').then(function(response){
            $scope.address = response
        });
    });

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