Skip to content

lagden/mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 25, 2023
9d083a9 · Oct 25, 2023

History

64 Commits
Oct 25, 2023
Oct 25, 2023
Jun 1, 2023
Jun 1, 2023
Oct 25, 2023
Oct 25, 2023
Oct 25, 2023
Dec 9, 2017
Oct 25, 2023
Jun 1, 2023
Sep 22, 2022
Dec 9, 2017
Oct 25, 2023
Oct 25, 2023

Repository files navigation

Mask

NPM version Build Status Coverage Status XO code style

The simple and tiny script for input mask.

Install

$ npm i @tadashi/mask

Usage

See more examples here: https://codepen.io/lagden/pen/XzLYJE?editors=1010

<input id="telefone" type="text" data-mask="(99) 9-9999-9999">

<script type="module">
  import Mask from 'https://unpkg.com/@tadashi/mask@{version}/src/mask.js'

  const maskTelefone = new Mask(telefone)
</script>

Team

Lagden JonatasAmaral

Donate ❤️

  • BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4

License

MIT © Thiago Lagden