open-index/open-npm huggingface dataset:
npm package: @open-microfrontends/schemas
Description: OpenMicrofrontends JSON-Schemas
Author: OpenMicrofrontends Contributers
Latest version: 1.0.0


# OpenMicrofrontends Schemas

The core JSON-Schema for the [OpenMicrofrontends](https://www.open-microfrontends.org/) Specification.

It can be used to validate OpenMicrofrontend Description files:

```yaml
$schema: "./node_modules/@open-microfrontends/schemas/dist/open-microfrontends.json"
openMicrofrontends: 1.0.0
microfrontends:
  - name: My First Microfrontend
    assets:
      initial:
        js:
          - app.js
    rendererFunctionName: startMyFirstMicrofrontend
```
npm package: @open-microfrontends/types
Description: OpenMicrofrontends TypeScript Types
Author: OpenMicrofrontends Contributers
Latest version: 1.0.0


# OpenMicrofrontends Types

TypeScript types for the [OpenMicrofrontends](https://www.open-microfrontends.org) Specification.

This package is mainly intended for Tools and Frameworks based on the OpenMicrofrontends Specification.

## Usage

```typescript
import type { Microfrontend } from '@open-microfrontends/types/OpenMicrofrontendDescription';

// Validate against the OpenMicrofrontends Specification
const microfrontend: Microfrontend = {
  // ...
};
``` 

```typescript
import type { OpenMicrofrontendsRendererer } from '@open-microfrontends/types/OpenMicrofrontendsRenderer';

// Create a client-side Renderer
const renderer: OpenMicrofrontendsRendererer<Config> = async (hostEl, context) => {
   // ...
};

```

```typescript
import type { OpenMicrofrontendsServerSideRenderer } from '@open-microfrontends/types/OpenMicrofrontendsServerSideRenderer';

// Create a server-side Renderer

const renderer: OpenMicrofrontendsServerSideRenderer<Config> = async (context) => {
    // ...
};
```
npm package: @open-monordo/bitfield-permission-manager
Description: MonOrdo library for manage permissions with bitfield system
Author: Cariz
Latest version: 0.2.0-beta.1

# bitfield-permission-manager
![badge][0] [![Build Status][1]][2]

![MonOrdo logo](https://www.monordo.com/wp-content/uploads/2022/06/MonOrdo.jpg)

❤️ **This library is developed and maintained by MonOrdo** ❤️

This library is developed to use the [Bit field](https://en.wikipedia.org/wiki/Bit_field) method as the main logic base within our permission system. We did not invent this method, nor its application to the permission system, but after having been inspired by discord, for example. We chose to simplify its use by creating a library to apply it more simply. This library supports [injection](https://rxjs.dev/) within a module and can therefore be injected, for example, within the services of a [NestJs](https://nestjs.com/) server. This library also exposes a Guard to simplify its use within [NestJs](https://nestjs.com/).

The bit field method allows building a permission system like Discord uses for its channels. The main advantage is to avoid heavy data transfers on the whole proposed solution. For its use, the storage of a big int is enough. The second advantage is its reliability for the check of permissions, no storage of permissions is necessary except the storage of the big int, so only its interpretation can differ in time and not name migrations as can be found on classical methods.

**Repository:** [https://github.com/monordo/bitfield-permission-manager](https://github.com/monordo/bitfield-permission-manager)

**Official documentation:** [https://monordo.gitbook.io/bitfield-permission-manager/](https://monordo.gitbook.io/bitfield-permission-manager/)

**NPM details:** [https://www.npmjs.com/package/@monordo/bitfield-permission-manager](https://www.npmjs.com/package/@monordo/bitfield-permission-manager)




[0]: https://img.shields.io/badge/%20coverage%20-100-green?style=flat-square
[1]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fmonordo%2Fbitfield-permission-manager%2Fbadge%3Fref%3Dmain&style=flat-square

[2]: https://actions-badge.atrox.dev/monordo/bitfield-permission-manager/goto?ref=main
npm package: @open-monordo/bitfield-permission-manager-core
Description: MonOrdo library for manage permissions with bitfield system
Author: Cariz
Latest version: 0.1.0-beta.1

# bitfield-permission-manager
![badge][0] [![Build Status][1]][2]

![MonOrdo logo](https://www.monordo.com/wp-content/uploads/2022/06/MonOrdo.jpg)

❤️ **This library is developed and maintained by MonOrdo** ❤️

This library is developed to use the [Bit field](https://en.wikipedia.org/wiki/Bit_field) method as the main logic base within our permission system. We did not invent this method, nor its application to the permission system, but after having been inspired by discord, for example. We chose to simplify its use by creating a library to apply it more simply. This library supports [injection](https://rxjs.dev/) within a module and can therefore be injected, for example, within the services of a [NestJs](https://nestjs.com/) server. This library also exposes a Guard to simplify its use within [NestJs](https://nestjs.com/).

The bit field method allows building a permission system like Discord uses for its channels. The main advantage is to avoid heavy data transfers on the whole proposed solution. For its use, the storage of a big int is enough. The second advantage is its reliability for the check of permissions, no storage of permissions is necessary except the storage of the big int, so only its interpretation can differ in time and not name migrations as can be found on classical methods.

**Repository:** [https://github.com/monordo/bitfield-permission-manager](https://github.com/monordo/bitfield-permission-manager)

**Official documentation:** [https://monordo.gitbook.io/bitfield-permission-manager/](https://monordo.gitbook.io/bitfield-permission-manager/)

**NPM details:** [https://www.npmjs.com/package/@monordo/bitfield-permission-manager](https://www.npmjs.com/package/@monordo/bitfield-permission-manager)




[0]: https://img.shields.io/badge/%20coverage%20-100-green?style=flat-square
[1]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fmonordo%2Fbitfield-permission-manager%2Fbadge%3Fref%3Dmain&style=flat-square

[2]: https://actions-badge.atrox.dev/monordo/bitfield-permission-manager/goto?ref=main
npm package: @open-monordo/n8n-nodes-intercom
Description: Intercom n8n
Author: cariz
Latest version: 0.2.10

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @open-monordo/n8n-nodes-monordo
Description: MonOrdo n8n
Author: cariz
Latest version: 0.1.3

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @open-motion/cli
Description: The Command Line Interface for **OpenMotion** — the open-source programmatic video engine.
Latest version: 0.2.0

# @open-motion/cli

The Command Line Interface for **OpenMotion** — the open-source programmatic video engine.

## 🚀 Features

- 🏗️ **Quick Init**: Scaffold new OpenMotion projects instantly.
- 🎥 **High-Speed Rendering**: Capture and encode videos directly from your React code.
- 🚀 **Parallel Execution**: Leverage multi-core CPUs for faster frame capturing.
- 🎛️ **Dynamic Props**: Inject external data into your videos via JSON.

## 🛠 Installation

```bash
npm install -g @open-motion/cli
# or use via npx
npx @open-motion/cli --help
```

## 📖 Usage

### Initialize a project
```bash
open-motion init my-video
```

### Render a video
```bash
open-motion render --url http://localhost:5173 --out out.mp4 --concurrency 4
```

Learn more at the [main OpenMotion repository](https://github.com/jsongo/open-motion).
npm package: @open-motion/core
Description: Core React primitives, hooks, and player for **OpenMotion** — the open-source programmatic video engine.
Latest version: 0.1.9

# @open-motion/core

Core React primitives, hooks, and player for **OpenMotion** — the open-source programmatic video engine.

## ✨ Features

- ⚛️ **React Components**: Use `Composition`, `Sequence`, `Video`, and more to build your video.
- 🎣 **Powerful Hooks**: Access `useCurrentFrame`, `useVideoConfig`, and `getInputProps` anywhere.
- ⏱️ **Animation Utilities**: High-performance `spring` animations and multi-segment `interpolate` functions.
- 🎞️ **Interactive Player**: Real-time preview and scrubbing during development.

## 🚀 Installation

```bash
pnpm add @open-motion/core
# or
npm install @open-motion/core
```

## 📖 Usage

```tsx
import { Composition, Sequence, spring, useCurrentFrame, useVideoConfig } from "@open-motion/core";

const MyVideo = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();
  const scale = spring({ frame, fps });

  return (
    <div style={{ flex: 1, backgroundColor: "white", display: "flex", justifyContent: "center", alignItems: "center" }}>
      <h1 style={{ transform: `scale(${scale})` }}>Hello OpenMotion</h1>
    </div>
  );
};
```

Learn more at the [main OpenMotion repository](https://github.com/jsongo/open-motion).
npm package: @open-motion/encoder
Description: The FFmpeg-powered encoding engine for **OpenMotion**.
Latest version: 0.1.9

# @open-motion/encoder

The FFmpeg-powered encoding engine for **OpenMotion**.

This package handles:
- Merging image sequences into high-quality MP4 files.
- Managing frame rates and output quality (CRF).
- Future support for audio track mixing and multi-track encoding.

## 🛠 Installation

```bash
pnpm add @open-motion/encoder
```

## 📖 Requirements

You must have `ffmpeg` installed on your system.

## 📖 Usage

Typically used internally by the `@open-motion/cli`.

Learn more at the [main OpenMotion repository](https://github.com/jsongo/open-motion).
npm package: @open-motion/renderer
Description: The Playwright-based rendering engine for **OpenMotion**.
Latest version: 0.1.9

# @open-motion/renderer

The Playwright-based rendering engine for **OpenMotion**.

This package is responsible for:
- Launching headless browser instances (via Playwright).
- Synchronizing with the React lifecycle using `delayRender`/`continueRender`.
- Capturing frame-perfect screenshots of your video compositions.
- Managing parallel rendering workers.

## 🛠 Installation

```bash
pnpm add @open-motion/renderer
```

## 📖 Usage

This package is typically used internally by the `@open-motion/cli`.

Learn more at the [main OpenMotion repository](https://github.com/jsongo/open-motion).
npm package: @open-native/core
Description: Open Native helps cross platform communities work better together.
Author: Ammar Ahmed
Latest version: 2.1.0

# @open-native/core

The Open Native core library. Head over to our [documentation](https://opennative.github.io/open-native/) to learn how you can use Native Modules in your NativeScript app with Open Native.

## Installation

Install the library from npm

```
npm install @open-native/core
```

#
## MIT License
npm package: @open-node/antman
Description: Debug node.js process by client REPL on net socket and is silent
Author: Redstone Zhao
Latest version: 0.7.7

# @open-node/antman
Debug node.js process by client REPL on net socket and is silent.

[![Build status](https://travis-ci.com/open-node/antman.svg?branch=master)](https://travis-ci.org/open-node/antman)
[![codecov](https://codecov.io/gh/open-node/antman/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/antman)

# Installation
<pre>npm i @open-node/antman --save</pre>

# Usage
* your node.js process code
<pre>
const antman = require('@open-node/antman')();

// regist variable on agents object
antman.regist('key', value, 'description');

// start debugger server
antman.start(listen, secret, { expire: 30 * 60 });
</pre>

* Execute the following command then enter REPL mode to debug
<pre>
antman connect 9085
</pre>

* REPL debugger mode
<pre>
`$` is the agent whose be debugged node.js process
`help` is tips info for you
</pre>

# cli tool antman demo
![antman demo](./assets/demo.gif)



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [Antman][1]
    -   [regist][2]
        -   [Parameters][3]
    -   [start][4]
        -   [Parameters][5]
-   [antman][6]

## Antman

Returns **[Antman][7]** Instance

### regist

regist variable on agents

#### Parameters

-   `key` **[string][8]** 
-   `value` **any** 
-   `description` **[string][8]?**  (optional, default `"Undefined description text"`)

Returns **void** 

### start

start socket server

#### Parameters

-   `listen` **[string][8]** listen address，port or ip+port or sock-file-path, (optional, default `9085`)
-   `secret` **[string][8]** OTP secret default null, unnecessary when secret be null (optional, default `null`)
-   `opt` **[object][9]?** { expire: 900 } (optional, default `defaultOpt`)

Returns **void** 

## antman

[1]: #antman

[2]: #regist

[3]: #parameters

[4]: #start

[5]: #parameters-1

[6]: #antman-1

[7]: #antman

[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String

[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
npm package: @open-node/bitmap
Description: rgb-bitmap
Author: Redstone Zhao
Latest version: 1.0.0

# Bitmap 绘图框架

* [v1 Demo](https://open-node.github.io/bitmap/v1/)
* [Demo - master](https://open-node.github.io/bitmap/)

<pre>
const Bitmap = require('@open-node/bitmap')
const bitmap = new Bitmap(canvas); // canvas 是 canvas 的dom对象，或者node-canvas 服务器端创建的实例
bitmap.init(red, green, blue); // 初始化，code是函数的代码，参数分别是红绿蓝三种颜色的控制函数, 函数体
bitmap.draw(); // 静态绘制
// bitmap.play(); // 动态播放
// bitmap.stop(); // 停止播放
</pre>



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [Bitmap][1]
    -   [Parameters][2]
    -   [init][3]
        -   [Parameters][4]
    -   [draw][5]
    -   [play][6]
    -   [resetFno][7]
    -   [stop][8]

## Bitmap

### Parameters

-   `canvas` **dom** canvas dom object

Returns **[Bitmap][9]** Instance

### init

初始化r,g,b函数

#### Parameters

-   `red` **[function][10]** 
-   `green` **[function][10]** 
-   `blue` **[function][10]** 

Returns **void** 

### draw

静态绘制

Returns **void** 

### play

动画绘制开启

Returns **void** 

### resetFno

重置帧计数

Returns **void** 

### stop

动画绘制关闭

Returns **void** 

[1]: #bitmap

[2]: #parameters

[3]: #init

[4]: #parameters-1

[5]: #draw

[6]: #play

[7]: #resetfno

[8]: #stop

[9]: #bitmap

[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function
npm package: @open-node/dm
Description: Dependency Injection Manager for Node.js
Author: Redstone Zhao
Latest version: 3.0.0-alpha.2

# @open-node/dm
Dependency Injection Manager for Node.js

[![Build status](https://travis-ci.com/open-node/dm.svg?branch=master)](https://travis-ci.org/open-node/dm)
[![codecov](https://codecov.io/gh/open-node/dm/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/dm)

# Installation
<pre>npm i @open-node/dm --save</pre>

# Usage
<pre>
const _ = require('lodash');
const DM = require('@open-node/dm');

const dm = DM(_);

const deps = {};
dm.auto(modules, deps, args);
</pre>
npm package: @open-node/eip-user-event
Description: EIPUserEvent SDK 用法 ==========================
Author: Redstone Zhao
Latest version: 0.2.1

EIPUserEvent SDK 用法
==========================

```js
// 引入SDK
const EIPUserEvent = require('@open-node/eip-user-event');

// 初始化
const sdk = EIPUserEvent('https://__API_ROOT__', errorFn);

// 记录行为，具体参考用户行为设计文档
sdk.add(__EVENT_TYPE, __ATTRS__);

// 当前用户登录后，启动发送
sdk.start(__USER_ID__, __TOKEN__);
```
npm package: @open-node/errors
Description: custom error object
Author: Redstone Zhao
Latest version: 0.3.0

# @open-node/errors
make the error object with custom defines

[![Build status](https://travis-ci.com/open-node/errors.svg?branch=master)](https://travis-ci.org/open-node/errors)
[![codecov](https://codecov.io/gh/open-node/errors/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/errors)

# Installation
<pre>npm i @open-node/errors --save</pre>

# Usage
* your node.js process code
<pre>
const Errors = require('@open-node/errors');

const defines = [
  ['yourErrorCode', 'Your error message, allow add variable, eg: %s']
  ['yourErrorCode2', 'Your error message, allow add variable, eg: %s, %d']
];
const errors = Errors(defines);

// usage in your code
try {
  ...
  ...
} catch (e) {
  const error = errors.yourErrorCode(e.message); // returns error be instanceOf Error
  writeErrorLog(error);
}

</pre>
npm package: @open-node/graceful
Description: Node.js process reload graceful
Author: Redstone Zhao
Latest version: 0.4.0

# @open-node/graceful
Node.js process reload graceful

[![Build status](https://travis-ci.com/open-node/graceful.svg?branch=master)](https://travis-ci.org/open-node/graceful)
[![codecov](https://codecov.io/gh/open-node/graceful/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/graceful)

# Installation
<pre>npm i @open-node/graceful --save</pre>

# Usage
* your node.js process code
<pre>
const Graceful = require('@open-node/graceful');

// defined loginfo handle function
const info = console.log

const graceful = Graceful(info);

// get process status, false when existing unless will be true
const status = graceful.enabled()

// regist callback when process exit
graceful.exit(() => {
  // will be called when process exit
});

// wrap function, Once the function is executed, the process will not exit until the function is executed
const wrapped = graceful.runner(willBeWrappedFn);
wrapped(); // Once the function is executed, the process will not exit until the function is executed

// graceful.runnerAsync is the asynchronous version of runner
const wrapped = graceful.runner(willBeWrappedAsyncFn);
await wrapped(); // Once the function is executed, the process will not exit until the function is executed
</pre>



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [Graceful][1]
    -   [Parameters][2]
    -   [exit][3]
        -   [Parameters][4]
    -   [runner][5]
        -   [Parameters][6]
    -   [runnerAsync][7]
        -   [Parameters][8]
    -   [enabled][9]

## Graceful

### Parameters

-   `info` **[function][10]** log info output

Returns **Tick** Instance

### exit

regist event listenner for exiting

#### Parameters

-   `listenner` **[function][10]**

Returns **void**

### runner

Wrap the function sync version.
Once the be wrapped function is executed,
the process will not exit until the function is executed

#### Parameters

-   `fn` **[function][10]** will be wrapped fn

Returns **[function][10]** Be wrapped function

### runnerAsync

Wrap the function asynchronous version,
Once the be wrapped function is executed,
the process will not exit until the function is executed

#### Parameters

-   `fn` **AsyncFunction** will be wrapped fn (asynchronous)

Returns **[function][10]** Be warpped function

### enabled

The process status

Returns **[boolean][11]** status

[1]: #graceful

[2]: #parameters

[3]: #exit

[4]: #parameters-1

[5]: #runner

[6]: #parameters-2

[7]: #runnerasync

[8]: #parameters-3

[9]: #enabled

[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function

[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
npm package: @open-node/logger
Description: log recorder, info and error
Author: Redstone Zhao
Latest version: 0.5.1

# @open-node/logger
Record log info to logfile, info log by date, error log by error.code

[![Build status](https://travis-ci.com/open-node/logger.svg?branch=master)](https://travis-ci.org/open-node/logger)
[![codecov](https://codecov.io/gh/open-node/logger/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/logger)

# Installation
<pre>npm i @open-node/logger --save</pre>

# Usage
<pre>
const Logger = require('@open-node/logger');

const logger = Logger({ errorLogPath, infoLogPath }, deps, clientId);
</pre>



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [Logger][1]
    -   [Parameters][2]
    -   [error][3]
        -   [Parameters][4]
    -   [info][5]
        -   [Parameters][6]
    -   [logger][7]
        -   [Parameters][8]

## Logger

### Parameters

-   `config` **[Object][9]** 配置信息，errorLogPath, infoLogPath, 必须包含
    -   `config.errorLogPath`
    -   `config.infoLogPath`

Returns **[Logger][10]** Instance

### error

记录错误信息

#### Parameters

-   `e` **[error][11]** error对象
-   `extra` **any?** 额外要记录的信息

Returns **void**

### info

记录普通信息

#### Parameters

-   `message` **[string][12]** 要记录的信息
-   `extra` **any?** 额外要记录的信息

Returns **void**

### logger

将普通函数加工成带有日志记录功能的函数

#### Parameters

-   `fn` **[function][13]** 要加工的函数
-   `name` **[string][12]** 名称、归类
-   `isAsync` **[boolean][14]** 是否是异步函数 (optional, default `true`)
-   `transform` **[function][13]?** 返回值记录的tans 函数 (optional, default `x=>x`)
-   `errorHandler` **[function][13]?** 错误信息处理函数 (optional, default `e=>e.message`)
-   `argsHandler` **[function][13]?** 参数信息处理函数 (optional, default `JSON.stringify`)

Returns **[function][13]**

[1]: #logger

[2]: #parameters

[3]: #error

[4]: #parameters-1

[5]: #info

[6]: #parameters-2

[7]: #logger-1

[8]: #parameters-3

[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object

[10]: #logger

[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error

[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String

[13]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function

[14]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
npm package: @open-node/ticker
Description: log recorder, info and error
Author: Redstone Zhao
Latest version: 0.1.1

# @open-node/ticker
server availability status uphold, auto dependency detection

[![Build status](https://travis-ci.com/open-node/ticker.svg?branch=master)](https://travis-ci.org/open-node/ticker)
[![codecov](https://codecov.io/gh/open-node/ticker/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/ticker)

# Installation
<pre>npm i @open-node/ticker --save</pre>

# Usage
<pre>
const Ticker = require('@open-node/ticker');

const ticker = Ticker(['server1', 'server2', 'server3']);

// Upload server1 status with call checkServer1AsyncFn per 2 second
ticker.tock(checkServer1AsyncFn, 'server1', 2 * 1000);

cosnt server1Availability = ticker.status('server1'); // server1Availability is true or false

const fn1IfServer1Availability = ticker.runner(fn1, 'server1');

await fn1IfServer1Availability(); // fn1 be called when server1 is enabled unless fn1 will be wait, unit server1 is enabled
</pre>



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [Ticker][1]
    -   [Parameters][2]
    -   [status][3]
        -   [Parameters][4]
    -   [tock][5]
        -   [Parameters][6]
    -   [runner][7]
        -   [Parameters][8]

## Ticker

### Parameters

-   `_keys` **[Array][9]&lt;[string][10]>** Dependency server's names

Returns **[Ticker][11]** Instance

### status

read/write status value

#### Parameters

-   `key` **[string][10]** server's unique key
-   `value` **[boolean][12]?** server's status value

Returns **[boolean][12]** server's current status value

### tock

Dependency detection runner

#### Parameters

-   `hitFn` **AsyncFunction** detection function return true or false
-   `key` **[string][10]** server‘s key
-   `sleepMS` **[number][13]** two times called interval ms

Returns **AsyncFunction** detection runner be called by async.forever

### runner

For a function add dependency detection

#### Parameters

-   `fn` **[function][14]** Orig function, it will be add dependency detection
-   `key` **[string][10]** dependency server's key
-   `sleepMS` **[number][13]** dependency detection interval ms (optional, default `100`)

Returns **[function][14]** 返回处理后的函数

[1]: #ticker

[2]: #parameters

[3]: #status

[4]: #parameters-1

[5]: #tock

[6]: #parameters-2

[7]: #runner

[8]: #parameters-3

[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array

[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String

[11]: #ticker

[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean

[13]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number

[14]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function
npm package: @open-node/uploader
Description: Huge file upload by chunk
Author: Redstone Zhao
Latest version: 0.1.1

# @open-node/uploader
大文件分片上传，客户端SDK

<pre>npm i @open-node/uploader --save</pre>

## Usage

```js
const axios = require("axios");
const Uploader = require("./uploader");

const main = async () => {
  const headers = {
    "X-Auth-Token": "thisisatoken",
    "X-Auth-AppId": "i03n111cgy"
  };
  const uploader = new Uploader(axios, "/api_v1/app/files/slices", headers);
  uploader.changeOpt("chunkSize", 2 * 1024 * 1024);

  const input = document.getElementById("myfile");
  input.onchange = async e => {
    console.log(e);
    const file = await uploader.upload(
      e.target.files[0],
      console.log.bind(console, "Progress changed log")
    );
    console.log("Upload file success: %o", file);
  };
};

main();
```



<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [Uploader][1]
    -   [Parameters][2]
    -   [md5][3]
        -   [Parameters][4]
    -   [upload][5]
        -   [Parameters][6]
    -   [changeOpt][7]
        -   [Parameters][8]

## Uploader

### Parameters

-   `axios` **[object][9]** axios 发起请求库包
-   `url` **[string][10]** 上传地址
-   `headers`  
-   `token` **[string][10]** 身份认证信息，会通过头信息 X-Auth-Token 提交

Returns **[Uploader][11]** Instance

### md5

计算文件MD5值

#### Parameters

-   `file` **File** HTML5 选择文件后的对象

Returns **[string][10]** 文件md5 hash值

### upload

执行文件分片上传

#### Parameters

-   `file` **File** HTML5 选择后的文件对象
-   `changed` **[Function][12]** 上传进度百分比变化调用函数

Returns **[Response][13]** 服务端上传完毕返回值

### changeOpt

读取/修改设置

#### Parameters

-   `key` **[string][10]** 设置项目
-   `value` **any** 设置的值

Returns **void** 

[1]: #uploader

[2]: #parameters

[3]: #md5

[4]: #parameters-1

[5]: #upload

[6]: #parameters-2

[7]: #changeopt

[8]: #parameters-3

[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object

[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String

[11]: #uploader

[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function

[13]: https://developer.mozilla.org/docs/Web/Guide/HTML/HTML5
npm package: @open-norantec/ui-libraries
Description: Headless components for React.js and UI utilities
Author: lenconda
Latest version: 1.0.0-alpha.105

# Scroller Coaster

A customizable, flexible, and elegant scrollbar component for React.js and Next.js.

[Live Demo](https://unpkg.com/scroller-coaste/demo/index.html)

## Features

- 🎯 Support for both vertical and horizontal scrolling
- 🌐 RTL layout support
- 🎨 Fully customizable styling
- 🔄 Smooth scrolling experience
- ⚡ High performance, no jank
- 📱 Responsive design

## Installation

```bash
npm install scroller-coaster
```

## Basic Usage

```tsx
import { ScrollerCoaster } from 'scroller-coaster';

const App = () => {
  return (
    <ScrollerCoaster
      style={{
        width: '400px',
        height: '300px',
        border: '1px solid #ccc'
      }}
    >
      {/* Your content */}
    </ScrollerCoaster>
  );
};
```

## API

### ScrollerCoaster Props

| Property | Type | Default | Description |
|----------|------|---------|-------------|
| draggingScrollMaximumSpeed | number | 15 | Maximum speed of scroll when dragging (px/frame) |
| draggingScrollThreshold | number | 50 | Threshold to trigger drag scrolling (px) |
| horizontalTrackProps | ScrollerCoasterTrackProps | - | Horizontal scrollbar track properties |
| verticalTrackProps | ScrollerCoasterTrackProps | - | Vertical scrollbar track properties |
| dir | 'rtl' \| 'ltr' | 'ltr' | Text direction |

### ScrollerCoasterTrackProps

| Property | Type | Default | Description |
|----------|------|---------|-------------|
| showMode | 'always' \| 'hover' \| 'scrolling' | 'scrolling' | Scrollbar visibility mode |
| size | number | 12 | Scrollbar size (px) |
| thumbProps | React.HTMLAttributes<HTMLDivElement> | - | Scrollbar thumb properties |

## Examples

### Custom Scrollbar Styling

```tsx
<ScrollerCoaster
  horizontalTrackProps={{
    showMode: 'always',
    size: 8,
    thumbProps: {
      style: {
        backgroundColor: '#6366f1',
        borderRadius: '4px'
      }
    }
  }}
  verticalTrackProps={{
    showMode: 'hover',
    size: 8,
    thumbProps: {
      style: {
        backgroundColor: '#6366f1',
        borderRadius: '4px'
      }
    }
  }}
>
  {/* Content */}
</ScrollerCoaster>
```

### RTL Support

```tsx
<ScrollerCoaster
  dir="rtl"
  style={{
    width: '400px',
    height: '300px'
  }}
>
  {/* RTL content */}
</ScrollerCoaster>
```

## Browser Support

- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)

## Development

```bash
# Install dependencies
npm install

# Run development environment
npm run demo

# Build library
npm run build:lib

# Build demo
npm run build:demo
```

## License

MIT

## Contributing

1. Fork the project
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'feat: add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
npm package: @open-nps/react-component
Description: Made with create-react-library
Author: guidiego
Latest version: 1.0.0

# @open-nps/react-component

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@open-nps/react-component.svg)](https://www.npmjs.com/package/@open-nps/react-component) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @open-nps/react-component
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@open-nps/react-component'
import '@open-nps/react-component/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [guidiego](https://github.com/guidiego)