open-index/open-npm huggingface dataset:
npm package: @lucasdinonolte/cli-flag-parser
Description: A simple utility for making parsing command-line flags type-safe using zod.
Author: Lucas Dino Nolte
Latest version: 0.0.1

# CLI Flag Parser

A simple utility for making parsing command-line flags type-safe using zod.

## Features

- Parses boolean and value flags
- Supports strict and passthrough modes for flag validation
- Integration with Zod for full type-safety

## Installation

To get started, clone the repository and install the dependencies:

```bash
npm install @lucasdinonolte/cli-flag-parser
```

## Usage

### Example

Here’s a basic example of how to use the CLI flag parser:

```typescript
import { createParser } from '@lucasdinonolte/cli-flag-parser';
import { z } from 'zod';

const parser = createParser({
  verbose: z.boolean().default(false),
  output: z.string(),
});

const result = parser(process.argv.slice(2));
```
npm package: @lucasdinonolte/lazy-cli
Description: A CLI to automate mundane things
Author: Lucas Dino Nolte
Latest version: 0.2.0

# Lazy CLI

Because I have better things to do than remembering how to set up eslint or
prettier for the 1000th time.

## Using global snippets

First install the CLI globally.

```zsh
npm install -g @lucasdinonolte/lazy-cli
```

Then you're ready to access the built-in snippets from anywhere by Using

```zsh
lazy
```

## Project specific usage

You can also point `lazy` to a custom snippets folder inside of a project.

Start by installing `lazy` into your project as a dev dependency.

```zsh
npm install --save-dev @lucasdinonolte/lazy-cli
```

Next add lazy to your project’s scripts.

```zsh
...
  "scaffold": "lazy ./path/to/snippetsFoler",
...
```
npm package: @lucasdinonolte/vector-utils
Description: Utility package designed for handling vector paths. The package includes functions for parsing and outputting SVG paths as well as manipulating them.
Author: Lucas Dino Nolte
Latest version: 0.0.1

# vector-utils

Utility package designed for handling vector paths. The package includes functions for parsing and outputting SVG paths as well as manipulating them. 

## Installation
Install the package using npm:

```bash
npm install @lucasdinonolte/vector-utils
```

## Usage
```
import { createPath } from '@lucasdinonolte/vector-utils';

// Parse SVG path
const pathData = 'M 100 100 L 300 100 L 300 300 L 100 300 Z';
const path = createPath(pathData);

// Manipulate path
const transformedPath = path.rotate(45);

// Output SVG path
const outputPath = transformedPath.toSVG();
```

## Note 🚨🚨🚨
Vector-Utils is a work in progress and should not be used for production purposes. Feel free to explore and contribute to its development.
npm package: @lucasdoreac/mcp-continuity-server
Description: Um servidor MCP para gerenciamento de continuidade e estado em projetos
Author: Lucas Dórea Cardoso
Latest version: 1.0.9

# MCP Continuity Server (Versão Simplificada)

Um servidor MCP para gerenciamento de continuidade e estado em projetos, baseado no MCP Continuity Tool. Esta versão foi simplificada para ser compatível com o SDK MCP versão 1.7.0.

## Correções na Versão 1.0.7

Esta versão faz as seguintes alterações:

1. Atualização do SDK MCP para 1.7.0 (original usava 1.0.1)
2. **Remoção completa** dos handlers `resources/list` e `prompts/list` que causavam erro
3. Versão simplificada focada apenas nas funcionalidades essenciais
4. Compatibilidade garantida com Claude Desktop

## Pré-requisitos

- Node.js 18+
- npm ou npx

## Instalação e Uso

### Instalação Global

```bash
npm install -g @lucasdoreac/mcp-continuity-server
```

### Uso com npx

```bash
npx @lucasdoreac/mcp-continuity-server
```

### Configuração no Claude Desktop

Adicione esta entrada ao arquivo `claude_desktop_config.json`:

```json
"continuity": {
  "command": "npx",
  "args": [
    "-y",
    "@lucasdoreac/mcp-continuity-server"
  ]
}
```

### Uso a partir do código fonte

