1.1.9 • Published 4 years ago

@this-empathy/javascript-mask v1.1.9

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
4 years ago

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)
ParamsrequiredDefault value
valuetrue""
localefalsept-BR
Locale

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

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago