{"library":"imask","type":"library","category":null,"description":"IMask.js is a robust vanilla JavaScript input mask library that dynamically formats user input in form fields, ensuring data consistency and improving user experience. It supports a wide array of mask types including pattern, number, date, range, enum, and dynamic masks, and allows for custom definitions and repeating blocks. The library is currently in active development, with version 7.6.1 being the latest stable release, featuring frequent minor updates to address bugs and introduce enhancements like autofix options and improved IME support. A key differentiator is its framework-agnostic core, accompanied by dedicated plugins for popular frameworks such as React, Vue, Angular, Svelte, and Solid, enabling consistent masking behavior across various JavaScript ecosystems. It has no external dependencies and is designed for broad browser compatibility.","language":"javascript","status":"active","version":"7.6.1","tags":["javascript","inputmask","input","mask","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install imask","imports":["import IMask from 'imask';","import IMask from 'imask';\nimport 'imask/masked/number'; // for number mask\n// or specific masks like import 'imask/masked/date';\nconst element = document.getElementById('my-input');\nconst mask = IMask(element, { mask: Number });","import IMask from 'imask';\nconst patternMasked = IMask.MaskedPattern({ mask: '+{7}(000)000-00-00' });"]},{"cmd":"yarn add imask","imports":[]},{"cmd":"pnpm add imask","imports":[]}],"homepage":"https://imask.js.org","github":"https://github.com/uNmAnNeR/imaskjs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/imask","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/imask/compatibility"}}