
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@basemaps/attribution
Advanced tools
Library to determine to applicable attribution for a given extent and zoom level.
Library to determine to applicable attribution for a given extent and zoom level.
npm install @basemaps/attribution
import { Attribution } from '@basemaps/attribution';
const attributions = await Attribution.load('https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/attribution.json?api=...');
// Find all imagery sets inside the following bounding box
const attrList = attributions.filter([144.7377202, -45.8938181, 195.62639, -37.65336], 6);
// Convert the attrubtion list to a human readable description
const description = attributions.renderList(attrList);
// "NZ 10m Satellite Imagery (2020-2021) & GEBCO 2020 Grid"
Using a CDN see https://basemaps.linz.govt.nz/examples/index.openlayers.attribution.wmts.3857.html.
This system is licensed under the MIT License, except where otherwise specified. See the LICENSE file for more details.
FAQs
Library to determine to applicable attribution for a given extent and zoom level.
The npm package @basemaps/attribution receives a total of 107 weekly downloads. As such, @basemaps/attribution popularity was classified as not popular.
We found that @basemaps/attribution demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.