Installations
npm install country-telephone-data-fork
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
14.15.1
NPM Version
6.14.8
Score
71.8
Supply Chain
85.7
Quality
75
Maintenance
100
Vulnerability
100
License
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
mukeshsoni
Download Statistics
Total Downloads
451
Last Day
1
Last Week
2
Last Month
7
Last Year
47
GitHub Statistics
41 Stars
32 Commits
37 Forks
5 Watching
2 Branches
7 Contributors
Bundle Size
13.22 kB
Minified
5.32 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.6.4
Package Id
country-telephone-data-fork@0.6.4
Unpacked Size
18.73 kB
Size
6.95 kB
File Count
7
NPM Version
6.14.8
Node Version
14.15.1
Total Downloads
Cumulative downloads
Total Downloads
451
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
133.3%
7
Compared to previous month
Last year
-68.9%
47
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
Country telephone data
How to use it -
npm install country-telephone-data
-- in your file
var countryTelData = require('country-telephone-data')
countryTelData.allCountries // has data as array of objects
countryTelData.iso2Lookup // has data as a map (object) indexed by iso2 name of the country
Contains data about a country's telephone codes. It has information on the country's ISD code, the country's ISO name, and a subscribed format for the telephone numbers in that country.
E.g.
{
name: "Zimbabwe",
iso2: "zw",
dialCode: "263",
format: "+...-.-......",
hasAreaCodes: false
}
The required module is an object with following structure -
{
allCountries: allCountries,
iso2Lookup: iso2Lookup
}
allCountries is an array with data on each country as an object with the following format -
{
name: "Zimbabwe",
iso2: "zw",
dialCode: "263",
format: "+...-.-......",
hasAreaCodes: false
}
iso2Lookup is the same data as alLCountries
, but as a map, indexed by the iso2
name of the country -
{
...
zw: {
name: "Zimbabwe",
iso2: "zw",
dialCode: "263",
format: "+...-.-......",
hasAreaCodes: false
},
...
}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 5/24 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 11 are checked with a SAST tool
Score
2.9
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More