open-index/open-npm huggingface dataset:
npm package: @h7ml/deletenodemodules
Description: This is a Node.js project that can clean up all redundant 'node_modules' folders in the working directory using the 'rimraf' library.
Author: h7ml
Latest version: 2.0.0

## DeleteNodeModules

DeleteNodeModules 是一个用于清理工作目录中所有多余的 node_modules 文件夹的 Node.js 脚本。

### 安装

#### 全局安装

#### npm

```bash
npm install -g @h7ml/deletenodemodules
```

#### yarn

```bash
yarn global add @h7ml/deletenodemodules
```

#### pnpm

```bash
pnpm install -g @h7ml/deletenodemodules
```

#### 局部安装

```bash
npm install @h7ml/deletenodemodules
```

#### 使用方法

全局安装后，在命令行中输入 `deletenodemodules` 命令即可运行脚本：

```bash
deletenodemodules
```

脚本将在工作目录中查找所有的 `node_modules` 文件夹，并删除它们。

### 开发

如果你想要对 `DeleteNodeModules` 进行开发或进行本地测试，则可以从 `GitHub` 上将项目克隆到本地：

```bash
git clone https://github.com/h7ml/DeleteNodeModules.git
```

#### 安装依赖

```bash
npm install
```

#### 运行脚本

```bash
npm run start
```

### 许可证`MIT`

详见 [LICENSE](./LICENSE) 文件。
npm package: @h9h/objects
Description: Utility methods for manipulating and working with objects
Author: Michael Heinke
Latest version: 0.1.4

# objects
Utility methods for manipulating and working with objects

Install with
```
yarn add @h9h/objects
```

or
```
npm install @h9h/objects --save
```

## Generators
Create new Objects with certain structures.

### generateFromPathsWithValues

Given an object which holds values under structured keys, resolve to an object-structure.

**Example:**
```
{
    'income.2017': 50000,
    'income.2018': 60000,
    'costs.2017': 12000,
    'costs.2018': 11400,
}
```

becomes

```
{
  name: 'Statistics',
  children: [
    {
      name: 'income',
      children: [
        {
          name: '2017',
          value: 50000,
        },
        {
          name: '2018',
          value: 60000,
        },
      ],
    },
    {
      name: 'costs',
      children: [
        {
          name: '2017',
          value: 12000,
        },
        {
          name: '2018',
          value: 11400,
        },
      ],
    },
  ],
}
```

## Visitors

### getAtPath, getAtParent, getValues

Method to easily get Values from a deeply nested object

### visit

Method to apply a funtion to all elements of an object

### pathmap

Maps all keys in a nested object to an array of string-paths.
Can be used to filter and get values from nested object with getAtPath.
npm package: @h9h/word-collect
Description: Small library to collect words, optionally using a stemmer
Author: h9h
Latest version: 1.0.7

# word-collect
Simple Library to collect word-sets, optionally using stemming algorithms

