Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

mndrix/nanp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

:- use_module(library(nanp), []).

?- nanp:format(e_164,nanp(760,666,8462),String).
String = "+17606668462".

?- nanp:format(traditional,Num,`(760) 666-8462`).
Num = nanp(760, 666, 8462).

Description

A library for working with telephone numbers assigned under the North American Numbering Plan. This includes telephone numbers from many countries in North America and the Caribbean.

Installation

Using SWI-Prolog 7.1 or later:

?- pack_install(nanp).

This module uses semantic versioning.

Source code available and pull requests accepted at http://github.com/mndrix/nanp

About

Prolog library for working with telephone numbers in the North American Numbering Plan

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages