Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-unit-converter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-unit-converter

AngularJS directive that converts to/from metric units using $parser and $formatters

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

AngularJS Unit Converter Build Status

AngularJS directive that converts to/from metric units using $parser and $formatters

How does it works

The idea behind this directive is to take a model's value and convert it from one unit to another, say from cm to mm, without changing the value itself, only the view value. Of course, the reverse way is supported too, aka parsing the view value and setting the model value.

This is very helpful when you want to represent a value in a different unit and let the user interact with it.

Demo

Plnkr demo

Keywords

FAQs

Package last updated on 29 May 2016

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