
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
gridsome-source-gmaps-geocode
Advanced tools
Geocode data from your Gridsome sources using the Google Maps Geocoding API.
yarn add gridsome-source-gmaps-geocode
Or
npm install --save gridsome-source-gmaps-geocode
Configure the plugin in your gridsome.config.js
module.exports = {
...
plugins: [
{
use: '@gridsome/source-filesystem',
options: {
path: '_content/**/*.md',
typeName: 'Office'
}
},
{
use: 'gridsome-source-gmaps-geocode',
options: {
apiKey: 'your-gmaps-geocode-api-key-here',
sourceTypeName: 'Office',
sourceTypeField: 'address'
}
},
]
}
You will then be able to use access the gecode result for the value of the address
field on each Office
node via the geocode
field on Office
nodes:
{
allOffice {
edges {
node {
geocode {
lat
lng
}
}
}
}
}
FAQs
Geocode data from your Gridsome sources using the Google Maps Geocoding API.
The npm package gridsome-source-gmaps-geocode receives a total of 16 weekly downloads. As such, gridsome-source-gmaps-geocode popularity was classified as not popular.
We found that gridsome-source-gmaps-geocode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.