Socket
Socket
Sign inDemoInstall

react-maskfy

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-maskfy

A React library without a dependency... Very simple to install and use. With only 2kb (gzip) code, it's also well accepted on mobile devices


Version published
Maintainers
1
Install size
5.68 kB
Created

Readme

Source

Maskfy - Input Mask Simple

A React library without a dependency... Very simple to install and use. With only 2kb (gzip) code, it's also well accepted on mobile devices

Install

Install Maskfy

npm i react-maskfy

Usage

import Maskfy from './../../Components/Maskfy';

...

<Maskfy mask={'(99) 9999-99999'}>
  <input id="Phone" name="Phone" />
</Maskfy>
or
<Maskfy mask={'(99) 9999-99999'}>
  <TextField id="Phone" label="Phone" />
</Maskfy>

Component (props)

<Maskfy mask={'999.999,99'} reverse={true} size={3}>
  <input id="Money" name="Money" />
</Maskfy>

License

The MIT License Copyright 2017 © Filipe Guarnieri

Keywords

FAQs

Last updated on 07 Aug 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc