
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@local-logic/lat-client
Advanced tools
The `@local-logic/lat-client` package allows you to download or preview Local Logic Logic Location Assessment Tool (LAT).
The @local-logic/lat-client package allows you to download or preview Local Logic Logic Location Assessment Tool (LAT).
First, install with yarn, pnpm, or npm:
yarn add @local-logic/lat-client
pnpm add @local-logic/lat-client
npm i --save @local-logic/lat-client
You can now import LatClient:
import LatClient from "@local-logic/lat-client";
const latClient = LatClient(
"<API_KEY>", {
lat: 45.528130, // Your address latitude
lng: -73.598100, // Your address longitude
addressLabel: "5605 Av. de Gaspé #304, Montreal, Quebec H2T 2A4",
});
Now you can use the .download() or .open() methods.
ℹ️ You should only call these methods within an 'click' event handler. Otherwise, these events may be treated as popup events by the browser.
const button = document.createElement("button");
button.innerText = "Open Preview";
button.onclick = () => latClient.open();
document.body.appendChild(button);
const downloadButton = document.createElement("button");
downloadButton.innerText = "Download Report";
downloadButton.onclick = async () => {
downloadButton.innerText = "Downloading...";
await latClient.download();
downloadButton.innerText = "Download Report";
};
document.body.appendChild(downloadButton);
import { useState } from "react";
import LatClient from "@local-logic/lat-client";
const latClient = LatClient(
"<API_KEY>",
{
lat: 45.52813, // Your address latitude
lng: -73.5981, // Your address longitude
addressLabel: "5605 Av. de Gaspé #304, Montreal, Quebec H2T 2A4"
}
);
export default function App() {
const [downloading, setDownloading] = useState(false);
return (
<button
onClick={async () => {
setDownloading(true);
latClient.download();
setDownloading(false);
}}
disabled={downloading}
>
{downloading ? "Downloading..." : "Download"}
</button>
);
}
FAQs
The `@local-logic/lat-client` package allows you to download or preview Local Logic Logic Location Assessment Tool (LAT).
We found that @local-logic/lat-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.