1.0.7 • Published 10 years ago

tel-format v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Tel Format

A small JavaScript function to automatically format telephone numbers as a user types in a phone number in a tel input field.

tel format example

DEMO

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

  1. Fork it
  2. Run npm install
  3. Run Grunt watch grunt watch
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am "Add some feature")
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request

License

MIT © Ryan Burgess

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago