/Maskito is a collection of libraries. Explore them and learn how to install and use them.
It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.
@maskito/core as peer-dependency. /your/project/path>
npm install @maskito/core
Learn more about this library in "Core Concepts" section.
The optional framework-agnostic package. It contains ready-to-use masks with configurable parameters.
/your/project/path>
npm install @maskito/kit
The optional framework-agnostic package. It contains ready-to-use international phone mask based on popular libphonenumber-js package.
/your/project/path>
npm install @maskito/phone
See example Phone Mask
The Angular-specific library. It provides a convenient way to use Maskito as a directive.
/your/project/path>
npm install @maskito/angular
Learn more about this library in "Angular" section.
The React-specific library. It provides a convenient way to use Maskito as a hook.
/your/project/path>
npm install @maskito/react
Learn more about this library in "React" section.
The Vue-specific library. It provides a convenient way to use Maskito as a directive.
/your/project/path>
npm install @maskito/vue
Learn more about this library in "Vue" section.