open-index/open-npm huggingface dataset:
npm package: @lqmanh/boracium
Description: Minimalistic SNMP client for Node.js
Author: Luong Quang Manh
Latest version: 1.4.0

[![](https://img.shields.io/github/license/lqmanh/boracium.svg?style=flat-square)](https://github.com/lqmanh/boracium)
[![](https://img.shields.io/npm/v/@lqmanh/boracium.svg?style=flat-square)](https://www.npmjs.com/package/@lqmanh/boracium)

# Boracium | B

> Minimalistic SNMP client for Node.js

## Installation

### Requirements

- Node.js >= 10
- [net-snmp](http://www.net-snmp.org) >= 5.7

### Instructions

#### With `npm`

```bash
$ npm i @lqmanh/boracium
```

#### With `yarn`

```bash
$ yarn add @lqmanh/boracium
```

## Features

- [x] Support SNMP v1, v2c and v3
- [x] Send GET requests
- [x] Send GETNEXT requests
- [x] Send GETBULK requests
- [x] Translate OIDs between textual, numeric and full type
- [x] Receive TRAP and INFORM messages
- [x] Walk MIB tree
- [ ] Send SET requests

## Usage

_\<Work in progress>_

## Changelog

Read more [here](https://github.com/lqmanh/boracium/blob/master/CHANGELOG.md).
npm package: @lqmanh/netsnmp
Description: Minimalistic SNMP client for Node.js
Author: Luong Quang Manh
Latest version: 0.1.1

[![](https://img.shields.io/github/license/lqmanh/netsnmp.svg?style=flat-square)](https://github.com/lqmanh/netsnmp)
[![](https://img.shields.io/npm/v/@lqmanh/netsnmp.svg?style=flat-square)](https://www.npmjs.com/package/@lqmanh/netsnmp)

# netsnmp

> Minimalistic SNMP client for Node.js

## INSTALLATION

### Requirements

- Node.js >= 8.0.0
- [net-snmp](http://www.net-snmp.org)

### Instructions

#### With `npm`

```bash
$ npm i @lqmanh/netsnmp
```

#### With `yarn`

```bash
$ yarn add @lqmanh/netsnmp
```

## USAGE

## CHANGELOG

Read more [here](https://github.com/lqmanh/netsnmp/blob/master/CHANGELOG.md).
npm package: @lqs469/map-chart
Description: A Vue.js component of map-visualization
Latest version: 0.0.18

# Map-chart &middot; ![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) [![npm version](https://img.shields.io/npm/v/@lqs469/map-chart.svg?style=flat)](https://www.npmjs.com/package/@lqs469/map-chart) [![npm version](https://img.shields.io/npm/dm/@lqs469/map-chart.svg)](https://www.npmjs.com/package/@lqs469/map-chart)

A Vue.js component of map-visualization

### Install

[NPM](https://www.npmjs.com/package/@lqs469/map-chart)

### Usage

Suggest to cast a glance at [Configuration GUI](https://lqs469.github.io/map-chart/).

```
<MapChart :config="config" />
```

### Configurations

```js
config = {
  enableKeys: true,
  controlEnabled: true,
  width: window.innerWidth,
  height: window.innerWidth * (1080 / 1920),
  earthUrl: '', // 地球纹理
  starUrl: '', // 背景星空纹理
  countryUrl: '', // 国境线纹理
  radius: 50,
  camera: [-31.85, 66.48, -94.05],
  sphere: [-8, 0, 0],
  drawCountry: false,
  ambientLight: {
    color: 0xffffff,
    intensity: 5,
  },
  directionalLight: {
    color: 0xffffff,
    position: [300, 350, -210],
    intensity: 0.8,
  },
  ring: {
    redRingUrl:
      'http://a.amap.com/insight/static/map-chart-components/bubble-1.png',
    redRingSize: [3, 4],
    redRingUpdateTime: 16,
    yellowRingUrl:
      'http://a.amap.com/insight/static/map-chart-components/bubble-2.png',
    yellowRingSize: [2, 3],
    yellowRingUpdateTime: 32,
    blueRingUrl:
      'http://a.amap.com/insight/static/map-chart-components/bubble-3.png',
    blueRingSize: [2, 2],
  },
  data: [
    {
      adcode: 330100,
      center: '120.213196,30.261488',
      value: 0.19336917,
      x: 1,
      y: 1,
      label: true,
      showRank: true,
    },
    ...
  ],
};
```
npm package: @lqs469/ssr
Description: Super Simple Router
Author: lqs469
Latest version: 1.0.2

# :rocket: SSR

Super Simple Router.

一个灰常轻量化的前端路由框架.

* 无任何依赖, 轻至百行.
* 可随意搭配流行前端框架.
* 即开即用, 实现基础功能甚至无需写一行 js 代码.
* 支持 hook, 提供 location 参数匹配.

## 💾 Installation

直接

```JS
<script src='ssr.js'></script>
```

或者 NPM

```BASH
npm i @lqs469/ssr -S
```

## :feet: Usage

无障碍实现功能, 实现功能只在需要的路由的组件加了一个`path`. [这有一个简单的 Demo](https://github.com/lqs469/SSR/tree/master/demo)

HTML:

```html
<a href=''>Index</a>
<a href='#a'>A</a>
<a href='#b/3/4?test=1'>C</a>

<div path='/'>Index</div>
<div path='a'>A</div>
<div path='b/:i/:j'>C</div>
```

JS:

```js
// ES:
import ssr from '@lqs469/ssr'

// 跳转钩子
// 点击 <a href='#b/3/4?test=1'>C</a> 跳转之后触发:
ssr.didChange(['b/:i/:j'], (props, search) => {
  // path: { i: '3', j: '4' }
  // serach:{ test: '1' }
  ...
})
```

## TODO

* [x] npm
* [ ] 嵌套?
* [ ] regex?
* [ ] match method?
* [ ] action style?
* [ ] promise hook?
npm package: @lqv/codebooth
Description: GUI for interactive coding tutorials with CodeMirror
Author: Yuri Sulyma
Latest version: 0.5.1

# @lqv/codebooth

This is a Liqvid plugin for recording and playing interactive coding tutorials. It is based on `@lqv/codemirror`. Documentation is at https://liqvidjs.org/docs/plugins/codebooth/.
npm package: @lqv/codemirror
Description: Codemirror 6 recording and replaying
Author: Yuri Sulyma
Latest version: 0.6.0

# @lqv/codemirror

[CodeMirror](https://codemirror.net/) plugin for [Liqvid](https://liqvidjs.org). Documentation at https://liqvidjs.org/docs/plugins/codemirror/.
npm package: @lqv/cursor
Description: Cursor recording and replaying for Liqvid
Author: Yuri Sulyma
Latest version: 0.2.1

# @lqv/cursor

Cursor replaying/recording for [Liqvid](https://liqvidjs.org). See https://liqvidjs.org/docs/plugins/cursor for documentation.

## Installation

```bash
npm install @lqv/cursor
```
npm package: @lqv/playback
Description: Playback interface for Liqvid-compatible plugins
Author: Yuri Sulyma
Latest version: 0.2.2

# @lqv/playback

This module is used internally by the [Liqvid plugin suite](https://liqvidjs.org/docs/plugins/recording). Primarily, it provides a `MediaElement` interface, which is a sub-interface of [`HTMLMediaElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement), for plugins to sync up with. It also provides React hooks to access the ambient `MediaElement`.

The `Playback` interface in this module is deprecated, and kept for backwards compatibility with Liqvid.
npm package: @lr0pb/component
Description: ⚡ Bootstrap React component folder structure using CLI
Author: lr0pb
Latest version: 0.4.2

<p align="center">
  <img src="https://raw.githubusercontent.com/lr0pb/component/main/docs/banner.png" alt="npx c banner" />
</p>
<h1 align="center">
  ⚡ Bootstrap React component folder structure
</h1>

CLI for bootstraping component folder structure for TypeScript React projects that use SCSS Modules for styling and [React Cosmos](https://github.com/react-cosmos/react-cosmos#readme) for visual testing

### Install

```sh
npm i -D @lr0pb/component
```

### Using

Use `npx c` to create component in the current working directory:

```
$ npx c ui/Button
            |
            v
src/ui/components/Button
```

It uses the next pattern for the component path:

```
$ npx c [folders]/[name]
               |
               v
[sourceDir]/[folders]/components/[name]
```

You could switch source directory by `--source-dir [dir]` flag and you could remove adding nested `components/` folder by `--exact-path` (`-e`) flag

### Component file structure

Using next flags you could tweak what files will have your next component:

```
  --no-types              Separated types file
  -s, --styles            Style files (default: false)
  --no-fixture            Fixtures object file
  -f, --single-fixture    Single fixture file (default: false)
  -d, --decorator         Cosmos decorator (default: false)
  -e, --exact-path        Create exact folder (default: false)
```

All them you can apply via multi select interface:

<p align="center">
  <img src="https://raw.githubusercontent.com/lr0pb/component/main/docs/screenshot.png" alt="Visualization of the CLI usage" />
</p>

Use `-y` flag to create component immediatelly without operating with select interface

Component have next file structure:

```
Button
  ├ Button.tsx                 base file
  ├ Button.fixture.tsx         --no-fixture to opt out
  ├ Button.module.scss         --styles
  ├ Button.module.scss.d.ts    --styles
  ├ Button.types.ts            --no-types to opt out
  ├ cosmos.decorator.tsx       --decorator
  └ index.ts                   base file
```

Types declaration file for styles is the same you get from [Typed CSS Modules](https://www.npmjs.com/package/typed-css-modules) with `--namedExports` flag

Project was created using [Pastel](https://github.com/vadimdemedes/pastel#readme), [Ink](https://github.com/vadimdemedes/ink#readme), [Ink UI](https://github.com/vadimdemedes/ink-ui#readme) and [Zod](https://github.com/colinhacks/zod#introduction)
npm package: @lr360/lr360-play
Description: A LR360 client tools to help testing the platform
Author: Lune Rouge 360 Inc.
Latest version: 0.4.1

# lr360-play

A LR360 client tools to help testing the platform rules.

## Install

```
npm install -g @lr360/lr360-play
```

## Configuration

To use a default endpoint and access key, you need to create **config.json** file.  If no options are specified, the tool will load the **config.json** from root folder.  Every options are optional.

### config.json

```json
{
    "endpoint": "https://demo-api.fidem360.com",
    "key": "API_KEY",
    "secret": "SECRET_KEY"
}
```

### context.json

To use a default context and access keys, you need to create **context.json** file.  If no options are specified, the tool will load the **context.json** from root folder. Every options are optional.

```json
{
    "device": "Device identifier [optional]",
    "session": "Session identifier [optional]",
    "member": "Member identifier [optional]",
    "coordinates": {
      "lat": 45.5087,
      "long": -73.554
    },
    "beacon": {
      "id": "Beacon id -  If id is specified, the code will not be taking into account",
      "code": "Beacon code",
      "distance": "RSSI value (-110 to -10)"
    }
}
```

## Usage

```shell
Usage: lr360-play [options] [command] [command-options]

Commands:

    ...

Options:

  -h, --help               Output usage information
  -V, --version            Output the version number

  -c, --config FILE_PATH   Uses this config file, if not specified, it will use config.json
  -u, --endpoint URL       Uses this endpoint to hit the platform API
  -k, --key API_KEY        Uses this access key
  -p, --secret SECRET_KEY  Uses this secret key

  -x, --context FILE_PATH  Uses this context file, if not specified, it will use context.json
  -d, --device DEVICE_ID   Sets the device identifier
  -s, --session SESSION_ID Sets the session identifier
  -m, --member MEMBER_ID   Sets the member identifier

  -e, --env ENV            Sets the environment.  Will prefix defaults file with the environment name.  Ex: demo-context.json
  -r, --raw-response       Saw the raw json response (JSON without transformation)

```

## License

MIT
npm package: @lrbn86/task-cli
Description: Manage tasks through the CLI
Author: lrbn86
Latest version: 1.0.3

# Task CLI
Manage tasks through the command line interface

## Features
- Add and delete tasks
- Update a task's status and/or description
- List tasks by optional status filter: todo or done

## Installation
1. Install node at https://nodejs.org/en/download
2. In terminal, run `npm install -g @lrbn86/task-cli` to install the `task-cli` package globally
3. `task-cli` can now be used in the terminal
4. WARNING: `tasks.json` file will be created in the same directory where `task-cli` is used if it does not exist!

## Usage
Run `task-cli help` to print the following usage instruction:
```
usage: task-cli <command> [options]

Commands:
  add <description>                        Add a new task with given description
  update <id> [--description] [--status]   Update a task's description and/or status
  delete <id>                              Delete a task by ID
  list [--todo | --done]                   List all tasks by optional filter: todo or done
  help                                     Show this message

Examples:
  task-cli add "Do laundry"
  task-cli update 2b76d754-2ba7-43a1-9ec1-9fbbbf3bd9f3 --status done
  task-cli update 2b76d754-2ba7-43a1-9ec1-9fbbbf3bd9f3 --description "Do chores"
  task-cli update 2b76d754-2ba7-43a1-9ec1-9fbbbf3bd9f3 --description "Do chores" --status todo
  task-cli delete 2b76d754-2ba7-43a1-9ec1-9fbbbf3bd9f3
  task-cli list
  task-cli list --todo
  task-cli list --done
```

## Next Steps
- Optimize for large JSON files
- Implement short/alias IDs
- Find a better place for tasks.json
npm package: @lrc-player/core
Description: 用于音乐播放器的歌词渲染
Latest version: 1.1.5

# @lrc-player/core  用于音乐播放器的歌词渲染

GitHub: [https://github.com/1727533196/lrc-player](https://github.com/1727533196/lrc-player)

生态作品: [https://gitee.com/wa-da-sheng-dao_0/vue3-electron-netease-cloud](https://gitee.com/wa-da-sheng-dao_0/vue3-electron-netease-cloud)

> 这个包为原生dom绑定，使用class来进行编写

## 安装
```
选择一个你当前项目中使用的包管理工具

npm: npm install @lrc-player/core@latest
yarn: yarn add @lrc-player/core@latest
pnpm: pnpm add @lrc-player/core@latest

在这里提供了一个帮助解析歌词的插件包
npm install @lrc-player/parse@latest
详细使用可以查看https://www.npmjs.com/package/@lrc-player/parse
```
## 初始化
```ts
import '@lrc-player/core/dist/style.css' // 引入样式
import { parseLrc, parseYrc } from '@lrc-player/parse'
import Player from '@lrc-player/core'

const player = new Player({
  // 当点击任意歌词行时，会触发这个事件
  click(time: number, index: number) {
    console.log(time, index)
    audio.value!.currentTime = time
    
    // 在歌词类内部不会主动追踪currentTime的改变行动
    //  所以任何主动更改currentTime的操作，都需要手动调用syncIndex来同步行
    player.syncIndex(index)
  }
})

// 挂载元素，确保这一步是最早且只需要挂载一次
//  第二个参数不一定必须是audio，只需要确认这个对象里包含 currentTime：number 属性即可（并且是实时更新的）
player.mount(document.querySelector('#app') as HTMLElement, audio)

// 更新url与歌词，通常在切换下一首或上一首时调用这个
// parseLrc是这个包里提供的解析歌词函数https://www.npmjs.com/package/@lrc-player/parse
const lrc = parseLrc('[11700,1410](11700,510,0)Let (12210,390,0)me (12600,510,0)know')
// 需要确认是逐字歌词还是逐行歌词，在这里是逐字，所以传入类型为lrc
player.updateAudioLrc(lrc, 'lrc')

// 开始播放音乐
audio.play()
// 开始同步歌词
player.play()

// 组件被销毁时，卸载Player实例
// react:
useEffect(() => {
  return () => {
    player.uninstall()
  }
}, [])

// vue:
onUnmounted(() => {
  player.uninstall()
})
```
   
## API

### function
* `player.play()` 开始播放
  * params：`无参数`
* `player.pause()` 暂停
  * params：`无参数`
* `player.updateAudioLrc(lrc, type: 'lrc' | 'yrc')` 更新歌词
  * `lrc` [`LyricsLine[]`](src/types/type.ts)：
* `player.syncIndex()` 同步歌词当前行，调用它可更改当前播放行
  * `index?: number` 若没有传入index，则会根据currentTime来自动同步当前行.(如果明确index，推荐传入以减少额外开销)
* `player.uninstall()` 卸载
npm package: @lrc-player/parse
Description: 用于解析网易云音乐逐行或逐字歌词插件
Author: YangShuHao
Latest version: 1.0.0

# @lrc-player/parse  用于解析歌词

> 目前只支持网易云音乐歌词格式（逐行或逐字）

## 安装
```text
选择一个你当前项目中使用的包管理工具

npm: npm install @lrc-player/parse@latest
yarn: yarn add @lrc-player/parse@latest
pnpm: pnpm add @lrc-player/parse@latest
```

## 初始化
```ts
import { parseLrc, parseYrc } from '@lrc-player/parse'

// yrc 表示逐行，lrc表示逐字

const lrc = '[11700,1410](11700,510,0)Let (12210,390,0)me (12600,510,0)know'
const yrc = '[00:01.80]我爱谁跨不过从来也不觉得错'

// 解析逐字歌词
parseLrc(lrc)

// 解析逐行歌词
parseYrc(yrc)
```

### lrc格式示例
```text
格式示例1：
[8610,3090](8610,240,0)Can (8850,120,0)you (8970,240,0)blow (9210,330,0)my (9540,540,0)whistle (10080,540,0)baby(10620,0,0), (10620,630,0)whistle (11250,450,0)baby
[11700,1410](11700,510,0)Let (12210,390,0)me (12600,510,0)know
[13260,2700](13260,420,0)Girl (13680,210,0)I'm (13890,240,0)gonna (14130,300,0)show (14430,360,0)you (14790,300,0)how (15090,150,0)to (15240,420,0)do (15660,300,0)it

格式示例2：
[16140,3480](16140,480,0)久(16620,420,0)未(17040,510,0)放(17550,510,0)晴(18060,270,0)的(18330,480,0)天(18810,810,0)空
[20040,3770](20040,480,0)依(20520,480,0)旧(21000,480,0)留(21480,330,0)着(21810,480,0)你(22290,330,0)的(22620,630,0)笑(23250,560,0)容
[24360,6730](24360,1090,0)哭(25450,1310,0)过 (26760,410,0)却(27170,670,0)无(27840,470,0)法(28310,460,0)掩(28770,300,0)埋(29070,780,0)歉(29850,1240,0)疚
```

### yrc格式示例
```text
格式示例1：
[00:01.80]我爱谁跨不过从来也不觉得错
[00:09.24]自以为抓着痛就能往回忆里躲
[00:16.05]偏执相信着受诅咒的水晶球
[00:23.73]阻挡可能心动的理由
[00:31.83]而你却靠近了逼我们视线交错
[00:38.79]原地不动或向前走突然在意这分钟
[00:46.26]眼前荒沙弥漫了等候耳边传来孱弱的呼救
[00:53.79]追赶要我爱的不保留
[01:01.56]我身骑白马走三关
[01:09.00]我改换素衣回中原
[01:16.86]放下西凉没人管
[01:24.00]我一心只想王宝钏
[01:46.80]而你却靠近了逼我们视线交错
[01:53.76]原地不动或向前走突然在意这分钟
[02:01.20]眼前荒沙弥漫了等候耳边传来孱弱的呼救
[02:08.79]追赶要我爱的不保留
[02:16.53]我身骑白马走三关
[02:24.00]我改换素衣回中原
[02:31.74]放下西凉没人管
[02:39.00]我一心只想王宝钏

格式示例2：
[00:20.320]所有美好全部come for ya
[00:22.990]我的爱也全部come for ya
[00:25.540]Baby 这是我给你的礼物
[00:28.150]只想把你藏在我心底
[00:30.960]所有美好全部come for ya
[00:33.400]我的爱也全部come for ya
[00:36.180]Baby 这是我给你的礼物
[00:38.760]只想把你藏在我心底
[00:42.250]One
[00:42.870]About stranger lover
```