New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

countrily-data

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

countrily-data

Compiled data for the countrily node lib

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

countrily-data

Inspired by the work of the authors of countryjs. This is a single file compilation of all the countries data.

Table of Contents

Install

npm install countrily-data
cd node_modules/countrily-data
npm run build

The Build command builds/rebuilds the index.js file for easy compilation for non nodejs environments.

Usage

To access countries data just var data = require('countrily-data')

API

Test

  • Make the changes you desire
  • Ensure all changes have a new test in the test/ folder, and run:
npm test

Disclaimer

This is being maintained in the contributor's free time, and as such, may contain minor errors in regards to some countries. Most of the information included in this library is what is listed on Wikipedia. If there is an error, please let me know and I will do my best to correct it.

License (ISC)

Copyright (c) 2017, Timi Aiyemo cozzbie@gmail.com

Please see licence file.

FAQs

Package last updated on 15 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts