0.2.5 • Published 3 years ago

@pubbo/map-to-registry v0.2.5

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

@pubbo/map-to-registry

Produce registry uri and auth of package name from npm config

Usage

This is an extraction of an internal npm utility. Caveat emptor.

"use strict";

const mapToRegistry = require("@pubbo/map-to-registry");
const npmConf = require("@pubbo/npm-conf");

const config = npmConf();
const { uri, auth } = mapToRegistry("my-package", config);

uri and auth are suitable for arguments to npm-registry-client instance method parameters.

Install lerna for access to the lerna CLI.

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.11

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago