open-index/open-npm huggingface dataset:
npm package: @pxr-advertising/oneline
Description: The OneLine handles all the logic needed for a publisher to serve ads.
Author: pxr-advertising
Latest version: 1.0.1

# OneLine

Welcome by the Next Day Media OneLine project. The OneLine handles all the logic needed for a publisher to serve ads.

#### Stub

In head code:

```html
<script async src="//oneline.nextday.media/static/tags/XXXXXXXXXX.js"></script>
```

## Event listeners

OneLine offers external script the possibility to receive events. You can subscribe to topics to add custom behaviour.

### Topics

You can subscribe to the following topics:

| Topic           | Description                             | Data                       |
| --------------- | --------------------------------------- | -------------------------- |
| `isEmpty`       | When the placement has no ad to display | {id: `<id of the ad div>`} |
| `isNotEmpty`    | When the placement has an ad to display | {id: `<id of the ad div>`} |
| `tcfReady`      | When tcf is ready                       | -                          |
| `documentReady` | When documentReady is ready             | -                          |
| `ageGateReady`  | When ageGateReady is ready              | -                          |

### Subscribe example isEmpty (add div)

```javascript
ndmOne.event.subscribe(ndmOne.event.topic.isEmpty, (data) => {
  console.log("Event isEmpty : ", data);
  if (data.id !== "ndm-predefined-1") {
    return;
  }
  let e = document.getElementById(data.id);
  let n = document.createElement("div");
  n.innerHTML = "Event: isEmpty";
  e.parentNode.insertBefore(n, e.nextSibling);
});
```

## Control ad unit

If the rendering of the view is completed. You can request the ad units.

```javascript
import { NdmOne } from "@nextdaymedia/oneline";

declare const ndmOne: NdmOne;

  ndmOne.adUnitRequest(); // Set command to load all matching ad units on the page
  // ndmOne.adUnitRequest(['ndm-1', 'ndm-2']); // Or load only this div's
  // ndmOne.adUnitRequest(['push-up-all']); // Or load only all push up's

```

## buildVideoUrl

The `buildVideoUrl` function is responsible for constructing a video URL based on specified parameters. This function is written in TypeScript.

### Parameters

- **`adUnit: BidderConfig[]`**: An array of bidder configurations representing the ad units.

- **`placementID: string`**: A string representing the placement ID for the video.
npm package: @pxridah/hylowcode-chart-components-pane
Description: 低代码图表组件面板
Latest version: 0.0.1

# @alilc/lowcode-plugin-components-pane

## 注意

当前组件面板不兼容旧的资产包协议定义内容，支持的资产包协议如下：

```TypeScript
export interface ComponentSort {
  groupList?: String[]; // 用于描述组件面板的 tab 项及其排序，例如：["精选组件", "原子组件"]
  categoryList?: String[]; // 组件面板中同一个 tab 下的不同区间用 category 区分，category 的排序依照 categoryList 顺序排列；
}

export interface Assets {
  version: string; // 资产包协议版本号
  packages?: Array<Package>; // 大包列表，external与package的概念相似，融合在一起
  components: Array<ComponentDescription> | Array<RemoteComponentDescription>; // 所有组件的描述协议列表
  componentList?: ComponentCategory[]; // 【待废弃】组件分类列表，用来描述物料面板
  sort: ComponentSort; // 新增字段，用于描述组件面板中的 tab 和 category
}

export interface RemoteComponentDescription {
  exportName: string; // 组件描述导出名字，可以通过 window[exportName] 获取到组件描述的 Object 内容；
  url: string; // 组件描述的资源链接；
  package: { // 组件(库)的 npm 信息；
	  npm: string;
  }
}
```
npm package: @pxridah/hylowcode-material
Description: hy-demo
Author: fusion-team
Latest version: 0.2.70

# hy-demo

一个面向 PC 的业务组件库

## 调试

启动调试

```
npm run lowcode:dev             # 打开开发环境，运行所有组件
```

构建

```
npm run lowcode:build
```
npm package: @pxridah/hylowcode-material-chart
Description: hy-demo
Author: fusion-team
Latest version: 0.0.22

# hy-demo

一个面向 PC 的业务组件库

## 调试

启动调试

```
npm run lowcode:dev             # 打开开发环境，运行所有组件
```

构建

```
npm run lowcode:build
```
npm package: @pxridah/hylowcode-material-custom
Description: hy-demo
Author: fusion-team
Latest version: 0.0.10

# hy-demo

一个面向 PC 的业务组件库

## 调试

启动调试

```
npm run lowcode:dev             # 打开开发环境，运行所有组件
```

构建

```
npm run lowcode:build
```
npm package: @pxseu/eslint-config
Description: My personal ESLint config
Author: pxseu
Latest version: 1.0.1

# My amazing ESLint config

I made this so i dont have to copy paste :)

## Instalation

```sh
~ yarn add @pxseu/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser --dev
```