open-index/open-npm huggingface dataset:
npm package: @nick-qi/qrm
Description: NPM registry manager can help you easy and fast switch between different npm registries, now include: cnpm, taobao, nj(nodejitsu), rednpm, edunpm, support yarn, npm, pnpm
Author: NickBoomBoom
Latest version: 1.0.2

qrm -- yarn,npm,pnpm registry manager
===

`qrm` can help you easy and fast switch between different npm registries,
now include: `npm`, `cnpm`, `taobao`, `nj(nodejitsu)`, `rednpm`, `yarn`.

> **Yarn,npm,pnpm is now supported**

> This repo is forked from the original yrm project. 

## Install

```
$ npm install -g @nick-qi/qrm
```

## Example
```
$ qrm ls

* npm -----  https://registry.npmjs.org/
  cnpm ----  http://r.cnpmjs.org/
  taobao --  https://registry.npmmirror.com/
  nj ------  https://registry.nodejitsu.com/
  rednpm --  http://registry.mirror.cqupt.edu.cn
  skimdb --  https://skimdb.npmjs.com/registry
  yarn ----  https://registry.yarnpkg.com

```

```
$ qrm use cnpm  //switch registry to cnpm

    Registry has been set to: http://r.cnpmjs.org/

```

## Usage

```
Usage: qrm [options] [command]

  Commands:

    ls                           List all the registries
    use <registry>               Change registry to registry
    add <registry> <url> [home]  Add one custom registry
    del <registry>               Delete one custom registry
    home <registry> [browser]    Open the homepage of registry with optional browser
    test [registry]              Show the response time for one or all registries
    help                         Print this help

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
```

## Registries

* [npm](https://www.npmjs.org)
* [cnpm](http://cnpmjs.org)
* [nodejitsu](https://www.nodejitsu.com)
* [taobao](http://npmmirror.com)
* [rednpm](http://npm.mirror.cqupt.edu.cn)
* [yarn](https://registry.yarnpkg.com)

## Notice

When you use an other registry, you can not use the `publish` command.

## LICENSE
MIT
npm package: @nick-qi/qtools
Description: 个人工具箱
Author: NickBoomBoom
Latest version: 0.0.10

# 一些个脚本，必要时候很有用

## 安装

```
pnpm add -g @nick-qi/qtools
```

## 使用

### 1. qtl git-clone [filePath]

通过读取 txt 文档中的 git url来克隆当前每个仓库的所有分支和tag，拉取的仓库会存放在当前文件夹下.

（直接git clone 拉取git 项目，并不会把所有分支和 tag 都拉下来，这个指令用于拉取多个项目的所有分支和 tag）

#### 使用方法：

新建一个 txt 文件，在其中写上需要完全克隆的 git 地址，每一行只放一个地址，ex:

```txt
https://xxxx.git
https://xxxx.git
```

之后在命令行中输入

```node
qtl git-clone ./git-url.txt
```

#### 注意：

1. 拉取的仓库不要有重名的，如果有重名的，请自行处理。

### 2. qtl del-dir [name]

删除当前文件夹下所有 [name] 文件。
提供 -z 选项，再删除完成后将整个文件夹打包

name默认为 node_modules

```node
// 删除当前文件夹下所有 node_modules 目录
qtl del-dir node_modules

// 删除并压缩
qtl del-dir node_modules -z
qtl del-dir -z
```
npm package: @nick-w3/gitbook-plugin-filecoin
Description: GitBook.com compatibility plugin for gitbook-cli with custom blocks (tabs, embed, hints) and a CLI wrapper for Node v10 management
Author: Nick W3
Latest version: 1.0.0

# gitbook-plugin-filecoin

A GitBook 3.x plugin providing custom blocks (tabs, hints, embed) and a CLI wrapper that manages the legacy Node.js v10 environment required by gitbook-cli.

## Features

### Custom Blocks

**Tabs** - Create tabbed content:
```markdown
{% tabs %}
{% tab title="JavaScript" %}
console.log('Hello');
{% endtab %}
{% tab title="Python" %}
print('Hello')
{% endtab %}
{% endtabs %}
```

**Hints** - Styled callout boxes:
```markdown
{% hint style="info" %}
This is an info hint.
{% endhint %}

{% hint style="warning" %}
This is a warning.
{% endhint %}

{% hint style="danger" %}
This is a danger alert.
{% endhint %}

{% hint style="success" %}
This is a success message.
{% endhint %}
```

**Embed** - Embed external content:
```markdown
{% embed url="https://www.youtube.com/watch?v=..." %}
```

### CLI Wrapper

The package includes a `gitbook-cli` command that:
- Automatically manages Node.js v10 via nvm (required by legacy gitbook-cli)
- Provides build, serve, preview, and stop commands
- Includes file watching with live reload for development

## Installation

```bash
npm install gitbook-plugin-filecoin --save-dev
```

## Configuration

### book.json

```json
{
  "gitbook": "3.2.3",
  "plugins": ["filecoin"],
  "styles": {
    "website": "node_modules/gitbook-plugin-filecoin/assets/website.css"
  }
}
```

### package.json Scripts

```json
{
  "scripts": {
    "setup": "gitbook-cli setup",
    "build": "gitbook-cli build",
    "dev": "gitbook-cli serve",
    "preview": "gitbook-cli preview",
    "stop": "gitbook-cli stop"
  }
}
```

## Usage

### First-Time Setup

```bash
npm run setup
```

This installs gitbook-cli and GitBook v3.2.3.

### Development

```bash
npm run dev
```

Starts a development server with live reload at http://localhost:4003.

### Build

```bash
npm run build
```

Builds the static site to `_book/`.

### Preview

```bash
npm run preview
```

Serves an existing `_book/` directory without rebuilding.

## Requirements

- **Node.js**: 16+ for building/running the CLI
- **nvm**: Required for Node.js v10 management (used internally by gitbook-cli)
- **GitBook**: 3.2.3 (automatically installed by setup)

## Environment Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `GITBOOK_PROJECT_ROOT` | Override project root directory | Current working directory |

## License

MIT

## Links

- [Filecoin Documentation](https://docs.filecoin.io)
- [GitHub Repository](https://github.com/filecoin-project/filecoin-docs)
- [Issues](https://github.com/filecoin-project/filecoin-docs/issues)