Automatically adds a default area code to phone numbers in Google Contacts
npm
command (Can be installed with Node.js)npm install
to install required dependencies.hostname
and port
in package.json
(localhost
and 3000
by default).npm run authorise
.http://hostname:port
in a web browser and complete the OAuth sign-in process.default_code
in package.json
(GB
by default).http://localhost:3000
in a browser to authorise.npm start
to update contacts’ area code (no need to re-authorise each time).*/10 * * * * npm start --silent
will run every 10 minutes).Feel free to contact me or alternatively open an issue.
Pull requests are also welcome.