An open API service indexing awesome lists of open source software.

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

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/xo

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

```html

import Mask from 'https://unpkg.com/@tadashi/mask@{version}/src/mask.js'

const maskTelefone = new Mask(telefone)

```

## Team

[Lagden](https://github.com/lagden)
[JonatasAmaral](https://github.com/JonatasAmaral)

## Donate ❤️

- BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4

## License

MIT © [Thiago Lagden](https://github.com/lagden)