open-index/open-npm huggingface dataset:
npm package: @jtekt/socket-req-res
Description: The built-in NodeJS 'net' module allows for simple RCP connection and data exchange between network devices. It operates in an event-driven fashion and thus all incoming data is handled in a single callback.
Author: Maxime Moreillon
Latest version: 1.0.2

# SocketReqRes

The built-in NodeJS 'net' module allows for simple TCP connection and data exchange between network devices.
It operates in an event-driven fashion and thus all incoming data is handled in a single callback.

Oftentimes, devices such as PLCs are designed to respond with data immediately upon receiving a valid message.
Such design pattern brings communication with those devices close to request/response types of communication such as with HTTP.

Nevertheless, since the 'net' module handles all responses in the same callback, it can be difficult to properly identify which response corresponds to which message.
This module attempts to solve this shortfall by adding a promise-based handling of messages and their response, similar to how Axios manages HTTP requests.

## Usage

```javascript
const SocketReqRes = require("@jtekt/socket-req-res")

const device = new SocketReqRes({ host: "192.168.1.2", port: 8080 })

device
  .connect()
  .then(() => {
    console.log(`Device connected`)
    return device.send("my first message")
  })
  .then((response) => {
    console.log(response)
    return device.send("my second message")
  })
  .catch(console.log)
```
npm package: @jtekt/vue-excel-parser
Description: Converts Excel sheets to a JSON array of objects with properties defined by the user <<<<<<< HEAD =======
Author: Maxime Moreillon, JTEKT Corporation
Latest version: 0.0.9

# Excel Parser

Converts Excel sheets to a JSON array of objects with properties defined by the user
<<<<<<< HEAD
=======

## Install

```bash
npm install @jtekt/vue-excel-parser
```

## Usage

```vue
<template>
  <ExcelParser
    height="500px"
    @update="parsedExcel = $event"
    v-model:fields="fieldsToSelect"
    v-model:sheet="sheet"
    :rows="{ start: 1, end: 5 }"
  />
</template>

<script setup lang="ts">
import ExcelParser from "@/components/ExcelParser.vue"
import { ref } from "vue"

const parsedExcel = ref([])
const sheet = ref("Movies")

const fieldsToSelect = [
  { value: "title", text: "Title", column: undefined },
  { value: "year", text: "Year", column: undefined },
  { value: "director", text: "Director", column: undefined },
]
</script>
```
>>>>>>> 7b934f93206d9916590e28da6e1989855d98ec72
npm package: @jtelesforoantonio/tiny-console
Description: Tiny console with nodejs
Author: Jonathan Telesforo Antonio
Latest version: 1.0.2

# Tiny Console

Example of a simple console with nodejs, you can run commands like: ls, ll, touch, mkdir, cat, cd, rm

## Installation

```shell
npm i @jtelesforoantonio/tiny-console
```

## Usage

Require TinyConsole.
```javascript
const tinyConsole = require('@jtelesforoantonio/tiny-console');
```

Basic init.
```javascript
tinyConsole.init();
```
 
You can set the path to init the console by passing the path as a parameter in the init method.
```javascript
tinyConsole.init('./my_custom/path');
```
npm package: @jtemplate/parser
Description: 实现 JavaScript 引用对象的深拷贝功能
Author: jtemplate
Latest version: 1.0.3

### @jtemplate/parser ![example workflow](https://github.com/jtemplate/parser/actions/workflows/ci.yml/badge.svg)

实现 JavaScript 引用对象的深拷贝功能

### 使用者指南

通过 npm 下载安装代码

```bash
$ npm install --save @jtemplate/parser
```

如果你是 node 环境

```js
var { clone } = require('@jtemplate/parser');

clone({ a: 1 });
```

如果你是 webpack 等环境

```js
import { clone } from '@jtemplate/parser';

clone({ a: 1 });
```

如果你是浏览器环境

```html
<script src="node_modules/@jtemplate/parser/dist/index.aio.js"></script>
<script>
  clone({ a: 1 });
</script>
```

### 贡献者指南

首次运行需要先安装依赖

```bash
$ npm install
```

一键打包生成生产代码

```bash
$ npm run build
```

运行单元测试:

```bash
$ npm test
```
npm package: @jtemplate/precompiler
Description: 实现 JavaScript 引用对象的深拷贝功能
Author: jtemplate
Latest version: 1.0.3

### @jtemplate/precompiler ![example workflow](https://github.com/jtemplate/precompiler/actions/workflows/ci.yml/badge.svg)

实现 JavaScript 引用对象的深拷贝功能

### 使用者指南

通过 npm 下载安装代码

```bash
$ npm install --save @jtemplate/precompiler
```

如果你是 node 环境

```js
var { clone } = require('@jtemplate/precompiler');

clone({ a: 1 });
```

如果你是 webpack 等环境

```js
import { clone } from '@jtemplate/precompiler';

clone({ a: 1 });
```

如果你是浏览器环境

```html
<script src="node_modules/@jtemplate/precompiler/dist/index.aio.js"></script>
<script>
  clone({ a: 1 });
</script>
```

### 贡献者指南

首次运行需要先安装依赖

```bash
$ npm install
```

一键打包生成生产代码

```bash
$ npm run build
```

运行单元测试:

```bash
$ npm test
```
npm package: @jtemplate/template
Description: 实现 JavaScript 引用对象的深拷贝功能
Author: jtemplate
Latest version: 1.0.3

### @jtemplate/template ![example workflow](https://github.com/jtemplate/template/actions/workflows/ci.yml/badge.svg)

实现 JavaScript 引用对象的深拷贝功能

### 使用者指南

通过 npm 下载安装代码

```bash
$ npm install --save @jtemplate/template
```

如果你是 node 环境

```js
var { clone } = require('@jtemplate/template');

clone({ a: 1 });
```

如果你是 webpack 等环境

```js
import { clone } from '@jtemplate/template';

clone({ a: 1 });
```

如果你是浏览器环境

```html
<script src="node_modules/@jtemplate/template/dist/index.aio.js"></script>
<script>
  clone({ a: 1 });
</script>
```

### 贡献者指南

首次运行需要先安装依赖

```bash
$ npm install
```

一键打包生成生产代码

```bash
$ npm run build
```

运行单元测试:

```bash
$ npm test
```