![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
google-places-address-normalizer
Advanced tools
Quick Start:
npm install google-places-address-normalizer --save
or
yarn add google-places-address-normalizer
Sample Code:
import googlePlacesNormalizer from 'google-places-address-normalizer';
let placesService = new window.google.maps.places.PlacesService(document.getElementById('placesService'));
let placesService.getDetails({
placeId: '123' // some place_id,
}, (place, status) => {
if (status === window.google.maps.places.PlacesServiceStatus.OK) {
const normalizedAddress = googlePlacesNormalizer(place.address_components);
// ... do something with normalizedAddress
}
});
Example input:
[{
"long_name": "916",
"short_name": "916",
"types": ["street_number"]
}, {
"long_name": "Kearny Street",
"short_name": "Kearny St",
"types": ["route"]
}, {
"long_name": "Financial District",
"short_name": "Financial District",
"types": ["neighborhood", "political"]
}, {
"long_name": "San Francisco",
"short_name": "SF",
"types": ["locality", "political"]
}, {
"long_name": "San Francisco County",
"short_name": "San Francisco County",
"types": ["administrative_area_level_2", "political"]
}, {
"long_name": "California",
"short_name": "CA",
"types": ["administrative_area_level_1", "political"]
}, {
"long_name": "United States",
"short_name": "US",
"types": ["country", "political"]
}, {
"long_name": "94133",
"short_name": "94133",
"types": ["postal_code"]
}, {
"long_name": "5107",
"short_name": "5107",
"types": ["postal_code_suffix"]
}]
Example output:
{
"address": "916 Kearny Street",
"neighborhood": "Financial District",
"city": "San Francisco",
"county": "San Francisco County",
"state": "California",
"state_abbreviation": "CA",
"country": "United States",
"country_abbreviation": "US",
"postal_code": "94133",
"postal_code_suffix": "5107"
}
MIT
FAQs
*Quick Start:*
The npm package google-places-address-normalizer receives a total of 264 weekly downloads. As such, google-places-address-normalizer popularity was classified as not popular.
We found that google-places-address-normalizer 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.