geolite2-country 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +34 -0
- package/GeoLite2-Country.mmdb.gz +0 -0
- package/README.md +16 -0
- package/package.json +25 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v3
|
|
16
|
+
- uses: actions/setup-node@v3
|
|
17
|
+
with:
|
|
18
|
+
node-version: 16
|
|
19
|
+
- run: npm ci
|
|
20
|
+
- run: npm test
|
|
21
|
+
|
|
22
|
+
publish-npm:
|
|
23
|
+
needs: build
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v3
|
|
27
|
+
- uses: actions/setup-node@v3
|
|
28
|
+
with:
|
|
29
|
+
node-version: 16
|
|
30
|
+
registry-url: https://registry.npmjs.org/
|
|
31
|
+
- run: npm ci
|
|
32
|
+
- run: npm publish
|
|
33
|
+
env:
|
|
34
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
Binary file
|
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# GeoLite2-Country (MaxMind.com) CDN files
|
|
2
|
+
|
|
3
|
+
GeoLite2-Country.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)
|
|
4
|
+
|
|
5
|
+
## Download link
|
|
6
|
+
```
|
|
7
|
+
https://cdn.jsdelivr.net/npm/geolite2-country@1.0.0/GeoLite2-Country.mmdb.gz
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Source
|
|
11
|
+
```
|
|
12
|
+
https://cdn.jsdelivr.net/npm/geolite2-country/
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## License
|
|
16
|
+
[CC Attribution-ShareAlike 4.0](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en)
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "geolite2-country",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "GeoLite2-Country.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": ""
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/wp-statistics/GeoLite2-Country.git"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"geoip",
|
|
14
|
+
"maxmind",
|
|
15
|
+
"country",
|
|
16
|
+
"ip",
|
|
17
|
+
"location"
|
|
18
|
+
],
|
|
19
|
+
"author": "VeronaLabs",
|
|
20
|
+
"license": "CC-BY-NC-SA-4.0",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/wp-statistics/GeoLite2-Country/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/wp-statistics/GeoLite2-Country#readme"
|
|
25
|
+
}
|