[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
[![npm version](http://img.shields.io/npm/v/REPO.svg?style=flat)](https://npmjs.org/package/@h9h/words-collect "View this project on npm")
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/9baa6478b87a45f6bc73b5c8ac63edd6)](https://www.codacy.com/manual/h9h/word-collect?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=h9h/word-collect&amp;utm_campaign=Badge_Grade)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)

## Usage

```
const { collectWords } = require('../src/collector')

const text = '...'

const result = collectWords('de', text)
console.log(result.getWordDistribution(3))
```

### Example

**Mephistopheles:**

Ein Teil von jener Kraft,
Die stets das Böse will und stets das Gute schafft.

**Faust:**

Was ist mit diesem Rätselwort gemeint?

**Mephistopheles:**

Ich bin der Geist, der stets verneint!
Und das mit Recht; denn alles, was entsteht,
Ist wert, daß es zugrunde geht;
Drum besser wär's, daß nichts entstünde.
So ist denn alles, was ihr Sünde,
Zerstörung, kurz, das Böse nennt,
Mein eigentliches Element.

**Faust:**

Du nennst dich einen Teil, und stehst doch ganz vor mir?

### Result:

```
Array(1)
    Array(2)
        0 = "stets"  // Word
        1 = 3        // Count
```

## @h9h/word-collect
word-collect module

Given a text, this modules offers methods to
- break the text into words
- removes stop-words (aka noise)
- stemm those words (reduzing them to their base form)
- and counting the occurrences of these stemms

The result is a distribution of the main words in this text, giving a quick
overview what it's all about.
npm package: @h_g_l/vue3-loading
Description: A beautiful loading component for Vue 3
Latest version: 1.0.0

# Vue3 Loading Component

一个美观、灵活的 Vue 3 Loading 加载组件库。

## 特性

- 🎨 多种加载动画类型：Spinner、Dots、Pulse、Wave
- 🎯 支持组件、指令、服务三种使用方式
- 🎨 可自定义颜色、背景、文字
- 📦 支持全屏和局部加载
- 💪 完整的 TypeScript 支持
- 🔧 轻量级，无依赖

## 安装

```bash
npm install vue3-loading-component
```

## 使用方法

### 全局注册

```typescript
import { createApp } from 'vue'
import App from './App.vue'
import VueLoading from 'vue3-loading-component'
import 'vue3-loading-component/dist/style.css'

const app = createApp(App)
app.use(VueLoading)
app.mount('#app')
```

### 1. 组件方式

```vue
<template>
  <div class="container">
    <VLoading 
      :visible="loading" 
      text="加载中..." 
      type="spinner"
      color="#409eff"
    />
  </div>
</template>

<script setup>
import { ref } from 'vue'

const loading = ref(true)
</script>
```

### 2. 指令方式 (v-loading)

```vue
<template>
  <div v-loading="loading" class="container">
    内容区域
  </div>
</template>

<script setup>
import { ref } from 'vue'

const loading = ref(true)
</script>
```

### 3. 服务方式

```typescript
import { LoadingService } from 'vue3-loading-component'

// 打开 loading
const loading = LoadingService.open({
  target: '.container', // 目标元素，默认为 body
  text: '加载中...',
  type: 'dots',
  fullscreen: false
})

// 关闭 loading
loading.close()

// 修改文字
loading.setText('即将完成...')

// 全屏 loading
const fullscreenLoading = LoadingService.open({
  fullscreen: true,
  text: '全屏加载中...',
  background: 'rgba(0, 0, 0, 0.7)',
  color: '#fff'
})
```

## API

### Props

| 属性 | 说明 | 类型 | 默认值 |
|------|------|------|--------|
| visible | 是否显示 | boolean | false |
| text | 加载文字 | string | '' |
| type | 加载动画类型 | 'spinner' \| 'dots' \| 'pulse' \| 'wave' \| 'custom' | 'spinner' |
| fullscreen | 是否全屏 | boolean | false |
| background | 遮罩背景色 | string | 'rgba(255, 255, 255, 0.9)' |
| color | 加载动画颜色 | string | '#409eff' |

### LoadingService Options

| 属性 | 说明 | 类型 | 默认值 |
|------|------|------|--------|
| target | 目标元素 | HTMLElement \| string | document.body |
| text | 加载文字 | string | '' |
| type | 加载动画类型 | string | 'spinner' |
| fullscreen | 是否全屏 | boolean | false |
| background | 遮罩背景色 | string | 'rgba(255, 255, 255, 0.9)' |
| color | 加载动画颜色 | string | '#409eff' |

### LoadingService Methods

| 方法 | 说明 | 参数 |
|------|------|------|
| open | 打开 loading | options: LoadingOptions |
| close | 关闭指定 loading | target?: HTMLElement \| string |
| closeAll | 关闭所有 loading | - |

## 加载类型预览

- **spinner**: 圆形旋转加载
- **dots**: 三点跳动加载
- **pulse**: 脉冲扩散加载
- **wave**: 波浪加载

## License

MIT