
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@flatfile/plugin-enrich-geocode
Advanced tools
A Flatfile plugin for geocoding addresses using the Google Maps Geocoding API
The @flatfile/plugin-enrich-geocode
plugin for geocoding addresses using the Google Maps Geocoding API. This plugin enables automatic geocoding of addresses, reverse geocoding of coordinates, and enrichment of location data within your Flatfile imports.
Event Type:
listener.on('commit:created')
The enrichGeocode
function accepts a configuration object with the following properties:
sheetSlug
(string): The slug of the sheet containing address data. Default: "addresses"addressField
(string): The field name for the address input. Default: "address"latitudeField
(string): The field name for latitude. Default: "latitude"longitudeField
(string): The field name for longitude. Default: "longitude"autoGeocode
(boolean): Whether to automatically geocode records. Default: trueTo install the plugin, use npm:
npm install @flatfile/plugin-enrich-geocode
import type { FlatfileListener } from "@flatfile/listener";
import enrichGeocode from "@flatfile/plugin-enrich-geocode";
export default function (listener: FlatfileListener) {
listener.use(
enrichGeocode(listener, {
sheetSlug: 'customer_addresses',
addressField: 'full_address',
latitudeField: 'lat',
longitudeField: 'lng'
})
);
// ... rest of your Flatfile setup
}
FAQs
A Flatfile plugin for geocoding addresses using the Google Maps Geocoding API
We found that @flatfile/plugin-enrich-geocode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.