Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-darc/angular-br-filters
An Angular library of masks applicable to several Brazilian data like I.E., CNPJ, CPF and others
https://github.com/the-darc/angular-br-filters
Last synced: 13 days ago
JSON representation
An Angular library of masks applicable to several Brazilian data like I.E., CNPJ, CPF and others
- Host: GitHub
- URL: https://github.com/the-darc/angular-br-filters
- Owner: the-darc
- License: mit
- Created: 2014-09-29T20:27:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T00:33:13.000Z (over 7 years ago)
- Last Synced: 2024-10-21T04:32:45.185Z (24 days ago)
- Language: JavaScript
- Homepage: http://the-darc.github.io/angular-br-filters/
- Size: 71.3 KB
- Stars: 90
- Watchers: 8
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
angular-br-filters
==================
[![npm version](https://img.shields.io/npm/v/angular-br-filters.svg)](https://www.npmjs.com/package/angular-br-filters)
[![Bower version](https://img.shields.io/bower/v/angular-br-filters.svg)](https://bower.io/search/?q=angular-br-filters)
[![Build Status](https://travis-ci.org/the-darc/angular-br-filters.svg)](https://travis-ci.org/the-darc/angular-br-filters)
[![Coverage Status](https://coveralls.io/repos/the-darc/angular-br-filters/badge.svg)](https://coveralls.io/r/the-darc/angular-br-filters)[![NPM](https://nodei.co/npm/angular-br-filters.png?downloads=true&stars=true)](https://nodei.co/npm/angular-br-filters/)
An Angular library of masks applicable to several Brazilian data like I.E., CNPJ, CPF and others
Installation
------------**With Bower:**
```
bower install --save angular-br-filters
```**With NPM:**
```
npm install --save angular-br-filters
```How to use
----------1. Import the ```angular-br-filters.min.js``` script in your page.
2. Include the module ```idf.br-filters``` in your angular app.
3. Use it as an angular filter:
```html
Percentage: {{'0.1' | percentage}}
```Demo Page
---------More exaples in http://the-darc.github.io/angular-br-filters/