Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tommy-mitchell/npm-link-cli
Get a link to a given npm package.
https://github.com/tommy-mitchell/npm-link-cli
Last synced: 8 days ago
JSON representation
Get a link to a given npm package.
- Host: GitHub
- URL: https://github.com/tommy-mitchell/npm-link-cli
- Owner: tommy-mitchell
- License: mit
- Created: 2024-02-22T06:34:44.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-22T06:36:16.000Z (9 months ago)
- Last Synced: 2024-04-24T21:20:37.337Z (7 months ago)
- Language: TypeScript
- Homepage: https://npm.im/npm-link-cli
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# npm-link-cli
Get a link to a given npm package. Copies link to clipboard if only one package is given.
## Install
```sh
npm install --global npm-link-cli
```Other Package Managers
```sh
yarn global add npm-link-cli
```## Usage
```sh
$ npm-link --helpUsage
$ npm-link [package-name] […]Options
--short -s Output npm.im link
--github -g Output GitHub linkExamples
Output link for current package
$ npm-link
ℹ npm-link-cli: https://www.npmjs.com/package/npm-link-cli$ npm-link meow np nnnope
ℹ meow: https://www.npmjs.com/package/meow
ℹ np: https://www.npmjs.com/package/np
✖ nnnope: No link found$ npm-link tsd --short
ℹ tsd: https://npm.im/tsd$ npm-link ava --github
ℹ ava: https://github.com/avajs/ava
```## Related
- [npm-home](https://github.com/sindresorhus/npm-home) - Open the npm page, Yarn page, or GitHub repo of a package.
- [gh-user-cli](https://github.com/tommy-mitchell/gh-user-cli) - Open the GitHub or NPM profile of the given or current user.
- [package-json-cli](https://github.com/sindresorhus/package-json-cli) - Get the package.json of a package from the npm registry.