open-index/open-npm huggingface dataset:
npm package: @ioris/core
Description: This package provides the core functionality for the [@ioris](https://www.npmjs.com/search?q=%40ioris) ecosystem for managing music lyrics with time synchronization.
Author: 8beeeaaat
Latest version: 0.4.0

# @ioris/core

This package provides the core functionality for the [@ioris](https://www.npmjs.com/search?q=%40ioris) ecosystem for managing music lyrics with time synchronization.

## 🎵 Features

- **Time-synchronized lyrics**: Track current paragraph, line, word, and character based on playback time
- **Hierarchical data structure**: Lyric → Paragraph → Line → Word → Char
- **Functional API**: Modern, immutable, pure-function based approach
- **Immutable data structures**: Predictable, side-effect-free operations
- **TypeScript support**: Full type safety with comprehensive type definitions
- **Extensible**: Support for custom tokenizers and parsers

## 🚀 Quick Start

```typescript
import { createLyric, getCurrentWord, getCurrentSummary } from "@ioris/core";

// Create lyric data
const lyric = await createLyric({
  resourceID: "my-song",
  duration: 180.5,
  timelines: [[[
    { wordID: "1", text: "Hello", begin: 0, end: 1, hasWhitespace: true },
    { wordID: "2", text: "world!", begin: 1, end: 2 }
  ]]]
});

// Get current word at specific time
const currentWord = getCurrentWord(lyric, 0.5);
console.log(currentWord?.timeline.text); // "Hello"

// Get comprehensive summary
const summary = getCurrentSummary(lyric, 0.5);
console.log(summary.currentWord?.timeline.text); // "Hello"
```

## Example

`npm install && npm run dev`

<img alt="demo" src="./example/demo.png" width="800" />

## Plugins

- [@ioris/tokenizer-kuromoji](https://github.com/8beeeaaat/ioris_tokenizer_kuromoji)

- [@ioris/parser-ttml](https://github.com/8beeeaaat/ioris_parser_ttml)
npm package: @ioriver/url-signer-js
Description: A Node.js library for generating signed URLs
Author: ioriver
Latest version: 3.3.0

# url-signer-nodejs

[![npm version](https://img.shields.io/npm/v/@ioriver/url-signer-js)](https://www.npmjs.com/package/@ioriver/url-signer-js)
[![Build Status](https://github.com/ioriver/url-signer-nodejs/actions/workflows/master.yml/badge.svg)](https://github.com/ioriver/url-signer-nodejs/actions)

## Overview

**url-signer-nodejs** is a Node.js library designed to generate signatures for URLs. These signatures can be used by the IO River service with Signed-URLs enabled to secure access to content. The library generates signatures for all CDN providers associated with the service.

---

## Installation

Install the library via npm:

```bash
npm install url-signer-nodejs
```

Or via yarn:

```bash
yarn add url-signer-nodejs
```

## Usage

Below is some example to help you get started:

### Step 1: Create URL Signer

```javascript
const UrlSigner = require("url-signer-nodejs");

const privateKey = "YourPrivateKey";
const encryptionKey = "YourEncryptionKey";

// use the provider key information copied from your service
providersKeyInfo = {
  cloudfront_key_id: "1234",
  fastly_key_id: "5678",
};

// Initialize the UrlSigner
const signer = new UrlSigner(privateKey, encryptionKey, providersKeyInfo);
```

### Step 2: Generate Signature

```javascript
// the policy to be signed
const policy = {
  resources: "https://example.com/*",
  condition: {
    endTime: 1733356800,
  },
};

// generate signature for all CDNs
const signature = singer.generateUrlSignature(policy);
```

## API Reference

### UrlSigner Constructor

#### Parameters

- **`privateKey`** (string): The private key for signing the URL.
- **`encryptionKey`** (string): The encryption key for signing the URL.
- **`providersKeyInfo`** (object): Information about the keys deployed within the CDN providers (copied from your service).

### generateUrlSignature(policy)

#### Attributes for policy

- **`resources`** (required):
  A string specifying the URL or URL pattern the policy applies to.

- **`condition`** (required):  
  A dictionary containing conditions for the policy.

  - **`endTime`** (required):  
    An integer specifying the UNIX timestamp when the signature will expire.

  Additional optional attributes in the `condition` dictionary include:

  - **`startTime`**:  
    An integer specifying the UNIX timestamp when the signature becomes valid. Default: None.

## Requirements

This library requires:

- Node.js 12 or later.
- Dependencies listed in package.json.

## Testing

```bash
npm test
```

## Support

If you encounter any issues, please [open an issue](https://github.com/ioriver/url-signer-nodejs/issues) on GitHub or contact us at support@ioriver.io.
npm package: @iorp/node-aid
Description: An organized node/js tool set.
Author: Iorp
Latest version: 0.0.4


# TODO:   
- readme file 
 
 

##   Build 
1. Build after edits.
Script postbuild will perform a npm link , see postbuild scripts at [package](./package.json).
  ```bash
   npm run build
   ```
2. Eventually link.
  ```bash
   npm link
   ```

 
## Tests 

```bash
node test/array/aget.js 


 

```




npm publish --force
npm package: @iortho/matrix2d
Description: CSS tranform-2D matrix
Author: iOrtho
Latest version: 0.2.1

# CSS tranform-2D matrix

[Source Code 👉 ](https://git.coding.net/iortho/matrix2d.git)

## Install

```
npm install @iortho/matrix2d
```

## Usage

```
import Matrix2D from '@iortho/matrix2d';
```

## Quick Start

```javascript
import Matrix2D from '@iortho/matrix2d';
let mat1 = new Matrix2D(1, 0, 0, 1, 0, 0); // matrix(1,0,0,1,0,0)
let mat2 = mat1.lmul([-1, 0, 0, -1, 0, 0]); // matrix(-1,0,0,-1,0,0)
```

## API

```
Comming soom...
```

## License

[MIT 👉 ]('./LICENSE')
npm package: @iosecret/cli
Description: 专注于 react 项目的快捷初始化与构建的工具
Author: 水逆
Latest version: 1.0.4

## cli

>
> 提供针对 react 生态的统一构建脚手架服务
> - 基础构建
> - 生产打包
> - 初始化项目
> - umd 打包服务
> 

### 安装

```bash
# 全局安装命令行工具
$ npm i -g iwr

# 文件权限不够时可能会安装异常，使用以下命令即可
$ sudo npm install -g --production --unsafe-perm=true --allow-root iwr
```

### 检测安装状态

- 控制台输入命令

```bash
$ iwr
```

- 控制台正常输出

```bash
→ iwr                                                                                                    [721a6b4]
Usage: iwr
  _                 _   ___   _ ____  
 (_)_      ___ __  / | / _ \ / | ___| 
 | \ \ /\ / / '__| | || | | || |___ \ 
 | |\ V  V /| |    | || |_| || |___) |
 |_| \_/\_/ |_|    |_(_)___(_)_|____/ 
                                      
Params:
  dev:
    -i 是否打印详细信息
  
  prod: 
    -i 是否打印详细信息
    -a <analyzerPort> 是否开启代码依赖分析（默认端口8989）

  umd:
    -i 是否打印详细信息
    
  rule:
    -o <output> 生成目录
    

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  dev             🍊 开发环境构建
  prod [options]  🍌 生产环境构建
  umd [options]   🍎 umd 包构建
  create          🍉 初始化工程
  rule [options]  🌰 规则生成（eslint、commitlint、prettier)
  help [command]  display help for command
```

### 命令说明

- 初始化工程

```bash
$ iwr create
```

- 开发模式构建

```bash
# 开发模式构建
$ iwr dev
```

- 生产模式构建

```bash
# 生产环境构建
$ iwr prod

# 生产环境构建，并开启包分析 默认端口8989
$ iwr prod -a
# 自定义包分析端口
$ iwr prod -a 9999
```

- umd 公共包构建

```bash
$ iwr umd
```


- eslint/commitlint 规则生成

```bash
$ iwr rule
# 制定路径生成
$ iwr rule -o <output>
```
npm package: @iosecret/wechat
Description: 微信常用场景工具方法
Author: 水逆
Latest version: 1.0.5

# @iosecret/wechat

> 主要针对微信生态定制开发

## 相关文档

- [微信网页登录](https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html)

## 使用

```typescript
import { webpageLogin, isWeChatBrowser, getQueryParam } from '@iosecret/wechat';

// 1. 校验是否在微信浏览器中
const isInWeChat = isWeChatBrowser();

// 2. 获取 url 中某个参数
const code = getQueryParam('code', window.location.search);

// 3. 微信网页授权
const code = webpageLogin('appId', true /* 是否静默登录*/ , '重定向地址');
```