Skip to content

FirstVertex/imaskjs

This branch is 72 commits behind uNmAnNeR/imaskjs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2273fa8 · Aug 8, 2023
Jun 19, 2023
Jul 20, 2023
Aug 8, 2023
Jun 22, 2023
Jun 19, 2023
Jul 5, 2021
May 4, 2018
Jul 11, 2023
Nov 10, 2016
Jun 23, 2023
Jul 11, 2023
Jul 18, 2023
Jul 18, 2023
Jul 12, 2023
Jun 22, 2023
May 31, 2023
Jun 19, 2023

Repository files navigation

imaskjs

vanilla javascript input mask

npm version License: MIT Coverage Status

Features

  • get and set raw and unmasked values easily
  • no external dependencies
  • supports overwrite mode
  • supports web components
  • supports contenteditable
  • RegExp mask
  • Function mask
  • Number mask (integer and decimal)
  • Date mask (various format support, autofix mode)
  • Dynamic/on-the-fly mask
  • Pattern mask
    • show placeholder always and only when necessary
    • unmasked value can contain fixed parts
    • optional input parts (greedy)
    • custom definitions
    • reusable blocks
    • secure text entry
    • Enum and Range masks
  • convert and format values with pipe

Plugins

Install

npm install imask and import IMask from 'imask';

or use CDN:

<script src="https://unpkg.com/imask"></script>

Build & Test

npm run make

Compatibility

Supports all major browsers. Can also be used with outdated browsers. See how

Getting help

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

About

vanilla javascript input mask

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.5%
  • JavaScript 3.5%
  • HTML 2.9%
  • Ruby 0.1%