Skip to content

Collection of libraries to create an input mask which ensures that user types value according to predefined format.

License

Notifications You must be signed in to change notification settings

nextZed/maskito

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maskito

npm version All packages CI

Maskito logo

DocumentationSubmit an IssueContact Us

Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

Why Maskito

  • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.

  • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.

  • Server Side Rendering and Shadow DOM support.

  • You can use it with HTMLInputElement and HTMLTextAreaElement.

  • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have a separate package for Angular as well and React is coming soon.

  • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

No text field with invalid value! Use Maskito. Mask it! Learn more about the library in our documentation.

Contributing

If you have suggestions for how Maskito could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

🆓 Feel free to use our library in your commercial and private applications

All Maskito packages are covered by Apache 2.0

Read more about this license here

About

Collection of libraries to create an input mask which ensures that user types value according to predefined format.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.9%
  • HTML 8.4%
  • Other 1.7%