Socket
Socket
Sign inDemoInstall

@ioniczoo/bird-format-pipe

Package Overview
Dependencies
5
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ioniczoo/bird-format-pipe

Format Pipe for Ionic


Version published
Maintainers
2
Created

Readme

Source

npm npm npm

bird ---

Bird Format Pipe

Format Pipe for Ionic

Install

npm install @ioniczoo/bird-format-pipe --save

Import

import { NgModule } from '@angular/core';
import { FormatPipeModule } from '@ioniczoo/bird-format-pipe';

@NgModule({
  imports: [
    FormatPipeModule
  ],
  declarations: []
})
export class AppModule {}

Examples

<!-- CPF Format -->
<span>{{ cpf | format:'999.999.999-99' }}</span><br/>

<!-- Phone Variable Format -->
<span>{{ tel | format:'(99) 9 9999-9999' }}</span><br/>

<!-- Phone String Format -->
<span>{{ '719988776655' | format:'(99) 9 9999-9999' }}</span><br/>

<!-- Phone Number Format -->
<span>{{ 719988776655 | format:'(99) 9 9999-9999' }}</span><br/>

Author

André Argôlo

Contribute

Create issues and request pull-request.

License

GNU General Public License v3.0

Keywords

FAQs

Last updated on 21 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc