open-index/open-npm huggingface dataset:
npm package: @kyrielle/workload
Description: [![version](https://img.shields.io/npm/v/@kyrielle/workload)](https://www.npmjs.com/package/@kyrielle/workload) ![licence](https://img.shields.io/github/license/jujulego/kyrielle-workload) [![codecov](https://codecov.io/gh/Jujulego/kyrielle-workload/graph
Author: Julien Capellari
Latest version: 1.0.0

# @kyrielle/workload
[![version](https://img.shields.io/npm/v/@kyrielle/workload)](https://www.npmjs.com/package/@kyrielle/workload)
![licence](https://img.shields.io/github/license/jujulego/kyrielle-workload)
[![codecov](https://codecov.io/gh/Jujulego/kyrielle-workload/graph/badge.svg?token=d8GCA59frs)](https://codecov.io/gh/Jujulego/kyrielle-workload)

Workloads management tools
npm package: @kyriework/pzm-sdk
Description: A Solana SDK for PZM game interactions
Latest version: 0.1.10

# @kyriework/pzm-sdk

## 安装

```bash
npm install @kyriework/pzm-sdk
# 或者
yarn add @kyriework/pzm-sdk
# 或者
pnpm add @kyriework/pzm-sdk
```

## 快速开始

```typescript
import { PzmSdk } from '@kyriework/pzm-sdk';
import { Connection, PublicKey } from '@solana/web3.js';

// 初始化 SDK
const sdk = new PzmSdk({
  programId: new PublicKey('你的程序ID'),
  tokenMint: new PublicKey('代币铸造地址'),
  feesWallet: new PublicKey('费用钱包地址'),
  referrerWallet: new PublicKey('默认推荐人钱包地址'),
  rpcUrl: 'https://api.devnet.solana.com', // 或者其他 RPC 地址
});

// 使用示例
async function example() {
  try {
    // 购买初始农场
    const txHash = await sdk.purchaseInitialFarm('你的私钥');
    console.log('购买成功:', txHash);

    // 获取玩家数据
    const connection = new Connection('https://api.devnet.solana.com');
    const playerPublicKey = await sdk.getPlayerPublicKey('你的私钥');
    const playerData = await sdk.getPlayerData(connection, playerPublicKey);
    console.log('玩家数据:', playerData);
  } catch (error) {
    console.error('操作失败:', error);
  }
}
```

## 主要功能

### 游戏核心功能

- `purchaseInitialFarm(privateKey: string)` - 购买初始农场
- `upgradeFarm(privateKey: string, farmType: number)` - 升级农场

### 卡牌相关功能

- `stakeCard(privateKey: string, cardIndex: number)` - 质押卡牌
- `unstakeCard(privateKey: string, cardIndex: number)` - 取消质押卡牌
- `recycleCardsCommit(privateKey: string, cardIndices: number[])` - 回收卡牌（第一步）
- `recycleCardsSettle(privateKey: string)` - 回收卡牌（第二步）

### 开包相关功能

- `openBoosterCommit(privateKey: string)` - 开包（第一步）
- `settleOpenBooster(privateKey: string)` - 开包（第二步）

### 奖励相关功能

- `claimRewards(privateKey: string)` - 领取奖励

### 其他功能

- `cancelPendingAction(privateKey: string)` - 取消待处理的操作
- `getPlayerData(connection: Connection, playerWallet: PublicKey)` - 获取玩家数据
- `getGlobalStateData(connection: Connection)` - 获取全局状态数据
- `getPlayerKeyPair(privateKey: string)` - 从私钥获取密钥对

## 错误处理

SDK 使用自定义的 `PzmError` 类进行错误处理：

```typescript
try {
  await sdk.purchaseInitialFarm(privateKey);
} catch (error) {
  if (error instanceof PzmError) {
    console.error(`操作失败: ${error.message} (${error.code})`);
  }
}
```

## 其他导出模块

### PzmTypes

类型定义模块，包含了所有游戏相关的类型定义：

- `PzmConfig` - SDK 配置类型
- `PzmError` - 错误处理类
- `ErrorCode` - 错误代码枚举
- 各种账户数据结构类型定义

### PzmPDA

PDA（Program Derived Address）相关工具模块：

- `findGlobalStatePDA` - 查找全局状态账户地址
- `findPlayerPDA` - 查找玩家账户地址

### PzmInstruction

指令创建模块，包含所有游戏操作的指令创建方法：

- 农场相关指令（购买、升级）
- 卡牌相关指令（质押、取消质押、回收）
- 开包相关指令
- 奖励相关指令

### PzmUtils

实用工具模块：

- `getAccountData` - 获取账户数据
- `sendTxFromPrivateKey` - 使用私钥发送交易

### PzmBorsh

Borsh 序列化相关模块：

- 提供了与 Borsh 序列化/反序列化相关的工具函数
- 包含自定义的数据布局定义
npm package: @kyrt/zs
Description: Lightweight scripting language based on JavaScript that runs in browser with simpler syntax.
Author: Sholehuddin Khairy
Latest version: 1.0.0
Deprecated: This package are no longer maintain

# ZoroonScript (ZS)

ZoroonScript adalah bahasa scripting ringan berbasis JavaScript yang menyediakan sintaks ringkas untuk DOM, event, impor/ekspor modul, dan operasi dasar pemrograman. ZS dapat berjalan langsung di browser menggunakan `<script type="application/x-opendnf-zs">`.

---

## ✨ Fitur Utama
| Fitur | Contoh | Hasil |
|-------|--------|--------|
| Fungsi | `@function test { ... }` | `function test() { ... }` |
| Variabel | `@set a = 10` | `const a = 10` |
| DOM Text | `@element #title { text "Hello" }` | `document.querySelector("#title").textContent = "Hello"` |
| Events | `@on click #btn { log "Clicked!" }` | `document.querySelector("#btn").addEventListener("click", () => console.log("Clicked!"))` |
| Logging | `@log("x")` | `console.log(x)` |
| Import | `@import "mod.zs" -> app` | fetch + run modul |

---

## 🚀 Cara Pakai di HTML

```html
<script src="https://cdn.jsdelivr.net/npm/zoroonscript/dist/zs.min.js"></script>

<script type="application/x-opendnf-zs">
@set name = "Zoroon"
@on click #btn {
  log "Button clicked!"
  @element #title { text "Hello " + name }
}
</script>
```

---

📦 Import Modul ZS

File utils.zs:
```ZS
@export hello
@function hello { @log("Hello from module!") }
```
File utama:
```ZS
@import "utils.zs" -> utils
@call utils.hello
```

---

🧪 API JavaScript
```JS
runZS('@log("Hello World"');
```
---

🔗 License

MIT License © 2025 Zoroon / OpenDN FFoundatio
npm package: @kyrwing/zest
Description: Type-aware CLI that generates production-ready Jest tests for Zustand stores
Author: Kirill Poluektov
Latest version: 0.4.0

# 🧪 @kyrwing/zest

[![npm version](https://img.shields.io/npm/v/@kyrwing/zest)](https://npmjs.com/package/@kyrwing/zest)
[![npm downloads](https://img.shields.io/npm/dm/@kyrwing/zest)](https://npmjs.com/package/@kyrwing/zest)
[![GitHub stars](https://img.shields.io/github/stars/kyrwing/zest)](https://github.com/kyrwing/zest)
[![CI](https://github.com/kyrwing/zest/actions/workflows/ci.yml/badge.svg)](https://github.com/kyrwing/zest/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

> ⚡ CLI that generates production-ready, type-safe Jest tests for Zustand stores. Cut boilerplate, enforce best practices.

## 🎯 The Problem
Writing tests for Zustand stores involves repetitive boilerplate: manual mocks, lost TypeScript types, and inconsistent test structure. Teams waste hours on setup instead of testing business logic.

## ✅ The Solution
`@kyrwing/zest` analyzes your store's AST, extracts state and actions, and generates fully typed, Jest-compatible test scaffolds automatically. No more `any`, no more copy-paste, just reliable tests that evolve with your code.

## 🚀 Quick Start
```bash
# Install the package
npm install -D @kyrwing/zest

# Generate test from a Zustand store
npx @kyrwing/zest ./src/myStore.ts -o myStore.test.ts

# Or run locally during development
npm run dev -- ./src/myStore.ts -o myStore.test.ts
npm package: @kysley/js-pipe
Description: Compose N sequence of operations, giving the output as an input for the next operation.
Author: Evan Kysley
Latest version: 1.0.1

# js-pipe

> Compose over functions to help create negative code

Compose N sequence of operations, giving the output as an input for the next operation.


## Install

```
$ npm install @kysley/js-pipe
```
```
$ yarn add @kysley/js-pipe
```


## Usage

```js
import pipe from '@kysley/js-pipe'

const capatalize = txt => txt.toUpperCase()
const addNum = txt => `${txt}1`
const res = pipe(capatalize, addNum)

console.log(res('Hello World')) //Hello World1
```


## API

### pipe(fn1, fn2, fn3, ...)

Returns the final value from the sequence of functions, using the output for the input of the next operation until finished.

#### fnx

Type: `Function`

Iterated over sequentially until the sequence is finished.

## License

MIT © [Evan Kysley](https://kysley.com)
npm package: @kysmith/ember-chunk-render-each
Description: An Ember addon that provides a component to render long lists of data without locking up the browser
Author: Kyle Smith
Latest version: 1.0.1

# ember-chunk-render-each

This addon provides a single component(chunk-render-each) useful for rendering long lists of data without locking up the browser. It does not use occlusion culling or any type of derendering gimmicks. It simply breaks up the list into sub arrays and renders them one sub array per run loop.

## Usage

### Installation

`ember install @kysmith/ember-chunk-render-each`

Rather than using the traditional `each` helper use the `chunk-render-each` component as a drop in replacement:

```handlebars
<ul>
  {{#chunk-render-each
    elementsToRender=elements
    as |element|
  }}
    <li>{{element.text}}</li>
  {{/chunk-render-each}}
</ul>
```

The component interface is detailed below as typescript interfaces

```typescript
interface RenderCallback {
  (): any;
}

interface ChunkRenderEach {
  elementsToRender = any[];
  renderChunkSize? = number;
  onRenderStart? = RenderCallback;
  onRenderEnd? = RenderCallback;
}
```

## Contributing

### Installation

* `git clone <repository-url>` this repository
* `cd ember-chunk-render-each`
* `npm install`

### Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

### Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
npm package: @kysmith/ember-cli-piwik
Description: An Ember addon that will setup and inject the Piwik tracking script into your app at build time.
Author: Kyle Smith
Latest version: 0.1.1

# ember-cli-piwik
[![Build Status](https://travis-ci.org/km-smith/ember-cli-piwik.svg?branch=master)](https://travis-ci.org/km-smith/ember-cli-piwik)

This addon will setup and inject the Piwik tracking script into your app at build time. At runtime you will be
able to use `window._paq` as described in the [piwik developer guide](https://developer.matomo.org/guides/tracking-javascript-guide).

## Usage
### Installation
`ember install @kysmith/ember-cli-piwik`

### Configuration
This addon requires you to set options in your apps environment config file `config/environment.js`.

```javascript
piwik: {
  sid: 123,
  url: 'https://your-piwik.endpoint.com'
}
```

## Contributing
### Installation

* `git clone <repository-url>` this repository
* `cd ember-cli-piwik`
* `npm install`

### Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

### Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

## Acknowledgements
This addon is heavily based on [unwiredbrain/ember-cli-piwik](https://github.com/unwiredbrain/ember-cli-piwik)
npm package: @kysmith/radial-loader
Description: Webcomponent radial-loader following open-wc recommendations
Author: Kyle Smith
Latest version: 1.0.2

# \<radial-loader>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## Installation
```bash
npm i radial-loader
```

## Usage
```html
<script type="module">
  import 'radial-loader/radial-loader.js';
</script>

<radial-loader></radial-loader>
```

## Linting with ESLint, Prettier, and Types
To scan the project for linting errors, run
```bash
npm run lint
```

You can lint with ESLint and Prettier individually as well
```bash
npm run lint:eslint
```
```bash
npm run lint:prettier
```

To automatically fix many linting errors, run
```bash
npm run format
```

You can format using ESLint and Prettier individually as well
```bash
npm run format:eslint
```
```bash
npm run format:prettier
```

## Testing with Karma
To run the suite of karma tests, run
```bash
npm run test
```

To run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run

```bash
npm run test:watch
```

## Demoing with Storybook
To run a local instance of Storybook for your component, run
```bash
npm run storybook
```

To build a production version of Storybook, run
```bash
npm run storybook:build
```


## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `es-dev-server`
```bash
npm start
```
To run a local development server that serves the basic demo located in `demo/index.html`
npm package: @kysnm/gorilla-jump
Description: my first electron application
Author: kysnm
Latest version: 0.0.3

# gorilla-jump

Practice the creation of the game in phaser.js
http://blog.lessmilk.com/how-to-make-flappy-bird-in-html5-1/

## How to run
```
$ npm install
$ npm start
```

## How to build
```
$ npm run build
```

### Special Thanks
http://myds.jp/file/banner.shtml
npm package: @kyso/is-unique-view
Description: This library lets you check if a pageview is unique. Unique being defined as a user has not viewed the page in the last 30minutes.
Latest version: 0.0.1


# is-unique-view

This library lets you check if a pageview is unique.
Unique being defined as a user has not viewed the page
in the last 30minutes.

Its pretty easy to install and use.

Install

```
npm install is-unique-view
or
yarn add is-unique-view
```

Usage

```
const isUniqueView = require('is-unique-view')

if (isUniqueView()) {
  // view is unique
} else {
  // view is not unique
}
```
npm package: @kyso/jupyterlab
Description: Push to Kyso from JupyterLab
Author: Eoin Murray
Latest version: 1.11.3

# jupyterlab-kyso

## Prerequisites

* JupyterLab 0.35 or more
* A Kyso account

## Installation

Check your version of Jupyterlab using the following command

```bash
jupyter-lab --version
0.35.2
```

### JupyterLab 0.35 or above

To install this extension into JupyterLab (requires node 5 or later), do the following:

```bash
jupyter labextension install @kyso/jupyterlab
pip install kyso_jupyterlab
jupyter serverextension enable --sys-prefix kyso_jupyterlab
```

## Development

For a development install, do the following in the repository directory:

```bash
yarn
yarn run build
jupyter labextension install . --no-build
yarn run watch
```

```bash
# and in another shell
jupyter lab --watch
```

## Deployment


To publish the client side extension:

```
npm publish
```

To publish the server side extension:

```
python3 setup.py sdist
twine upload dist/*
```