w3wconverter
Advanced tools
Comparing version 0.0.2 to 0.0.21
21
index.js
@@ -1,1 +0,20 @@ | ||
module.exports = require('./src/lib/w3wc'); | ||
/**** 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/>. ****/ | ||
module.exports = require('./src/lib/w3wc'); | ||
const licenseMessage = 'Copyright (C) 2021 Gareth Whitley. This program comes with ABSOLUTELY NO WARRANTY. Please see the included license file or go to www.https://github.com/gwhitdev/w3wconverter for more details.'; | ||
console.log(licenseMessage); |
{ | ||
"name": "w3wconverter", | ||
"version": "0.0.2", | ||
"version": "0.0.21", | ||
"description": "Coverts postcodes to lat-long coordinates via Google Places API, then into What3Words addresses.", | ||
@@ -9,3 +9,15 @@ "main": "index.js", | ||
}, | ||
"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": { | ||
@@ -12,0 +24,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/>. ****/ | ||
const WebResponse = require('./web-response'); | ||
@@ -2,0 +19,0 @@ const W3WAddress = require('./w3w-address'); |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
46213
11
279
0
10
3
3
1
70