
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
place-search-sdk
Advanced tools
Search for near by place, get geolocation, place images and place details
Search for near by place, get geolocation, place images and place details!
$ npm i place-search-sdk
Note: You'll need to Enable place API key in google developer console. Follow these steps of officially document. Node Version: > 6.x.x
const googlePlace = require('place-search-sdk');
const client = new googlePlace('API-KEY')
client.getGeoLocation('jalandhar')
.then(latlong => {
/*
{
lat: 30.05758,
lng: 31.94734
}
*/
});
client.nearBySearch({geoCode: {lat:30.097575, lng: 31.3784737} , searchType: 'restaurant'})
.then(result=>{
/*[{
return all places with details title, place id, photo reference, geomatric location, rating etc etc.
name:
icon:
rating:
photo_reference:
address:
placeId:
}]
*/
});
photo_reference is a id returned by nearby search.
'maxwidth','maxheight' have default value to 400px, 400px respectively.
client.getPlaceImage('photo_reference', 'maxwidth','maxheight')
.then(result=>{
/*[{
will return image of place.
}]
*/
});
placeId is a id returned by nearby search.
client.getPlaceDetails('placeid')
.then(result=>{
/*[{
will return all details of a place. like
address:
phoneNumber:
phoneNumberInternational:
rating:
website:
utc_offset:
photos:
reviews:
opening_hours:
}]
*/
});
FAQs
Search for near by place, get geolocation, place images and place details
The npm package place-search-sdk receives a total of 0 weekly downloads. As such, place-search-sdk popularity was classified as not popular.
We found that place-search-sdk 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.