# ypmn

> CLI which decides to use npm or yarn

Latest version **0.1.1-alpha** (published 2021-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install ypmn
pnpm add ypmn
yarn add ypmn
bun add ypmn
```

Provides the command `ypmn`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1-alpha |
| Published | 2021-01-20 |
| First published | 2021-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Przemysław Tyczyński |
| Maintainers | tyczynski |
| Keywords | yarn, npm |

## Links

- npm: https://www.npmjs.com/package/ypmn
- Repository: https://github.com/tyczynski/npmn
- Homepage: https://github.com/tyczynski/ypmn#readme
- Issues: https://github.com/tyczynski/ypmn/issues
- npm.io page: https://npm.io/package/ypmn

## Recent versions

- 0.1.1-alpha (latest) — 2021-01-20
- 0.1.0-alpha — 2021-01-20

## README

# ynpn (npm > yarn > ynpn)

CLI which decides to use `npm` or `yarn`

**_Proof of concept. It's early alpha. You use at your own risk!_**

## How the decision is made 

1. Check for the file `yarn.lock` in the nearest directory
2. Check if 'yarn' is installed
3. Run `yarn` if 1. and 2. are `true`. Otherwise, run `npm`.

## Installation

``` bash 
$ npm install -g ynpn

# or 

$ yarn global add ynpn
```

## Usage

``` bash
$ ynpm *command*
```

---
_Source: https://npm.io/package/ypmn · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
