ngx-credit-card-br
Version:
Simple credit card component for Angular.io (2+).
47 lines (32 loc) • 1.25 kB
Markdown
# Ngx-credit-card-br
> Ngx-credit-card-br is an ultra simple cnpj validator for Angular.io.
[](https://github.com/leopq)
**Disclaimer**: I use this module for personal projects, which means it is designed to fulfill their specific use cases. The code I develop is crafted with reuse and generalization in mind, still, it may or may not fulfill for your requirements. In case it does not, please feel free to submit a pull request, create a fork or contact me at lpachecoquevedo@gmail.com so we can figure something out together. Thank you for reading this!
## Installing
```sh
$ npm install --save ngx-credit-card-br
```
## Quickstart
#### Import
Import **ngx-credit-card-br** module in Angular app.
```typescript
import { NgxCreditCardBr } from 'ngx-credit-card-br'
(...)
@NgModule({
(...)
imports: [
NgxCreditCardBr
]
(...)
})
```
#### Usage
In your template, you can declare the ngx-credit-card-br as the following:
```html
[WIP]
```
### And that's all there is about it.
* Any doubts? Fell free to open an issue.
* Improvements? Pull requests are always come!
* Suggestions? Of course: Let's [talk](https://twitter.com/leopq)!
##### MIT @ Leonardo Quevedo. 2018.