Socket
Socket
Sign inDemoInstall

@tadashi/mask

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tadashi/mask

The simple and tiny script for input mask


Version published
Maintainers
1
Created
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

<html>
  <head></head>
  <body>
    <input id="telefone" type="text" data-mask="(99) 9-9999-9999">
    <script src="./app.js" type="module"></script>
   </body>
</html>
import Mask from './node_modules/@tadashi/mask/src/index.js'

const el = document.getElementById(id)
const mask = new Mask(el)

License

MIT © Thiago Lagden

Keywords

FAQs

Package last updated on 16 Apr 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc