@this-empathy/javascript-mask
TypeScript icon, indicating that this package has built-in type declarations

1.1.9 • Public • Published

Javascript Mask

A package to validate strings and input data with vanilla js.

Getting Started

Install

Install via npm:

 npm install @this-empathy/javascript-mask

Install via yarn:

 yarn add @this-empathy/javascript-mask

How to use

Import

import Mask from '@this-empathy/javascript-mask'

Mask Options

Date
Mask.date(value, locale)
Params required Default value
value true ""
locale false pt-BR
Locale

Locale that should be used by the mask. Can be any IETF language tag.

Package Sidebar

Install

npm i @this-empathy/javascript-mask

Weekly Downloads

1

Version

1.1.9

License

BSD-2-Clause

Unpacked Size

18.6 kB

Total Files

53

Last publish

Collaborators

  • lucasyarid
  • spolidorio