imaskjs

vanilla javascript input mask

Github星跟踪图

imaskjs

vanilla javascript input mask

Build Status
Financial Contributors on Open Collective Coverage Status
npm version
License: MIT
lerna

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
    • 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 and IE11+ need to support older?

Docs, Examples, Demo

https://imask.js.org/

Many Thanks to

@Viktor Yakovlev

@Alexander Kiselev

Support Development

Paypal

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]










主要指标

概览
名称与所有者uNmAnNeR/imaskjs
主编程语言TypeScript
编程语言JavaScript (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2016-11-10 13:04:29
推送于2024-10-11 15:09:36
最后一次提交2024-10-11 18:09:30
发布数108
最新版本名称v7.6.1 (发布于 2024-05-21 10:16:35)
第一版名称0.1.0 (发布于 )
用户参与
星数5.1k
关注者数30
派生数266
提交数1k
已启用问题?
问题数762
打开的问题数66
拉请求数71
打开的拉请求数15
关闭的拉请求数106
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?