New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-zipcode-filter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-zipcode-filter

AngularJS filter to automatically format long and short zip codes.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

angular-zipcode-filter

AngularJS filter to automatically format long and short zip codes.

Installation

You can install the filter using Bower:

$ bower install angular-zipcode-filter

Or npm:

$ npm install angular-zipcode-filter

Then you have to include it in your HTML:

<script src="bower_components/angular-zipcode-filter/zipcode.js"></script>
<script src="node_modules/angular-zipcode-filter/zipcode.js"></script>

And inject the module angular-zipcode-filter as a dependency in your application:

angular.module('webApp', ['angular-zipcode-filter']);

Usage

You can use it like any other AngularJS filter:

<p>{{ 028861617 | zipcode }}</p>

The output will be:

<p>02886-1617</p>

Testing

To run the tests:

$ npm install && bower install
$ grunt test

Keywords

FAQs

Package last updated on 26 Oct 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc