https://github.com/lagden/mask
The simple and tiny script for input mask
https://github.com/lagden/mask
form format input mask maskedinput
Last synced: 6 months ago
JSON representation
The simple and tiny script for input mask
- Host: GitHub
- URL: https://github.com/lagden/mask
- Owner: lagden
- License: mit
- Created: 2017-12-09T02:52:20.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-18T14:10:21.000Z (11 months ago)
- Last Synced: 2024-12-12T06:55:46.376Z (6 months ago)
- Topics: form, format, input, mask, maskedinput
- Language: JavaScript
- Homepage: https://codepen.io/lagden/pen/XzLYJE
- Size: 896 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# Mask
[![NPM version][npm-img]][npm]
[![Build Status][ci-img]][ci]
[![Coverage Status][coveralls-img]][coveralls]
[![XO code style][xo-img]][xo][npm-img]: https://img.shields.io/npm/v/@tadashi/mask.svg
[npm]: https://www.npmjs.com/package/@tadashi/mask
[ci-img]: https://github.com/lagden/mask/actions/workflows/nodejs.yml/badge.svg
[ci]: https://github.com/lagden/mask/actions/workflows/nodejs.yml
[coveralls-img]: https://coveralls.io/repos/github/lagden/mask/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/lagden/mask?branch=master
[xo-img]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg
[xo]: https://github.com/sindresorhus/xoThe 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
```html
import Mask from 'https://unpkg.com/@tadashi/mask@{version}/src/mask.js'
const maskTelefone = new Mask(telefone)
```
## Team
[
](https://github.com/lagden)
[](https://github.com/JonatasAmaral)
## Donate ❤️
- BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4
## License
MIT © [Thiago Lagden](https://github.com/lagden)