Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
google-maps-api-typings
Advanced tools
This project contains the TypeScript interface declaration of the @google/maps
Node.JS API project.
It also provides inline documentation from the official Google Maps Documentation platform.
Just install both the official Google Maps API package and the Google Maps API Typings using npm:
npm i @google/maps
npm i google-maps-api-typings --save-dev
import 'google-maps-api-typings';
import { createClient } from "@google/maps";
const client = createClient({
key: 'my-google-maps-api-key',
language: 'jp',
Promise: Promise
});
client
.geocode({ address: 'Leaning Tower of Pisa' })
.asPromise()
.then(response => {
response.json.results.forEach(result => {
console.log(
result.geometry.location
);
})
});
This will output: { lat: 43.722952, lng: 10.396597 }
.
Do not confuse the Google Maps Node.JS API with the Google Maps Javascript API.
FAQs
TypeScript typings for `@google/maps` Node.JS API project.
The npm package google-maps-api-typings receives a total of 465 weekly downloads. As such, google-maps-api-typings popularity was classified as not popular.
We found that google-maps-api-typings 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.