w3wconverter
Advanced tools
Comparing version 1.0.21 to 1.0.22
{ | ||
"name": "w3wconverter", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "Coverts postcodes to lat-long coordinates via Google Places API, then into What3Words addresses.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"license": "ISC", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gwhitdev/w3wconverter.git" | ||
}, | ||
"keywords": [ | ||
"what3words", | ||
"google" | ||
], | ||
"author": "Gareth Whitley", | ||
"license": "GNU GPL v3.0", | ||
"bugs": { | ||
"url": "https://github.com/gwhitdev/w3wconverter/issues" | ||
}, | ||
"dependencies": { | ||
@@ -10,0 +23,0 @@ "axios": "^0.21.1", |
@@ -7,2 +7,5 @@ # What3Words Converter | ||
## Config | ||
You will need to create a .env file and set the following variables with your own API keys: GOOGLE_API_KEY and W3W_API_KEY. | ||
You will need to create a .env file and set the following variables with your own API keys: GOOGLE_API_KEY and W3W_API_KEY. | ||
## License | ||
GNU General Public License v3.0 |
@@ -0,1 +1,18 @@ | ||
/**** W3WConverter turns a postcode into a set of lat-long coordinates via the Google Places API | ||
and then, in turn, converts these into a What3Words address via the W3W API. | ||
Copyright (C) 2021 Gareth Whitley | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. ****/ | ||
const axios = require('axios'); | ||
@@ -2,0 +19,0 @@ |
@@ -0,1 +1,18 @@ | ||
/**** W3WConverter turns a postcode into a set of lat-long coordinates via the Google Places API | ||
and then, in turn, converts these into a What3Words address via the W3W API. | ||
Copyright (C) 2021 Gareth Whitley | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. ****/ | ||
const fs = require('fs'); | ||
@@ -2,0 +19,0 @@ const neatCsv = require('neat-csv'); |
@@ -0,1 +1,18 @@ | ||
/**** W3WConverter turns a postcode into a set of lat-long coordinates via the Google Places API | ||
and then, in turn, converts these into a What3Words address via the W3W API. | ||
Copyright (C) 2021 Gareth Whitley | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. ****/ | ||
const axios = require('axios'); | ||
@@ -2,0 +19,0 @@ |
@@ -0,1 +1,18 @@ | ||
/**** W3WConverter turns a postcode into a set of lat-long coordinates via the Google Places API | ||
and then, in turn, converts these into a What3Words address via the W3W API. | ||
Copyright (C) 2021 Gareth Whitley | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. ****/ | ||
class WebResponse { | ||
@@ -2,0 +19,0 @@ #records = []; |
@@ -0,1 +1,18 @@ | ||
/**** W3WConverter turns a postcode into a set of lat-long coordinates via the Google Places API | ||
and then, in turn, converts these into a What3Words address via the W3W API. | ||
Copyright (C) 2021 Gareth Whitley | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. ****/ | ||
const createCsvWriter = require('csv-writer').createObjectCsvWriter; | ||
@@ -2,0 +19,0 @@ |
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
46213
11
279
0
1
10
3
2
70