Skip to main content
Module

x/npm_fetcher/mod.ts

Fetches npm packages and writes them to disk
Latest
import * as npmFetcher from "https://deno.land/x/npm_fetcher@v0.1.0/mod.ts";

Functions

Fetches package distribution information from npm and writes the contents of the package to disk.

Fetches npm package metadata and returns an object that can be used to download the full package.

Splits a string such as "@rollup/plugin-alias@4.0.2" into a name string: "@rollup/plugin-alias" and version: "4.0.2".