awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
uNmAnNeR avatar

uNmAnNeR/imaskjs

0
View on GitHub↗
imask.js.org↗

Imaskjs

imaskjs is a JavaScript input mask library and DOM input manager used to enforce specific patterns, data types, and ranges on user input in real-time. It serves as a data formatting library and input validation tool that transforms raw input values into formatted strings using masks and custom pipes.

The project provides dynamic masking capabilities, allowing input patterns to change or switch in real-time based on the characters a user types. It supports complex input constraints including regular expressions, numerical ranges, date-based verification, and character enumerations.

The library covers a broad range of input processing and data management tasks, including pre- and post-processing transformations, raw value extraction for API submission, and the application of masks to both standard HTML input fields and contenteditable elements.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Input Masks - Enforces specific formatting patterns, data types, and ranges on user input fields in real-time.
  • Real-time Input Formatting - Enforces specific patterns and data types in JavaScript text fields by dynamically formatting input as it is typed.
  • Field Value Extraction - Retrieves raw input data by removing formatting characters and placeholders for backend system submission.
  • Raw Value Extraction - Retrieves the underlying raw data separately from the formatted display string to ensure data integrity.
  • Raw Value Extraction - Separates formatted display strings from raw values to ensure data integrity when sending input to an API.
  • Pattern-Based Validators - Restricts user input by matching characters against predefined tokens or regular expressions.
  • Dynamic Mask Switching - Selects the most appropriate mask from a collection based on the characters the user types in real time.
  • DOM Input Managers - Applies formatting and constraints to standard HTML input fields and contenteditable elements.
  • Input Data Formatting - Transforms raw user text into standardized, masked strings during the data entry phase.
  • Input Event Interceptors - Intercepts keyboard and input events to apply formatting in real-time before the browser updates the DOM.
  • Dynamic Mask Definitions - Creates input patterns that change on the fly based on the current value or custom logic.
  • Masking Libraries - Provides a comprehensive JavaScript library for enforcing specific patterns, data types, and ranges on user input in real-time.
  • Pattern Constraints - Restricts user input to specific sequences of characters using predefined tokens and custom definitions.
  • Dynamic Masking - Changes the expected input pattern in real time based on what the user is typing or selecting.
  • Input Validation Constraints - Restricts text entry using regular expressions, numerical ranges, and date-based constraints.
  • Input Value Transformations - Processes raw user input through a sequence of callbacks to format data in real time.
  • Real-Time Input Validation - Forces user input to match specific patterns, ranges, or types during the active typing process.
  • Numeric Range Constraints - Restricts number inputs to a specific minimum and maximum range to ensure data integrity.
  • Input Transformation Pipelines - Processes values through a pipeline to convert or reformat data as it is entered.
  • Data Transformation Pipelines - Transforms values through a sequence of custom conversion and formatting functions before they are displayed.
  • Range Constraints - Enforces minimum and maximum numerical value thresholds for integer inputs.
  • Input - Transforms the final masked value using a callback after the user completes their interaction with the interface.
  • Regular Expression Validations - Forces user input to match specific patterns using regular expressions or fixed patterns.
  • Input Pre-processing Hooks - Modifies input characters or strings using callbacks before the system applies them to the active mask.
  • Input Element Wrappers - Provides a standardized wrapper to manage interactions across different input types, including text fields and contenteditable elements.
  • Field Customization - Modifies the processing and interaction logic of input strings via custom pipelines and callbacks.
  • Date Input Validation - Provides validation rules to restrict date inputs via temporal boundaries or custom logic.
  • Mask Behavior Configurations - Controls how placeholders appear and manages how existing text is overwritten during the input process.
  • Value Synchronization - Maintains a clear distinction and synchronization between the formatted display string and the raw underlying data value.
  • Custom Logic Validation - Executes custom validation functions to perform complex checks on input values beyond simple pattern matching.
  • Enumeration Constraints - Limits user input to a specific set of allowed characters or strings from a provided enumeration.
  • Numeric Constraints - Limits input to integers or decimals with configurable scales, radix characters, and thousands separators.
  • Logic Customizers - Transforms input data using custom functions or pipes to apply specific formatting rules during typing.
  • Form Data Validation - Restricts input values to specific ranges, dates, or enumerations to prevent invalid data submission.
  • Miscellaneous Tools - Input masking library for JavaScript.
