open-index/open-npm huggingface dataset:
npm package: @janno/lc
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Latest version: 1.0.0

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
npm package: @jano-editor/editor
Description: A modern terminal editor with plugin support
Latest version: 1.0.0-alpha.15

# @jano-editor/editor

The core package of [jano](https://janoeditor.dev) - a modern terminal editor with plugin support.

## Install

```bash
npm install -g @jano-editor/editor
```

Or use the install scripts from [janoeditor.dev](https://janoeditor.dev).

## Usage

```bash
# open a file
jano myfile.yaml

# new file
jano

# manage plugins
jano plugin install yaml
jano plugin list
jano plugin remove yaml
jano plugin search

# check for updates
jano update

# debug mode
jano myfile.yaml --debug
```

## What's inside

- File editing with undo/redo, clipboard, selections
- Multi-cursor editing (Ctrl+Shift+Up/Down)
- Search & Replace (Ctrl+F)
- Go to Line (Ctrl+G)
- Plugin loader with XDG-compliant paths
- Syntax highlighting, formatting, validation (via plugins)
- Inline diagnostics display
- Help dialog (F1), History browser (F2)
- Cross-platform: Linux, macOS, Windows, WSL
- 59KB built, zero lag with 60k+ lines

## Plugin System

Plugins are loaded from `~/.local/share/jano/plugins/` (Linux/macOS) or `%LOCALAPPDATA%/jano/plugins/` (Windows).

Each plugin is a directory with a `plugin.json` manifest and an `index.js` entry file.

Install plugins from the [Plugin Store](https://janoeditor.dev/plugins):

```bash
jano plugin install yaml
```

Or build your own - see the [docs](https://janoeditor.dev/docs).

## License

[MIT](../../LICENSE)
npm package: @janocode/im-web-sdk
Description: ## 概述
Latest version: 1.0.4

# IM Web SDK

## 概述

IM Web SDK 是一个用于即时通讯的客户端开发工具包，旨在简化与IM服务器的连接、消息发送和接收等操作。它提供了一套完整的API，帮助开发者快速集成即时通讯功能。

## 特性

- **消息发送与接收**：支持发送和接收即时消息，确保消息的可靠传输。
- **重连机制**：内置掉线重连机制，确保在网络中断后自动重连。
- **QoS支持**：提供消息的质量保证服务，确保消息的送达和接收。
- **事件回调**：支持多种事件回调，开发者可以根据需要自定义处理逻辑。
- **调试支持**：提供调试选项，方便开发者进行问题排查。

## 解决的问题

- **即时通讯集成**：简化了与IM服务器的连接和通讯逻辑，减少了开发者的工作量。
- **消息可靠性**：通过QoS机制，确保消息在网络不稳定的情况下也能可靠送达。
- **用户体验提升**：通过事件回调机制，开发者可以实现更好的用户交互体验。

## 使用方法

### 初始化

```javascript
import imsdk from './lib/main';

// 初始化SDK
imsdk.login('ws://example.com', 'userId', 'userToken');
```

### 发送消息

```javascript
const message = {
    type: 'text',
    content: 'Hello, World!',
    to: 'receiverId'
};

imsdk.sendData(message);
```

### 事件回调

```javascript
imsdk._callbacks.onIMData = (protocol) => {
    console.log('收到消息:', protocol);
};

imsdk._callbacks.onIMLoginSuccess = () => {
    console.log('登录成功');
};

imsdk._callbacks.onIMLoginFailure = (isReconnect) => {
    console.log('登录失败', isReconnect ? '重连失败' : '首次登录失败');
};
```

## 配置

SDK提供了一些配置选项，开发者可以根据需要进行调整：

- `wsUrl`: WebSocket连接地址
- `_debug.enable`: 是否开启调试模式
- `_debug.pingPongEnable`: 是否开启心跳包调试

## 依赖

- `Protocol`: 消息协议定义
- `QoS4SendDaemon`: 消息发送质量保证
- `QosReceiveDaemon`: 消息接收质量保证
- `Logger`: 日志工具

## 贡献

欢迎对本项目进行贡献，您可以通过提交PR或Issue的方式参与到项目中。