Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kokororin/yarn-lock-cli

CLI tool for transforming registry in yarn.lock
https://github.com/kokororin/yarn-lock-cli

yarn yarn-cli yarnpkg

Last synced: 17 days ago
JSON representation

CLI tool for transforming registry in yarn.lock

Awesome Lists containing this project

README

        

# yarn-lock-cli

[![npm](https://img.shields.io/npm/v/yarn-lock-cli.svg?style=flat)](https://www.npmjs.com/package/yarn-lock-cli)

CLI tool for transforming registry in yarn.lock

## Feature

You can transform among the following registry

* registry.npm.taobao.org
* registry.npmmirror.com
* registry.npmjs.org
* registry.yarnpkg.com

## Example

**In**

```yaml
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

react@^15.6.1:
version "15.6.2"
resolved "http://registry.npm.taobao.org/react/download/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72"
```

**Out**

```yaml
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

react@^15.6.1:
version "15.6.2"
resolved "https://registry.npmjs.org/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72"
```

## Installation

```bash
$ npm install -g yarn-lock-cli
```

## Usage

```bash
$ yarn-lock
```

## License

The MIT License (MIT).