open-index/open-npm huggingface dataset:
npm package: @laborx/typechain-truffle-target
Description: Custom target plugin for [TypeChain](https://github.com/alesanro/TypeChain) or other origin at [gitlab](https://gitlab.chronobank.io/SmartContracts/TypeChain).
Author: LaborX PTY
Latest version: 0.2.6

# Truffle typechain target

Custom target plugin for [TypeChain](https://github.com/alesanro/TypeChain) or other origin at [gitlab](https://gitlab.chronobank.io/SmartContracts/TypeChain).

## Details

Provides generation of typescript interfaces for Ethereum smart contracts. Basic types are mostly standing on [@machinomy/types-web3](https://www.npmjs.com/package/@machinomy/types-web3) and `@truffle-types/web3` packages for **Truffle 4** or [@types/web3](https://www.npmjs.com/package/@types/web3) and `@truffle-types/typescript-types` packages for **Truffle 5**.

## Configuration

To use this target etheir from CLI or configuration file you should at first create a script file with content

**Truffle 4**

```javascript
const { Truffle } = require("typechain-truffle-target");

module.exports = ctx => {
  return new Truffle(ctx);
};

```

**Truffle 5**

```javascript
const { TruffleV5 } = require("typechain-truffle-target");

module.exports = ctx => {
  return new TruffleV5(ctx);
};

```

There you could perform any presetup or preconfiguration as you like.

### CLI

Then using:

```bash
typechain --target=[path to previous script] [glob]
```

For example:

```bash
typechain --target=./load-custom-plugin --outDir types typescript-contracts './build/contracts/*.json'
```

### Config file

Then create or append to file `ts-generator.json` the next object:

```json
[
	{
		"generator": "typechain",
		"target": "./load-custom-plugin",
		"files": "./build/contracts/*.json",
		"outDir": "./types",
		"declareModule": "truffle-contracts",
		"bigNumberType": "BigNumber"
	}
]
```

where

- **"generator"** - name of typechain generator;
- **"target** - created custom script file with target instantiation;
- **"files"** - glob pattern where to look for input files (contract artifacts in our case);
- **"declareModule"** - name of module declaration for created interfaces. By default uses `truffle-contracts` module name; it is also influences out directory name for contracts interfaces;
- **"outDir"** - place where results will be saved. By default it will save into `./types` with two subdirectories: `truffle-contracts` and `truffle`;
- **"bigNumberType"** - (only for *Truffle 5*) type of bignumber `"BigNumber"` or `"BN"`;

Then run

```bash
ts-generator ./ts-generator.json

# or

npx ts-generator ./ts-generator.json
```

    Module name renaming works **ONLY** with configuration file.

And **do not forget** to add created directory either to *include* or *typeRoots* in `tsconfig.json`.

## More info

For more detail you could refer to [original repo](https://github.com/ethereum-ts/TypeChain/tree/master#getting-started-) or [gitlab version](https://gitlab.chronobank.io/SmartContracts/TypeChain#getting-started-).
npm package: @labosaurus/firebase
Description: **Labosaurus** provides interactive features to Docusaurus, useful for training purposes.
Latest version: 0.2.0

# Labosaurus

**Labosaurus** provides interactive features to Docusaurus, useful for training purposes.  
  
✨ **[Live demo here!](https://lab.jaouan.dev/docs/hidden)**, or ([with Google authentication](https://lab.jaouan.dev/docs/hidden?auth=google)), or ([with fake authentication](https://lab.jaouan.dev/docs/hidden?auth=mock))  
🧪 **[Lab example here!](https://lab.jaouan.dev/docs/lab-example)**, or ([with Google authentication](https://lab.jaouan.dev/docs/lab-example?auth=google)), or ([with fake authentication](https://lab.jaouan.dev/docs/lab-example?auth=mock))  

## How to use
👉 [Full documentation](../packages/labosaurus-core/README.md)
npm package: @labring/sealos-tty-client
Description: Web Streams API client for sealos-tty-agent (Kubernetes exec terminal over WebSocket).
Author: Sealos
Latest version: 0.0.2

## `@labring/sealos-tty-client`

Web Streams API client for `sealos-tty-agent` (Kubernetes exec terminal over WebSocket).

### Install

```bash
pnpm add @labring/sealos-tty-client
```

### Browser + xterm (recommended)

```ts
import { connectTerminalStreams } from '@labring/sealos-tty-client'

const { stdout, stdin, resize } = await connectTerminalStreams({
	client: { baseUrl: 'http://localhost:3000' },
	ticketRequest: { kubeconfig, namespace: 'default', pod: 'mypod', container: 'c1' },
	connect: { initialSize: { cols: term.cols, rows: term.rows } },
})

// stdin: xterm -> ws (binary)
const enc = new TextEncoder()
const writer = stdin.getWriter()
term.onData((d) => {
	void writer.write(enc.encode(d))
})
term.onResize(({ cols, rows }) => resize(cols, rows))

// stdout: ws -> xterm (binary -> text)
void stdout
	.pipeThrough(new TextDecoderStream())
	.pipeTo(new WritableStream({ write: s => term.write(s) }))
```

### Notes

- The server starts `exec` only after the **first** `resize`.
- Use `TextDecoderStream()` (or `TextDecoder(..., { stream: true })`) for UTF-8 across frames.
- In Node/SSR, inject `wsFactory` (e.g. `ws`) and `fetch` if missing.
npm package: @labrnth/theme
Description: Labyrinth React Theme
Author: JordanCollins
Latest version: 0.1.5

# @labrnth/theme

The theme for all `@labrnth` components.

## Installation

```bash
yarn add @labrnth/theme
```

## Usage

```bash
import Theme from '@labrnth/theme';

<Theme>
  // children go here...
</Theme>
```

## Props

| Prop     | Type              | Default   | Description                                   |
| -------- | ----------------- | --------- | --------------------------------------------- |
| theme?   | `default`         | `default` | The theme to provide to the child components. |
| children | `React.ReactNode` |           | The contents that the Theme wraps.            |
npm package: @labrynx/error-enhanced
Description: Supercharge your Node.js error handling with this TypeScript library. Leverage modular architecture to enrich error objects with identifiers, system context, user info, and HTTP statuses. Perfect for debugging, logging, and boosting application robustness
Author: alessbarb
Latest version: 2.7.0

# Enhanced Error Enrichment for Node.js
> Supercharge your Node.js error handling with this TypeScript library. Leverage modular architecture to enrich error objects with identifiers, system context, user info, and HTTP statuses. Perfect for debugging, logging, and boosting application robustness.

[![npm](https://img.shields.io/npm/v/%40labrynx%2Ferror-enhanced?style=for-the-badge&logo=npm&logoColor=white&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Ferror-enhanced
)](https://www.npmjs.com/package/@labrynx/error-enhanced)

## Features

* Unification of Error Objects
* Use of Enhancers for Dynamic Error Enrichment
* Enum-based Error Categorization
* Strongly Typed Interfaces

## Quick Start

`error-enhanced` is a TypeScript library focused on enriching error handling capabilities in Node.js. 

**Quick Example**:

```typescript
const error = new ErrorEnhanced([new IdentifiersEnhanced()]);
error.setErrorCode(400).setSeverity(ErrorEnhanced.Severity.HIGH);
```

## Installation

To install the package, use the following npm command:

```bash
npm install @labrynx/error-enhanced
```

## Documentation

For in-depth documentation, including explanations on enhancers, utilities, enums, and more, please refer to the [Wiki](https://github.com/labrynx/error-enhanced/wiki).

## Contributing

We welcome contributions! Please see our [Contributing Guidelines](https://github.com/labrynx/error-enhanced/blob/main/docs/CONTRIBUTING.md) for more information.

## Changelog

For a detailed list of changes, check out the [CHANGELOG](docs/CHANGELOG.md).
npm package: @labrys/chakra-admin
Description: Reusable components for building Chakra/tRPC/Next.js admin dashboards
Author: Labrys
Latest version: 1.0.0-rc.5

# @labrys/chakra-admin

Reusable components for building Chakra/tRPC/Next.js admin dashboards

## Install

```bash
yarn install @labrys/chakra-admin
```

## Usage

### Mongo Crud Generation

The `mongoCrud` helper is used to help generate create, read, update, delete routes tRPC with minimal boilerplate required. tRPC must already be setup on the project to use this helper appropriately

```tsx


```