angular2-input-masks

js
This input sanitization directive prevents the user from typing invalid characters into your inputs. It will later be extended to support masking, e.g. (xxx)xxx-xxxx for phone numbers.
Version 1.0.0
<script src=" https://cdn.jsdelivr.net/npm/angular2-input-masks@1.0.0/dist/src/index.min.js "></script>