s-mask.js

1.0.2 • Public • Published

S-MASK.JS

format your number in html ( for form coming soon )

Authors

License

MIT

Badges

MIT License GPLv3 License AGPL License

Documentation

Documentation

Installation

Install s-mask.js with npm

  npm install s-mask.js --save

Usage/Examples

in file app.js

    require('s-mask.js');

in file index.html

    <body>
        ...
        <script src="path/app.js"></script>
    </body>

Usage :

    <p s-mask="(###)-###-####">0123456789</p>
    //(012)-345-6789

Related

Here are some related projects

Awesome README

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i s-mask.js

      Weekly Downloads

      1

      Version

      1.0.2

      License

      ISC

      Unpacked Size

      3.91 kB

      Total Files

      6

      Last publish

      Collaborators

      • tasvet