
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@gw2api/fetch
Advanced tools
@gw2api/fetch
This package provides a tiny wrapper around native fetch to call the Guild Wars 2 API that returns typesafe responses.
import { fetchGw2Api } from '@gw2api/fetch';
const item = await fetchGw2Api('/v2/items/1234');
// -> { id: number, name: string, ... }
npm i @gw2api/fetch
See parent readme.
Licensed under the MIT License.
FAQs
Tiny wrapper around fetch that returns type-safe responses
The npm package @gw2api/fetch receives a total of 159 weekly downloads. As such, @gw2api/fetch popularity was classified as not popular.
We found that @gw2api/fetch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.