5,187 stars·274 forks·TypeScript·MIT·22 views

Star history

Star history chart for unmanner/imaskjsStar history chart for unmanner/imaskjs

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Imaskjs

These projects share indexed features with Imaskjs. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • igorescobar/jquery-mask-pluginigorescobar avatar

    igorescobar/jQuery-Mask-Plugin

    4,760View on GitHub↗

    This project is a jQuery input mask plugin and library used for enforcing specific formats on form fields and HTML elements. It functions as a form input masking and sanitization tool that restricts character entry and automatically inserts delimiters for patterns such as dates and phone numbers. The library supports flexible masking through optional and recursive patterns that expand or contract based on the volume of data entered. It provides dynamic mask management, allowing formatting rules to be changed or removed on existing elements without reloading the page. The tool includes capabi

    JavaScripthtml-elementjavascriptjquery-mask-plugin
    View on GitHub↗4,760
  • text-mask/text-masktext-mask avatar

    text-mask/text-mask

    8,217View on GitHub↗

    text-mask is a JavaScript library for enforcing consistent text formats and dynamic masking patterns in web input fields. It provides a suite of utilities to constrain text field entries to predefined masks and validators, ensuring data consistency across multiple frontend frameworks including React, Angular, and Vue. The library supports dynamic pattern generation using functions to handle variable data formats and localized patterns. It includes capabilities for processing bulk text entries, such as pasted content and browser auto-fill data, while maintaining the integrity of the defined in

    JavaScriptangularemberinput-mask
    View on GitHub↗8,217
  • arktypeio/arktypearktypeio avatar

    arktypeio/arktype

    7,780View on GitHub↗

    Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida

    TypeScriptjavascriptparsingruntime-typechecking
    View on GitHub↗7,780
  • nosir/cleave.jsnosir avatar

    nosir/cleave.js

    17,867View on GitHub↗

    Cleave.js is a JavaScript library that applies real-time visual formatting to form fields as users type. It provides specialized utilities to enforce visual patterns for credit cards, phone numbers, dates, times, and large numerals. The library includes predefined formatting rules for common data types, such as detecting credit card issuers to apply correct spacing and managing country-specific regional patterns for international phone numbers. It also supports large numeral grouping using Western, Indian, and Chinese numbering systems. Users can define custom input patterns using specific b

    JavaScriptcredit-cardcreditcardinput
    View on GitHub↗17,867
Compare all 30 related projects→

Frequently asked questions

What does unmanner/imaskjs do?

imaskjs is a JavaScript input mask library and DOM input manager used to enforce specific patterns, data types, and ranges on user input in real-time. It serves as a data formatting library and input validation tool that transforms raw input values into formatted strings using masks and custom pipes.

What are the main features of unmanner/imaskjs?

The main features of unmanner/imaskjs are: Input Masks, Real-time Input Formatting, Field Value Extraction, Raw Value Extraction, Pattern-Based Validators, Dynamic Mask Switching, DOM Input Managers, Input Data Formatting.

Which projects share features with unmanner/imaskjs?

Projects with overlapping indexed features include: igorescobar/jquery-mask-plugin — This project is a jQuery input mask plugin and library used for enforcing specific formats on form fields and HTML… text-mask/text-mask — text-mask is a JavaScript library for enforcing consistent text formats and dynamic masking patterns in web input… arktypeio/arktype — Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with… nosir/cleave.js — Cleave.js is a JavaScript library that applies real-time visual formatting to form fields as users type. It provides… marmelroy/phonenumberkit — PhoneNumberKit is a Swift framework for parsing, formatting, and validating international phone numbers according to… aterrien/jquery-knob — jQuery Knob is a rotatable dial UI widget for web pages that translates circular drag movements into numerical values.…