open-index/open-npm huggingface dataset:
npm package: @krutoo/ts-loader
Description: TypeScript loader with typecheck
Author: Dmitriy Petrov
Latest version: 0.0.3

# TypeScript loader for Node.js

- Depends **only** on `typescript` package
- Automatically performs **typecheck** before running (if tsconfig is present)
- Supports `moduleResolution`, `paths`, `tsx`, enums and all other TypeScript features

### Installation

```sh
npm i -D @krutoo/ts-loader typescript
```

### Usage

You can use package as regular ESM loader:

```sh
node --import @krutoo/ts-loader ./my-program.tsx
```

To use it automatically in all NPM scripts you need to place it to `.npmrc`:

```ini
node-options='--import @krutoo/ts-loader'
```

To automatically perform typecheck you need a valid `tsconfig.json` in your project root folder.

### Configuration

Put `ts-loader` on top of your `tsconfig.json` to configure `ts-loader`:

```jsonc
// tsconfig.json
{
  "compilerOptions": {
    // ...
  },
  "ts-loader": {
    "skipCheck": true,
  },
}
```

#### Options

- `skipCheck` - boolean, disables running typecheck before transpilation

### Why

Modern Node.js supports basic TypeScript syntax via type stripping.

The main feature of TypeScript as language is **static analysis** aka _typecheck_.
Without typecheck, this is just transpilation like in Babel.

This loader gives you ability to:

- Use full TypeScript syntax in your project without bundling/transpilation
- Automatically perform typecheck before running (no need to `tsc --noEmit && node ./my-code.ts`)

### Credits

