<commit_before># yrn

> Make [`yarn`](https://yarnpkg.com/en/docs/cli/) behave like [`npm`](https://docs.npmjs.com/cli/npm).

```
npm install -g yrn
```

`yrn` takes all `install` calls and forwards them to `yarn`. All other calls will be forwarded to `npm`. If not already there `yrn` will remove the `yarn.lock` file as well as the automatically added dependencies.

## Usage

```bash
yrn install --save-dev standard tape # uses `yarn` to install
yrn uninstall --save-dev tape # uses `npm` to uninstall
```

## API

All calls to `yarn` cause it to create a `yarn.lock` next to the `package.json`. We delete it automatically afterwards if it was not there before.

#### `yrn install`

Is equivalent to `npm install` but actually calls `yarn install`.

#### `yrn install [pkgName, ...]`

Is equivalent to `npm install [pkgName, ...]` but actually calls `yarn add [pkgName, ...]` and then removes any `package.json` entries that `yarn` made.

#### `yrn install --save [pkgName, ...]`, `yrn install --save-dev [pkgName, ...]`

Is equivalent to `npm install --save [pkgName, ...]` but actually calls `yarn add [--dev] [pkgName, ...]`.

#### `yrn [cmd] [args]`

Calls `npm [cmd] [args]`

## License

MIT<commit_msg>README.md Clarification.<commit_after># yrn

> Make [`yarn`](https://yarnpkg.com/en/docs/cli/) behave like [`npm`](https://docs.npmjs.com/cli/npm).

```
npm install -g yrn
```

`yrn` takes all `install` calls and forwards them to `yarn`. All other calls will be forwarded to `npm`. If not already there `yrn` will remove the `yarn.lock` file as well as the automatically added dependencies.

## Usage

```bash
yrn install --save-dev standard tape # uses `yarn` to install
yrn uninstall --save-dev tape # uses `npm` to uninstall
```

## API

All calls to `yarn` cause it to create a `yarn.lock` next to the `package.json`. We delete it automatically afterwards if it was not there before.

#### `yrn install`

Is equivalent to `npm install` but actually calls `yarn install`.

#### `yrn install [pkgName, ...]`

Is equivalent to `npm install [pkgName, ...]` but actually calls `yarn add [pkgName, ...]` and then removes any new `package.json` entries that `yarn` made.

#### `yrn install --save [pkgName, ...]`, `yrn install --save-dev [pkgName, ...]`

Is equivalent to `npm install --save [pkgName, ...]` but actually calls `yarn add [--dev] [pkgName, ...]`.

#### `yrn [cmd] [args]`

Calls `npm [cmd] [args]`.

## License

MIT
{'fraction_non_alphanumeric': 0.1652994257588187, 'fraction_numerical': 0.0, 'mean_word_length': 3.6903846153846156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2291246', 'n_tokens_mistral': 835, 'n_tokens_neox': 794, 'n_words': 317}