Socket
Socket
Sign inDemoInstall

@tadashi/mask

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tadashi/mask

The simple and tiny script for input mask


Version published
Weekly downloads
92
decreased by-29.77%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Mask

Build Status Coverage Status devDependency Status XO code style

The simple and tiny script for input mask

Install

$ npm i -S @tadashi/mask

Usage

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no">
    <title>Example</title>
  </head>
  <body>
    <input id="telefone" type="text" data-mask="(99) 9-9999-9999">
    <script type="module">
      import Mask from './node_modules/@tadashi/mask/dist/index.js'
      const mask = new Mask(telefone)
    </script>
  </body>
</html>

License

MIT © Thiago Lagden

Keywords

FAQs

Last updated on 29 Oct 2020

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