GithubHelp home page GithubHelp logo

circleup / tel-format Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanburgess/tel-format

0.0 4.0 1.0 35 KB

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

JavaScript 89.41% HTML 10.59%

tel-format's Introduction

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

tel-format's People

Contributors

mnichols avatar ryanburgess avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

karuhanga

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.