Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@pnpm/fetcher-base

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/fetcher-base

Types for pnpm-compatible fetchers

latest
Source
npmnpm
Version
1001.2.2
Version published
Weekly downloads
134K
1.86%
Maintainers
2
Weekly downloads
 
Created
Source

@pnpm/fetcher-base

Types for pnpm-compatible fetchers

npm version

Installation

pnpm add @pnpm/fetcher-base

Usage

Here's a template for a fetcher using types from @pnpm/fetcher-base:

import { Resolution } from '@pnpm/resolver-base'
import {
  FetchOptions,
  FetchResult,
} from '@pnpm/fetcher-base'

export async function demoFetcher (
  resolution: Resolution,
  targetFolder: string,
  opts: FetchOptions,
): Promise<FetchResult> {
  // ...
  return {
    filesIndex,
    tempLocation,
  }
}

License

MIT

Keywords

pnpm

FAQs

Package last updated on 19 Jan 2026

Did you know?

Socket

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.

Install

Related posts