open-index/open-npm huggingface dataset:
npm package: @sereny/datastore
Description: The DataStore provides an interface for loading, editing and handling related events.
Author: Leandro Guindani Gehlen
Latest version: 0.23.3

# DataStore

[![Build Status](https://github.com/serenysoft/datastore/actions/workflows/ci.yml/badge.svg)](https://github.com/serenysoft/datastore/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/serenysoft/datastore/graph/badge.svg?token=4H5IISMX2D)](https://codecov.io/gh/serenysoft/datastore)

The DataStore provides an interface for loading, editing and handling related events.

## Requirements

- [Node](https://nodejs.org/)
npm package: @seresweb/message
Description: A native JS crafted message notification component, encompassing features for displaying messages, warnings, successes, and errors.
Latest version: 2.0.0

# @seres/message

原生 js 编写的消息提示组件。包括消息、警告、成功和错误提示。

## 安装

```bash
npm i @seresweb/message
```

## 使用

```js
import { message } from '@seresweb/message';

// error, success, info, warning
const { close, update } = message.info('这是一条普通信息');

// 更新内容
update('这是更新后的内容');

// 手动关闭
close();

// 关闭全部
message.closeAll();
```

## 属性

| 类型名称     | 默认值                   | 描述                                                   |
| ------------ | ------------------------ | ------------------------------------------------------ |
| class        | ''                       |                                                        |
| single       | false                    | 是否只显示一个提示                                     |
| singleCenter | false                    | 单个显示时是否居中                                     |
| offsetTop    | 20                       | 单个提示距离上一个提示的距离                           |
| duration     | 3000                     | 该时间后自动关闭，<=0 时不会自动关闭                   |
| closeable    | false                    | 是否显示关闭按钮                                       |
| darkSelector | `:root[data-theme=dark]` | 暗夜模式的选择器，只能通过`config`配置，不能调用时设置 |
| zIndex       | 9999                     |                                                        |

### 配置方式

配置全局属性

```js
message.config({ duration: 5000 });
```

在调用时配置

```js
message.warning('这条消息不会自动关闭', { duration: 0 });
```

## 发布

目前无自动发布流程，请在本地构建后发布（请务必拉取 main 分支后再进行本地构建））

1. 本地构建

```
npm run build
```

2. 更新版本号

```
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
```

```
1.0.0-0
| | | | - 测试版本号
| | | - 补丁版本
| | - 功能版本
| - 主版本
```

2. 推送

```
npm publish --access public
```
npm package: @serferdinand2/express-middleware-redirect
Description: Checks if the original URL is in the redirect data and redirects to the value if it is.
Author: Ognjen Ugljenovic
Latest version: 1.0.1

# Express Middleware Redirect
Redirecting middleware for express.js

<a name="redirectMiddleware"></a>

## redirectMiddleware ⇒
Checks if the original URL is in the redirect data and redirects to the value if it is.
 
**Returns**: Function  

| Param | Type | Description |
| --- | --- | --- |
| redirectData | <code>String</code> \| <code>Object</code> | Object or path to JSON file containing redirect data. |

**Example**  
```js
import redirectMiddleware from '@serferdinand2/express-middleware-redirect'

app.use(redirectMiddleware('./path/to/redirects.json'));
```
npm package: @serg.io/i18n
Description: Internationalization using tagged template literals.
Author: Sergio Alcantara
Latest version: 0.1.0

<section>

## Introduction ##

This library allows you to use [tagged template literals](
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates)
in your source code to generate content for different languages. This library provides the following
functions:

  * **`load`**: This function can be used to load definitions.
  * **`i18n`**: Template literals can be tagged with `i18n` to retrieve definitions that have been
    previously loaded using the `load` function.

</section>
<section>

## Installation ##

```bash
npm install @serg.io/i18n
```

</section>
<section>

## Example ##

You must first load the text definitions:

```javascript
import i18n, { load } from 'path/to/src/i18n.js';

// Load text definitions.
load({
	user: {
		firstName: 'First name',
		lastName: 'Last name',
	},
	submit: 'Submit',
});
```

Once your text definitions have been loaded, you can tag template literals using `i18n`. For
instance, the following example will change the `innerText` of the `button` with the string
"Submit":

```javascript
import i18n, { load } from 'path/to/src/i18n.js';

// Find the submit button.
const button = document.querySelector('button[type="submit"]');

// Change its text using i18n.
button.innerText = i18n`submit`;
```

</section>
<section>

## License ##

[MIT](https://github.com/serg-io/i18n/blob/master/LICENSE).

</section>
npm package: @sergeant61/sipjs-udp-transport
Description: Adds UDP transport to SIP.js
Author: Nils Schnabel
Latest version: 0.0.7


## Description

This custom transport class for [sip.js](https://github.com/onsip/sip.js) provides UDP transport.

## Usage Example

```js
    const UDPTransport = require("@unwise-door/sipjs-udp-transport");

    const username = ''
    const password = ''
    const domain = 'example.com'
    const port = '1010'

    const uri = sipjs.UserAgent.makeURI(`sip:${username}@${domain}:${port}`)

    const userAgent = new sipjs.UserAgent({
      uri,
      authorizationUsername: username,
      authorizationPassword: password,
      transportConstructor: UDPTransport,
      transportOptions: {
        server: ..., // default 0.0.0.0
        port: ..., // default 5060
        asteriskPort: port, //
        asteriskDomain: domain,
      },
      ...
    });
```
npm package: @sergei-dyshel/oclif-plugin-autocomplete-cjs
Description: autocomplete plugin for oclif
Author: Salesforce
Latest version: 3.2.11

# @oclif/plugin-autocomplete

autocomplete plugin for oclif (bash, zsh and powershell)

[![Version](https://img.shields.io/npm/v/@oclif/plugin-autocomplete.svg)](https://npmjs.org/package/@oclif/plugin-autocomplete)
[![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-autocomplete.svg)](https://npmjs.org/package/@oclif/plugin-autocomplete)
[![License](https://img.shields.io/npm/l/@oclif/plugin-autocomplete.svg)](https://github.com/oclif/plugin-autocomplete/blob/main/package.json)

<!-- toc -->
* [@oclif/plugin-autocomplete](#oclifplugin-autocomplete)
* [Usage](#usage)
* [Commands](#commands)
* [Contributing](#contributing)
<!-- tocstop -->

# Usage

Run `<cli> autocomplete` to generate the autocomplete files for your current shell.

## Topic separator

Since oclif v2 it's possible to use spaces as a topic separator in addition to colons.

For bash and zsh each topic separator has different autocomplete implementations, if the CLI supports using a space as the separator, plugin-autocomplete will generate completion for that topic.

If you still want to use the colon-separated autocomplete you can set `OCLIF_AUTOCOMPLETE_TOPIC_SEPARATOR` to `colon` and re-generate the autocomplete files.

Docs: https://oclif.io/docs/topic_separator

# Commands

<!-- commands -->
* [`oclif-example autocomplete [SHELL]`](#oclif-example-autocomplete-shell)

## `oclif-example autocomplete [SHELL]`

Display autocomplete installation instructions.

```
USAGE
  $ oclif-example autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  (zsh|bash|powershell) Shell type

FLAGS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

DESCRIPTION
  Display autocomplete installation instructions.

EXAMPLES
  $ oclif-example autocomplete

  $ oclif-example autocomplete bash

  $ oclif-example autocomplete zsh

  $ oclif-example autocomplete powershell

  $ oclif-example autocomplete --refresh-cache
```

_See code: [src/commands/autocomplete/index.ts](https://github.com/oclif/plugin-autocomplete/blob/v3.2.11/src/commands/autocomplete/index.ts)_
<!-- commandsstop -->

# Contributing

See [contributing guide](./CONRTIBUTING.md)
npm package: @sergeimeza/firebase-react
Description: Personal firebase library
Author: SergeiMeza
Latest version: 2.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:

### `yarn 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.

### `yarn 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.

### `yarn 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.

### `yarn 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/).

<h3 align="left">Support:</h3>
<p><a href="https://www.buymeacoffee.com/sergeimeza"> <img align="left" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="sergeimeza" /></a></p><br><br>
npm package: @sergeimeza/foundation-react
Description: Personal react hooks library
Author: SergeiMeza
Latest version: 2.0.2

# 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:

### `yarn 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.

### `yarn 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.

### `yarn 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.

### `yarn 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/).

<h3 align="left">Support:</h3>
<p><a href="https://www.buymeacoffee.com/sergeimeza"> <img align="left" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="sergeimeza" /></a></p><br><br>
npm package: @sergeimeza/uikit-react
Description: Personal react components library
Author: SergeiMeza
Latest version: 1.0.46

# 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:

### `yarn 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.

### `yarn 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.

### `yarn 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.

### `yarn 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: @sergejcodes/verify-commit-msg
Description: Commit message verification for simple-git-hooks.
Author: Sergej Samsonenko
Latest version: 1.0.0

# @sergejcodes/verify-commit-msg

Verifies the format of a commit message. Intended to be used with [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks).

## Setup

1. Install packages:

```bash
npm i -D simple-git-hooks
```

2. Add `postinstall` script and add a `commit-msg` hook to package.json:

```json
{
  "scripts": {
    "postinstall": "simple-git-hooks"
  },
  "simple-git-hooks": {
    "commit-msg": "npx @sergejcodes/verify-commit-msg@latest $1"
  }
}
```

3. Register Git Hooks:

```bash
npm i
```

## Commit message

Messages must be matched by the following regex:

```text
/^(revert: )?(feat|fix|docs|style|refactor|perf|test|build|ci|chore|types|release|deps)(\(.+\))?(\!)?: .{1,50}/
```