All Projects → brunobertolini → remask

brunobertolini / remask

Licence: MIT license
A multi-mask lib

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to remask

FormatEditText
格式化输入框,可用来格式化数字、金额、号码等; FormatEditText can be used as a formatted text input box
Stars: ✭ 121 (+22.22%)
Mutual labels:  input-mask, mask
PhoneNumberKit
Android Kotlin library to parse and format international phone numbers. Country code picker.
Stars: ✭ 124 (+25.25%)
Mutual labels:  mask
Text Mask
Input mask for React, Angular, Ember, Vue, & plain JavaScript
Stars: ✭ 8,102 (+8083.84%)
Mutual labels:  input-mask
vue-input-mask
Yet another Vue component for input masking
Stars: ✭ 18 (-81.82%)
Mutual labels:  mask
prompt-password-strength
Custom mask function for prompt-password that adds a 'strength progress meter' that changes color as the password strength increases. Uses zxcvbn, the popular password strength estimation tool brought to you by dropbox.
Stars: ✭ 18 (-81.82%)
Mutual labels:  mask
vue-jquery-mask
Vue.js component for jQuery mask plugin
Stars: ✭ 19 (-80.81%)
Mutual labels:  input-mask
js-input-masking
No description or website provided.
Stars: ✭ 37 (-62.63%)
Mutual labels:  input-mask
color-pop
🌈 Automatic Color Pop effect on any image inspired by Google Photos
Stars: ✭ 21 (-78.79%)
Mutual labels:  mask
react-native-masked-input-text
A typescript masked input component for react-native
Stars: ✭ 14 (-85.86%)
Mutual labels:  mask
Depth-Guided-Inpainting
Code for ECCV 2020 "DVI: Depth Guided Video Inpainting for Autonomous Driving"
Stars: ✭ 50 (-49.49%)
Mutual labels:  mask
input-mask
🎭 @ngneat/input-mask is an angular library that creates an input mask
Stars: ✭ 174 (+75.76%)
Mutual labels:  input-mask
react-native-floating-label-input
A customizable React Native TextInput with its placeholder always shown. Includes masks, global styles, character count, and a bunch else.
Stars: ✭ 206 (+108.08%)
Mutual labels:  mask
pixel-mask-generator
🎮 🎲 Procedural pixel generator (mask) + visualizer
Stars: ✭ 15 (-84.85%)
Mutual labels:  mask
ngx-ion-simple-mask
Input mask for Angular/Ionic
Stars: ✭ 21 (-78.79%)
Mutual labels:  mask
react-text-mask-hoc
A higher-order text-mask component decorator for React and React Native.
Stars: ✭ 18 (-81.82%)
Mutual labels:  input-mask
Cleave.js
Format input text content when you are typing...
Stars: ✭ 17,098 (+17170.71%)
Mutual labels:  input-mask
mask export
Export your mask elements as extension
Stars: ✭ 45 (-54.55%)
Mutual labels:  mask
masked-input
Mask input with simple API and rich customization
Stars: ✭ 44 (-55.56%)
Mutual labels:  mask
FGRoute
Get your device ip address, router ip or wifi ssid
Stars: ✭ 128 (+29.29%)
Mutual labels:  mask
rt-utils
A minimal Python library to facilitate the creation and manipulation of DICOM RTStructs.
Stars: ✭ 89 (-10.1%)
Mutual labels:  mask

reMask

A multi-mask lib

Install

yarn add vanilla-masker remask

Usage

import { mask } from 'remask'

const value = 'ABC1C83'
const pattern = 'AAA - 9S99'

mask(value, pattern)
// ABC - 1C83

Pattern can be a pattern array, so remask choose one pattern based on pattern/value length match

const patterns = ['999.999.999-99', '99.999.999/9999-99']

mask('12345678901', patterns) // gets firts pattern (999.999.999-99)
// 123.456.789-01

mask('12345678000106', patterns) // gets second pattern (99.999.999/9999-99)
// 12.345.678/0001-06

License

MIT © Bruno Bertolini

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].