# ng2-country-service

> Angular module for retrieving countries by continent

Latest version **3.0.2** (published 2020-01-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install ng2-country-service
pnpm add ng2-country-service
yarn add ng2-country-service
bun add ng2-country-service
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2020-01-23 |
| First published | 2017-01-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 179.1 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Brant Wellons |
| Maintainers | bwellons, jdjuan |
| Keywords | ng2, countries, world |

## Links

- npm: https://www.npmjs.com/package/ng2-country-service
- Repository: https://github.com/bdwellons/ngx-countries
- Homepage: https://github.com/bdwellons/ngx-countries#readme
- Issues: https://github.com/bdwellons/ngx-countries/issues
- npm.io page: https://npm.io/package/ng2-country-service

## Dependencies (5)

- [karma](https://npm.io/package/karma.md) ^4.4.1
- [jasmine](https://npm.io/package/jasmine.md) ^3.5.0
- [istanbul](https://npm.io/package/istanbul.md) ^0.4.5
- [jasmine-core](https://npm.io/package/jasmine-core.md) ^2.4.1
- [karma-typescript](https://npm.io/package/karma-typescript.md) ^4.1.1

## Recent versions

- 3.0.2 (latest) — 2020-01-23
- 3.0.1 — 2020-01-23
- 2.0.0 — 2017-03-25
- 1.0.3 — 2017-01-13
- 1.0.2 — 2017-01-13
- 1.0.1 — 2017-01-13
- 1.0.0 — 2017-01-13

## README

# README #

Angular2 Service for retrieving a list of Countries by continents

### How do I get set up? ###

- Import the module:
	- `import { CountryModule } from 'ng2-countries';`
- Add it as an import:
	- `imports: [ CountryModule ]`
- Inject it in the constructor of your component:
	- `constructor(private countryService: CountryService) {}`
- Call the methods:
	- `this.countryService.getNorthAmericanCountries();`

### Methods ###
* getNorthAmericanCountries() -
* getEuropeanCountries() -
* getAsianCountries() -
* getAfricanCountries() -
* getOceaniaCountries() - Australia, etc
* getSouthAmericanCountries() -
* getAntarcticaCountries() -


### Contribution guidelines ###

* Code
* Write tests
* Pull Request

### Improvement ideas, general non-sense... ###

* Brant Wellons <Brant@BrantWellons.com>

---
_Source: https://npm.io/package/ng2-country-service · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