This loader is inspired by brilliant [tsimp](https://github.com/tapjs/tsimp) package

### To Do

- Using `tsgo`
- Allow to fully disable cache
- Do not perform typecheck if files are not changed since last typecheck? (how?)
npm package: @krutt/othello
Description: Isolated-margin account for decentralized Bitcoin trading via the Lightning network
Author: Sitt Guruvanich
Latest version: 0.1.0

# Othello

[![License](https://img.shields.io/pypi/l/fastapi-csrf-protect)](LICENSE)

![Othello Banner](static/othello-banner.png)

# Usage

## Install as dependency

```sh
$ npm install @krutt/othello
# OR
$ yarn add @krutt/othello
```

## Usage

```typescript
// imports
import { Othello } from '@krutt/othello'
import { randomBytes } from 'node:crypto'

// On first usage, generate a secret for the backend LnMarkets account.
let lnmSecret: string = randomBytes(16).toString('hex')
let network: string = 'mainnet'
let othello: Othello = new Othello({ lnmSecret, network })

// Login.
await othello.login()

// Create an invoice to deposit funds (amount in sats).
let depositInvoice = await othello.fetchDepositAddress({ amountSats: 1000000, type: 'bolt11' })
console.log(depositInvoice)

// Create an on-chain address to deposit funds.
let depositAddress: string = await othello.fetchDepositAddress({ type: 'on-chain' })
console.log(depositAddress)

// Get balances.
let balances = await othello.fetchBalances()
console.log(balances)

// Swap btc for $2 of usd.
await othello.swap({ from: 'btc', to: 'usd', amountUsd: 2 })

// Swap $1 of usd for btc.
await othello.swap({ from: 'usd', to: 'btc', amountUsd: 1 })

// Send funds from your othello wallet to a lightning invoice.
let invoice: string = 'lnbc1....'
await othello.send({ type: 'bolt11', address: invoice })

// Send 100,000 sats from your othello wallet to an on-chain address.
let onchainAddress: string = 'bc1...'
await othello.send({
  type: 'on-chain',
  address: onchainAddress,
  amountSats: 100000,
})
```

### Examples

```sh
# First you may install tsx command using the following command `npm install -g tsx`
$ tsx example/credentials.ts
>
```

> **Degen:** "But they're tracking me..."
> **Othello:** "No they're not, but try this"

```sh
$ tsx example/incognito.ts
>
```

## License

This project is licensed under the terms of the MIT license.
npm package: @krux/condition-jenkins
Description: make sure things only the right builds on jenkins get published
Author: Stephan Bönnemann
Latest version: 1.0.1

# condition-jenkins

[![npm version](https://badge.fury.io/js/%40krux%2Fcondition-jenkins.svg)](http://badge.fury.io/js/%40krux%2Fcondition-jenkins)
[![Build Status](https://jenkins-ci.org/krux/condition-jenkins.svg)](https://jenkins-ci.org/krux/condition-jenkins)
[![Coverage Status](https://coveralls.io/repos/krux/condition-jenkins/badge.svg?service=github)](https://coveralls.io/github/krux/condition-jenkins)

[![Dependency Status](https://david-dm.org/krux/condition-jenkins/master.svg)](https://david-dm.org/krux/condition-jenkins/master)
[![devDependency Status](https://david-dm.org/krux/condition-jenkins/master/dev-status.svg)](https://david-dm.org/krux/condition-jenkins/master#info=devDependencies)
npm package: @krux/last-release-git-tag
Description: Determine the version of the last release with git tags
Author: Ari Porad
Latest version: 1.0.3

# last-release-git-tag
---
[![Dependency Status](https://david-dm.org/semantic-release/last-release-git-tag.svg)](https://david-dm.org/semantic-release/last-release-git-tag)
[![devDependency Status](https://david-dm.org/semantic-release/last-release-git-tag/dev-status.svg)](https://david-dm.org/semantic-release/last-release-git-tag#info=devDependencies)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

## Installation

To install this plugin, execute:

```shell
npm install --save-dev @krux/last-release-git-tag
```

## Usage

To use this plugin, modify your `package.json` as follows:

```
"release": {
  "getLastRelease": "./node_modules/@krux/last-release-git-tag",
}
```

If you have existing releases, ensure they start with `v` as in `v1.0.0`.
npm package: @kruzhok-team/cyberiadaml-js
Description: The JS library for processing CyberiadaML - the version of GraphML for storing state machine graphs used by the Cyberiada Project.
Latest version: 1.2.4

# The Cyberiada State Machine JavaScript Library

The JS library for processing CyberiadaML - the version of GraphML for storing state machine graphs
used by the Cyberiada Project. 

The code is distributed under the Lesser GNU Public License (version 3), the documentation -- under
the GNU Free Documentation License (version 1.3).
npm package: @krvss/mapboxgl-minimap
Description: A fork of Mapbox GL Minimap Control by aesqe
Author: aesqe
Latest version: 1.0.1

# Mapbox GL Minimap Control

![npm (scoped)](https://img.shields.io/npm/v/@aesqe/mapboxgl-minimap)

## Demo
[Demo on GitHub pages](http://aesqe.github.io/mapboxgl-minimap/)

**--- work in progress; overall performance can probably be improved ---**

## How to use it

```javascript
var map = new mapboxgl.Map({
  container: "map",
  style: "mapbox://styles/mapbox/streets-v8",
  center: [-73.94656812952897, 40.72912351406106],
  zoom: 7
});

map.on("style.load", function () {
  // Possible position values are 'bottom-left', 'bottom-right', 'top-left', 'top-right'
  map.addControl(new mapboxgl.Minimap(), 'top-right');
});
```

## Options

```javascript
{
  id: "mapboxgl-minimap",
  width: "320px",
  height: "180px",
  style: "mapbox://styles/mapbox/streets-v8",
  center: [0, 0],
  zoom: 6,

  // should be a function; will be bound to Minimap
  zoomAdjust: null,

  // if parent map zoom >= 18 and minimap zoom >= 14, set minimap zoom to 16
  zoomLevels: [
    [18, 14, 16],
    [16, 12, 14],
    [14, 10, 12],
    [12, 8, 10],
    [10, 6, 8]
  ],

  lineColor: "#08F",
  lineWidth: 1,
  lineOpacity: 1,

  fillColor: "#F80",
  fillOpacity: 0.25,

  dragPan: false,
  scrollZoom: false,
  boxZoom: false,
  dragRotate: false,
  keyboard: false,
  doubleClickZoom: false,
  touchZoomRotate: false
}
```

## Compatibility

The latest version should be compatible with maboxgl 0.54.0
npm package: @krwu/openclaw-hint-router
Description: Hint-based model routing for OpenClaw.
Latest version: 1.0.2

# OpenClaw Hint Router

Hint-based model routing for OpenClaw.

OpenClaw Hint Router adds a small, explicit `hint -> model` routing layer without patching OpenClaw core.

## What it does

- Defines stable hints like `hint:fast`, `hint:reasoning`, and `hint:coding`
- Maps each hint to a real `provider/model`
- Keeps routing policy in a user-owned config file
- Provides an RPC wrapper for using hints at runtime
- Includes an OpenClaw skill for natural-language setup and route management

## Good fit for

- users who want stable logical model names such as `hint:reasoning`
- users who want to change model mappings without changing every caller
- OpenClaw RPC setups that need explicit, predictable routing

## Install

```bash
npm install -g @krwu/openclaw-hint-router
```

If global install is not available, install to a user prefix and add it to `PATH`:

```bash
npm install --prefix ~/.local -g @krwu/openclaw-hint-router
export PATH="$HOME/.local/bin:$PATH"
```

## Quick start

```bash
openclaw-hint-router-bootstrap
openclaw-hint-router validate ~/.config/openclaw/hint-router.json
openclaw-hint-router-agent --model hint:reasoning --to +15555550123 --message "hello"
```

## Binaries

- `openclaw-hint-router`
- `openclaw-hint-router-rpc`
- `openclaw-hint-router-agent`
- `openclaw-hint-router-bootstrap`

## Config

Default config path:

`~/.config/openclaw/hint-router.json`

Example:

```json
{
  "version": 1,
  "routes": {
    "fast": {
      "provider": "openrouter",
      "model": "google/gemini-2.5-flash"
    },
    "reasoning": {
      "provider": "anthropic",
      "model": "claude-sonnet-4-5"
    },
    "coding": {
      "provider": "bailian",
      "model": "qwen3-coder-plus"
    }
  },
  "aliases": {
    "quick": "fast",
    "smart": "reasoning"
  }
}
```

## Agent usage

```bash
openclaw-hint-router-agent --model hint:reasoning --to +15555550123 --message "hello"
```

When the model starts with `hint:`, the wrapper resolves it, temporarily applies the mapped model for the current agent run, and restores the original default model afterward.

## Skill

This repository includes an OpenClaw skill package under `skill/`.

Use it when you want an agent to:

- install the package
- create or edit routes
- validate config
- explain how to use hint-based routing

## Docs

- `docs/USER-GUIDE.md`
- `docs/ARCHITECTURE.md`
- `docs/BOOTSTRAP.md`
- `docs/SKILL.md`
npm package: @krybc/xapi-js-wrapper
Description: xStation JavaScript wrapper
Author: Kamil Rybczyński
Latest version: 2.5.0

# xAPI JS wrapper
[![Build Status](https://travis-ci.org/krybc/xapi-js-wrapper.svg?branch=master)](https://travis-ci.org/krybc/xapi-js-wrapper)
[![Coverage Status](https://coveralls.io/repos/github/krybc/xapi-js-wrapper/badge.svg)](https://coveralls.io/github/krybc/xapi-js-wrapper)

xAPI wrapper for nodeJS environment based on websocket and written in Typescript.  
xAPI is a endpoint for xStation forex trading software distributed by one of the biggest polish trading brokers - XTB.

[xAPI documentation](http://developers.xstore.pro/documentation/current)  
[xStation website](https://www.xtb.com/en/trading-services/trading-platforms/xstation)

## Requirements
* NodeJS >= 12


## Version xapi-js-wrapper vs xApi version

| xapi-js-wrapper | xAPI |  
|:--|:--|  
| 2.5.0 | 2.5.0.* |  

## Installation

```bash
npm i --save @krybc/xapi-js-wrapper
```


## Usage

Every sync api command class and streaming command class has equal one response class that be returned as Promise (sync response) as Observable (streaming response), when response has been received.


### Connect to sync api

```js
import {Servers, SyncApiConnector} from '@krybc/xapi-js-wrapper';

const server = Servers.get('xtb', 'demo');

new SyncApiConnector(server).connect().then(conn => {
  
});
```

### Connect to streaming api

Streaming API commands is available only if you're logged in, because all streaming commands required `streamSessionId` value, that will be returned by sync `LoginCommand`.

```js
import {Servers, StreamingApiConnector} from '@krybc/xapi-js-wrapper';

const server = Servers.get('xtb', 'demo');

new StreamingApiConnector(server).connect().then(streamConn => {
  
});
```

### Run streaming commands

#### GetCandles

```js
streamConn.subscribeCandles('EURUSD').subscribe((result: StreamingCandleResponse) => {
  
});
```

### Login

```js
const result = conn.executeCommand('username', 'password').then(result => {
  const sessionId = result.streamSessionId;
});
```

## Test

```bash
npm run test
```
npm package: @kryezy/headless-react-stacked-card
Description: Headless React component for a stacked card on scroll
Author: fikryfahrezy
Latest version: 0.0.1

# Headless React Stacked Card

## Install

```bash
pnpm add @kryezy/headless-react-stacked-card
# or
npm install @kryezy/headless-react-stacked-card
# or
yarn add @kryezy/headless-react-stacked-card
# or other package manager equivalent
```

## API

### Components

#### `StackedCards`

Props:

- `as?: React.ElementType = 'button'`, the element that is used to render the component, the possible value is an HTML tag, like 'a', 'p', 'div', etc.
- `topSticky?: string = '0px'`, the value for the `--top-sticky` CSS variable will be used as the CSS `top` property value. Only supports [Numbers, lengths, and percentages](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Values_and_units#numbers_lengths_and_percentages).

CSS variable:

- `--top-anchor`, the position used by the `StackedHeader` (if any) to stop.
- `--top-sticky`, the position used by the `StackedCard` to stop.

#### `StackedHeader`

Props:

- `as?: React.ElementType = 'button'`, the element that is used to render the component, the possible value is an HTML tag, like 'a', 'p', 'div', etc.

## Example

```ts
import { StackedCards, StackedHeader } from '@kryezy/headless-react-stacked-card';

export function App() {
  return (
    <>
      <div style={blackBox}></div>
      <StackedCards style={stackedCards}>
        <StackedHeader as="h1" style={stickyHeader}>
          This is title
        </StackedHeader>
        <div
          style={
            {
              ...card,
              '--content-top': `calc(${0} * var(--peek-space))`,
            } as React.CSSProperties
          }
        >
          Lorem ipsum dolor sit amet, ....
        </div>
        <div
          style={
            {
              ...card,
              '--content-top': `calc(${1} * var(--peek-space))`,
            } as React.CSSProperties
          }
        >
          Lorem ipsum dolor sit amet, ....
        </div>
        <div
          style={
            {
              ...card,
              '--content-top': `calc(${2} * var(--peek-space))`,
            } as React.CSSProperties
          }
        >
          Lorem ipsum dolor sit amet, ....
        </div>
      </StackedCards>
      <div style={blackBox}></div>
    </>
  );
}

const blackBox: React.CSSProperties = {
  width: '100vw',
  height: '100vh',
  backgroundColor: '#111',
};

const stackedCards: React.CSSProperties = {
  width: '100vw',
  backgroundColor: '#fff',
  padding: '100px',
};

const stickyHeader: React.CSSProperties = {
  position: 'sticky',
  top: 'var(--top-anchor)',
  margin: 0,
  padding: '20px 0px',
};

const card: React.CSSProperties = {
  '--peek-space': '50px',
  border: '1px solid #111',
  padding: '25px',
  backgroundColor: '#fff',
  position: 'sticky',
  top: 'calc(var(--top-sticky) + var(--content-top))',
} as React.CSSProperties;
```

[StackBlitz](https://stackblitz.com/edit/vitejs-vite-9yhwkmuj)