brainstate

RobinHerbots/Inputmask · source

Snapshot 0 · 2026-11-04T12:47:21Z · JavaScript · MIT

Content fingerprint1373bcf0e234f26156b8a607f6446d760d9b33ce7642085c6c59e206d67efe31

GitHub description at capture

Input Mask plugin

README at capture

# Inputmask

Copyright (c) 2010 - 2026 Robin Herbots Licensed under the MIT license (<https://opensource.org/licenses/MIT>)

The Inputmask has a very permissive license and this will stay that way. But when you use the Inputmask in a commercial setting, be so honest to make a small donation.
This will be appreciated very much.

[![donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZNR3EB6JTMMSS)

![npm](https://img.shields.io/npm/v/inputmask) ![npm (tag)](https://img.shields.io/npm/v/inputmask/next) ![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/inputmask)

Inputmask is a javascript library that creates an input mask. Inputmask can run against vanilla javascript, jQuery, and jqlite.

An inputmask helps the user with the input by ensuring a predefined format. This can be useful for dates, numerics, phone numbers, ...

## Framework packages

First-party wrappers are available as separate packages:

- [`@inputmask/react`](./packages/react)
- [`@inputmask/vue`](./packages/vue)
- [`@inputmask/svelte`](./packages/svelte)
- [`@inputmask/angular`](./packages/angular)
- [`@inputmask/jquery`](./packages/jquery)

Install the latest versions of the wrappers and of `inputmask`.

See [packages/README.md](./packages/README.md) for usage, extension
registration and build/test instructions.

## Documentation and demo page

<https://robinherbots.github.io/Inputmask/>

Thanks to [Browserstack](https://www.browserstack.com) for providing a free license, so we can automate testing in different browsers and devices.

<a href="https://www.browserstack.com">
  <img src="https://www.browserstack.com/images/layout/browserstack-logo-600x315.png" alt="Browserstack" width="150">
</a>