Socket
Socket
Sign inDemoInstall

w3wconverter

Package Overview
Dependencies
96
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.21 to 1.0.22

index.js

17

package.json
{
"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",

5

README.md

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc