# my-first-package-to-npm

> Pacote de formatação de CEP brasileiros.

Latest version **1.0.0** (published 2022-02-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install my-first-package-to-npm
pnpm add my-first-package-to-npm
yarn add my-first-package-to-npm
bun add my-first-package-to-npm
```

## 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.0.0 |
| Published | 2022-02-22 |
| First published | 2022-02-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Anderson dos Santos Lopes Adolfo de Paiva |
| Maintainers | anderson-aslap |
| Keywords | Brasil, CEP |

## Links

- npm: https://www.npmjs.com/package/my-first-package-to-npm
- Repository: https://github.com/AndersonAslap/my-first-package-to-npm
- Homepage: https://github.com/AndersonAslap/my-first-package-to-npm#readme
- Issues: https://github.com/AndersonAslap/my-first-package-to-npm/issues
- npm.io page: https://npm.io/package/my-first-package-to-npm

## Recent versions

- 1.0.0 (latest) — 2022-02-22

## README

## Criando meu primeiro pacote no npm

> Como usar ?

```js
const { formatCep } = require("my-first-package-to-npm");

let taxCode = "12345678";

let taxCodeFormated = formatCep(taxCode); // "12345-678"

```

- formatCep( value : string ) : string <br>
    Essa função irá formatar um CEP e retornar o mesmo formatado.


> Como publicar ?

- Deve-se fazer login na conta sua conta do NPM.

```bash
$ npm login
```

- Comandi para saber se está logado <br> após a execução do comando ele retorna o nome do usuário.

```bash
$ npm whoami
```

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