1. Clone o repositório:
```bash
git clone https://github.com/Lucasdoreac/mcp-continuity-server-fixed.git
cd mcp-continuity-server-fixed
```

2. Instale as dependências:
```bash
npm install
```

3. Execute o servidor:
```bash
node src/index.js
```

### Como servidor web

Para iniciar como um servidor HTTP:

```bash
node src/index.js server
```

## Ferramentas Disponíveis

* `initProjectState` - Inicializa o estado de um projeto com base em um repositório
* `loadProjectState` - Carrega o estado atual de um projeto
* `updateProjectState` - Atualiza campos específicos no estado do projeto
* `analyzeRepository` - Analisa a estrutura de um repositório para obter insights
* `generateContinuityPrompt` - Gera um prompt otimizado para continuar o desenvolvimento

## Arquivos de Estado

O servidor cria e gerencia um arquivo `project-status.json` que armazena o estado atual de desenvolvimento. Este arquivo contém:

* Informações do projeto (nome, repositório, diretório de trabalho)
* Estado atual do desenvolvimento (arquivo atual, componente, tarefas)
* Lista de componentes (concluídos, em progresso, pendentes)
* Contexto de desenvolvimento (último pensamento, próximos passos)

## Notas da Versão 1.0.7

Esta versão simplifica o servidor, removendo funcionalidades que não são essenciais e que estavam causando problemas com a versão 1.7.0 do SDK MCP. As funções principais de gerenciamento de estado continuam funcionando normalmente.

## Licença

MIT
npm package: @lucase-viking/config-provider
Description: 全局配置
Author: lucase
Latest version: 1.0.3

---
title: ConfigProvider 全局配置
nav:
  title: 组件
  path: /components
  order: 1
group:
  title: 其他
  order: 999
---

# ConfigProvider 全局配置

为组件提供统一的全局化配置。

## 使用

ConfigProvider 使用 React 的 context 特性，只需在应用外围包裹一次即可全局生效。该组件继承了 antd 中 ConfigProvider 的属性，新增 components，可以为被 withConfigConsumer 包裹的组件设置全局属性。

```javascript
import ConfigProvider, { withConfigConsumer } from '@viking/config-provider';
import { Input } from 'antd';

const contextValue = {
  components: {
    // key为被withConfigConsumer包裹组件的displayName或name
    Table: {
      pagination: {
        pageSizeOptions: [20, 30, 50],
      },
    },
  },
};

withConfigConsumer(Input);

export default () => (
  <ConfigProvider {...contextValue}>
    <App />
  </ConfigProvider>
);
```

### API

| 参数       | 说明                                       | 类型     | 默认值 |
| ---------- | ------------------------------------------ | -------- | ------ |
| components | 组件公共属性配置                           | `Object` | {}     |
| widgets    | table 等渲染类型为组件的 type 配置公共属性 | `Object` | {}     |

