tel-format
v1.0.7
Published
A small JavaScript function to automatically format telephone numbers as a user types in a phone number in a tel input field.
Downloads
28
Maintainers
Readme
Tel Format
A small JavaScript function to automatically format telephone numbers as a user types in a phone number in a tel input field.
Install
npm install tel-format --save-dev
Use
Module
var telFormat = require('tel-format');
telFormat();
Browser
<script src="js/tel-format.min.js" type="text/javascript"></script>
Release History
- 1.0.7: Add browser JavaScript file.
- 1.0.6: Update example.
- 1.0.5: Add screenshot.
- 1.0.4: Add demo link.
- 1.0.3: Update index.js.
- 1.0.2: Add Gruntfile.
- 1.0.1: Fix delete issues.
- 1.0.0: Initial release.
Contributing
- Fork it
- Run
npm install
- Run Grunt watch
grunt watch
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
MIT © Ryan Burgess