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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?