Skip to content

Commit

Permalink
Update README with beta badge and installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
meeDamian committed Sep 4, 2024
1 parent ef985a8 commit a7d725f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# country-emoji

[![npm_svg]][npm_url]
[![npm_alpha_svg]][npm_url]
[![npm_beta_svg]][npm_url]
[![dl_url]][npm_url]
[![coveralls_svg]][coveralls_url]
[![codecov_svg]][codecov_url]
Expand All @@ -10,7 +10,7 @@


[npm_svg]: https://img.shields.io/npm/v/country-emoji
[npm_alpha_svg]: https://img.shields.io/npm/v/country-emoji/alpha
[npm_beta_svg]: https://img.shields.io/npm/v/country-emoji/beta
[npm_url]: https://www.npmjs.com/package/country-emoji

[dl_url]: https://img.shields.io/npm/dw/country-emoji
Expand All @@ -34,14 +34,14 @@ Converts between country names, ISO 3166-1 codes and flag emojis. **Has zero dep
```
$ npm install --save country-emoji
# or
$ npm install --save country-emoji@alpha
$ npm install --save country-emoji@beta
```

## Usage

```js
const {flag, code, name, countries} = require('country-emoji');
// or
// or (beta)
import {flag, code, name, countries} from 'country-emoji';

flag('CL')
Expand Down

0 comments on commit a7d725f

Please sign in to comment.