LinuxCommandLibrary

npm-repo

opens package repository in browser

TLDR

Open package repository

$ npm repo [package-name]
copy
Open current project repo
$ npm repo
copy
Open multiple repos
$ npm repo [package1] [package2]
copy

SYNOPSIS

npm repo [packages]

DESCRIPTION

npm repo opens package repository in browser. Uses repository field from package.json.
The command navigates to source code. GitHub, GitLab, etc.

PARAMETERS

PACKAGES

Package names.
--help
Display help information.

CAVEATS

Requires browser. Uses package.json repository field. Falls back to npm page.

HISTORY

npm repo provides quick access to package source code repositories.

SEE ALSO

npm(1), npm-home(1), npm-docs(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community