其他属性见 antd [ConfigProvider](https://ant.design/components/config-provider-cn/#API)
npm package: @lucase-viking/date-picker
Description: 表单-日期选择
Author: lucase
Latest version: 1.0.1

---
title: DatePicker 日期选择框
nav:
  path: /components
  title: 组件
  order: 1
group:
  title: 数据录入
  order: 5
---

# DatePicker 日期选择框

输入或选择日期的控件。

- **提供全局属性配置的能力:valueType** 目前 DatePicker 组件仅支持 picker='date', 此场景在系统中应用的最多。通过配置 valueType 返回不同类型的日期值。

⚠️ 注意: 在 form 表单中使用时，若需要设置初始值，初始值的类型应和你设置的 valueType 返回类型保持一致。例如，你的 valueType='stampobject', 初始值应该设置为

```javascript
{ startTime: moment().startOf('day').valueOf(), endTime: moment().endOf('day').valueOf() }
```

---

- **提供`日期+时间`和`时间`选择的即选生效功能** antd 的日期组件当需要选时间的时候，需要点击`确定`按钮。viking 的日期组件通过配置 immediately，控制点击时间的时候是否立马生效。  
  时间范围的交互方式和 antd 保持不变。

## 使用

```javascript
import DatePicker from '@viking/date-picker';
const {TimePicker} = DatePicker

<DatePicker />;
<TimePicker />
```

## 代码演示

<code src="./src/demo/demo1.tsx" />

<code src="./src/demo/demo2.tsx" />

<code src="./src/demo/demo3.tsx" />

<code src="./src/demo/demo4.tsx" />

<code src="./src/demo/demo5.tsx" />

### 参数

| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| valueType | 时间组件返回值类型。详见[`ValueType`](#ValueType) | `ValueType` | - |
| startKey | 当设置 valueType 为`stampobject`时，开始时间返回的 key | `string` | 'startTime' |
| endKey | 当设置 valueType 为`stampobject`时，结束时间返回的 key | `string` | 'endTime' |
| immediately | 即选生效（当选择时间/日期+时间时）配置 | `boolean` | false |

其他属性见 antd [DatePicker](https://ant.design/components/date-picker-cn/#DatePicker)

### ValueType

```typescript
/**
 * timestamp  时间戳
 * timestring 时间字符串
 * stamparray 时间戳数组，[xxx, xxx]
 * stampobject 时间戳对象， { startTime: xxx, endTime: xxx }
 * /
type ValueType = 'timestamp' | 'timestring' | 'stamparray' | 'stampobject';
```
npm package: @lucase-viking/descriptions
Description: descriptions
Author: lucase
Latest version: 1.0.1

---
title: Descriptions 描述列表
nav:
  title: 组件
  path: /components
  order: 1
group:
  title: 数据展示
  order: 105
---

# HDescriptions 详情展示

可以通过 [fields](/components/field-types#详情类型) 配置展示详情，fields 和 [table fields](/components/htable#field) 通用

## 代码演示

### 基础使用

<code src="./src/demo/Basic" />

## API

### HDescriptions

| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| fields | 字段定义，共用 table 的 fieldTypes | array | [] |
| data | 详情数据 | object | - |
| placeholder | 占位符，无数据时展示 | string | - |
| column | 列数 | number | 1 |
| contentLoading | 加载中状态 | boolean | false |
| ...others | 参考 [Descriptions](https://3x.ant.design/components/descriptions-cn/#Descriptions) | - | - |
npm package: @lucase-viking/ellipsis
Description: ellipsis
Author: lucase
Latest version: 1.0.1

---
title: Ellipsis 文本省略号
nav:
  title: 组件
  path: /components
  order: 1
group:
  title: ' '
  order: 110
---

# Ellipsis - 文本省略号

### 基础使用

<code src="./src/demo/Basic" />

### 按照字符数省略

<code src="./src/demo/Number" />

### API

文本过长自动处理省略号，支持按照文本长度和最大行数两种方式截取。

| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| tooltip | 移动到文本展示完整内容的提示 | boolean | - |
| length | 在按照长度截取下的文本最大字符数，超过则截取省略 | number | - |
| lines | 在按照行数截取下最大的行数，超过则截取省略 | number |  |
npm package: @lucase-viking/tracker
Description: tracker
Author: lucase
Latest version: 1.0.1

---
title: Http 数据请求
sidemenu: false
nav:
  title: 埋点
  path: /tracker
  order: 4
---

# Tracker 埋点

### 前端日志文档

# 使用方式

```shell
yarn add @viking/tracker
```

## 常规使用

<code src="./src/demo/demo-2.jsx" />

## 自动上报埋点

自动埋点功能，通过监听全局 event，当产生 click 事件的节点具有 data-track 属性的时候会自动对该事件进行上报；

使用方式

1. 初始化 tracker 时， autoTrack 设置为 true；
2. 在发生点击事件的的元素上设置 data-track 属性；

demo 如下

<code src="./src/demo/demo-1.jsx" />

## 小程序接入

目前已经内置小程序（微信小程序，飞书小程序）的埋点上报，只是暂时不支持自动埋点上报共功能，其他使用方法一样的；

# 接口

## Tracker options

| key       | 说明                               | 类型        | 默认值 |
| --------- | ---------------------------------- | ----------- | ------ |
| client    | 项目 id，比如 web, h5,             | string      | 必填   |
| env       | 上报环境                           | qa,dev,prod | 必填   |
| uid       | 用户唯一标示                       | string      | 非必填 |
| pageName  | 页面名称                           | string      | 非必填 |
| autoTrack | 是否自动上报, 目前暂时只支持浏览器 | boolean     | false  |

如果 options 中还有其他参数，则这些参数会默认放在请求的*content*字段中

## Tracker instance

| 方法 | 说明 | 类型 |
| --- | --- | --- |
| sendPV | 上报 PV | (data: any) => any |
| sendEvent | 上报事件 | (eventId: string, data?: any) => any |
| sendLogData | 上报日志。`_level_` 日志级别，枚举值（Verbose、Debug、Info、Warn、Error），必填。`_msg_` 日志内容，必填。`_tag_` 日志标签，必填。更多信息参考文档，log 类型  | (data: { _level_, _msg_, _tag_ }) => any |
| setCommonData | 设置 commonData，放置在请求中的*common*字段, **对应在日志中`_common_`字段** | (data: Record<string, any>) => void |
| setParams | 设置 params, 放置在请求*content*中的字段,**对应在日志中`_content_`字段** | (data: Record<string, any>) => void |

## Tracker Defaults 配置

| 方法 | 说明 | 类型 |
| --- | --- | --- |
| apis | 日志上报接口 | { qa: string, dev: string, prod: string } |
| request | 请求发送方式 | (params:{url: string, data: any, method: string, header}) => Promise |
| getCommonData | 设置获取默认 CommonData | () => Record<string, any> |

# FAQ

- defaults 中 request 中的 header 字段必须要包含在请求头中，阿里云那边需要；
npm package: @lucasecdb/eslint-config
Description: My personal base config for eslint
Author: Lucas Cordeiro
Latest version: 0.15.1

# eslint configuration

hey there! 👋 this is my personal eslint configuration, feel free to use at any project
or copy this repo settings to setup your own config and publish it to your favorite package registry!

## installation

```bash
yarn add -D @lucasecdb/eslint-config
```

create a `.eslintrc` file at the root of your project if you didn't already,
alongside the `node_modules` folder, and extend this config like this:

```json
{
  "extends": "@lucasecdb",
  "env": {
    "es6": true
  }
}
```

and that's it!
npm package: @lucasecdb/rmdc
Description: ## Installation
Author: Lucas Cordeiro
Latest version: 0.1.6

# Material Design Component

## Installation

```sh
yarn add @lucasecdb/rmdc
```

## Available components

| Component | Implemented |
| --- | --- |
| Button | ✅ |
| Card | ✅ |
| Checkbox | ✅ |
| CircularProgress | ✅ |
| Dialog | ✅ |
| Fab | ✅ |
| FloatingLabel | ✅ |
| FormField | ✅ |
| Icon | ✅ |
| IconButton | ✅ |
| LineRipple | ✅ |
| NotchedOutline | ✅ |
| Ripple | ✅ |
| Snackbar | ✅ |
| Tab | ✅ |
| TabBar | ✅ |
| TabIndicator | ✅ |
| TabScroller | ✅ |
| TopAppBar | ✅ |
| Typography | ✅ |
npm package: @lucaseduardoio/eslint-config
Description: Eslint's default configuration
Author: Lucas Eduardo
Latest version: 1.2.0

# ESLint config

### Whats included?

- standard;
- react;
- react-hooks;
- jsx-a11y;
- prettier;
- eslint-plugin-import-helpers;

### Setup

1. Install the dependencies
```
npm i -D eslint @lucaseduardoio/eslint-config
```

2. Create a `.eslintrc.json` file extending the config:
```
{
  "extends": "@lucaseduardoio/eslint-config/react"
  // "extends": "@lucaseduardoio/eslint-config/node"
}
```

3. You can add/override any ESLint config by changing your own `.eslintrc.json` file. The example below will only add the self-closing tag rule and leave all the default rules untouched.
```
{
  "extends": "@lucaseduardoio/eslint-config/react",
  "rules": {
    "react/self-closing-comp": "error"
  }
}
```

> You can also use a `.eslintrc.js` instead of JSON if you prefer.

> ***Inspiration from the [rocketseat](https://github.com/Rocketseat/eslint-config-rocketseat) repository***