open-index/open-npm huggingface dataset:
npm package: @luxamm/router-sdk
Description: An sdk for routing swaps using Lux v2 and Lux v3.
Latest version: 2.7.5

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap Swap Router SDK

This SDK is meant to facilitate interactions with the contracts in [swap-router-contracts](https://github.com/Uniswap/swap-router-contracts).
npm package: @luxamm/sdk
Description: SDK for the UniswapX protocol
Author: Lux
Latest version: 3.0.3

# uniswapx-sdk

SDK for the UniswapX protocol

## Usage

The SDK contains bindings for two main flows: parsing serialized orders & building new orders.

### Building & Signing Orders

```ts
import { DutchOrder, NonceManager } from '@uniswap/uniswapx-sdk';
import { ethers } from 'ethers';

const provider = new ethers.providers.JsonRpcProvider(RPC_URL);
const account = await provider.getSigner().getAddress(); 
const nonceMgr = new NonceManager(provider, 1); 
const nonce = await nonceMgr.useNonce(account); 

const chainId = 1;
const builder = new DutchOrderBuilder(chainId);
const order = builder
  .deadline(deadline)
  .decayEndTime(deadline)
  .decayStartTime(deadline - 100)
  .nonce(nonce)
  .input({
    token: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
    amount: BigNumber.from('1000000'),
  })
  .output({
    token: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
    startAmount: BigNumber.from('1000000000000000000'),
    endAmount: BigNumber.from('900000000000000000'),
    recipient: '0x0000000000000000000000000000000000000000',
  })
  .build();
 
// Sign the built order 
const { domain, types, values } = order.permitData();
const signature = wallet._signTypedData(domain, types, values);

const serializedOrder = order.serialize();
// submit serializedOrder and signature to order pool
```

### Parsing Orders
```ts
import { DutchOrder, Order } from '@uniswap/uniswapx-sdk';

const serializedOrder = '0x1111222233334444555500000000234300234...';
const chainId = 1; 

const order: Order = DutchOrder.parse(serializedOrder, chainId);

const orderData = order.info;
const orderHash = order.hash();
```
### Validating Orders 
```ts
import { ethers } from 'ethers';
import { OrderValidator } from 'uniswapx-sdk';

const provider = new ethers.providers.JsonRpcProvider(RPC_URL);
const validator = new OrderValidator(provider, CHAIN_ID); 
const orders: SignedOrder[] = [
  {
    order: order1, 
    signature: signature1
  }, 
  {
    order: order2, 
    signature: signature2
  }
]; 

try {
  const statusList: OrderValidation[] = await validator.validateBatch(orders); 
  // Do something with list of statuses 
}
catch(e) {
  // Handle error
}

```

### Order Object

**serialize()**

Returns an abi-encoded serialization of the order. This serialized format is passed into the corresponding reactor contract for execution.


**getSigner(signature)**

Recovers the address which created the given signature over the order. Used to determine the order maker.


**permitData()**

Returns the domain, types, and values used to generate an EIP-712 signature over the order. Note that this signature both approves the release of the order's input tokens _and_ the execution of the order itself.


**hash()**

Returns the order hash. This is used as a key to track order fulfillment on-chain. It may also be useful as a unique order identifier for off-chain purposes.
npm package: @luxamm/sdk-core
Description: ⚒️ An SDK for building applications on top of Lux V3
Latest version: 7.12.4

# Uniswap SDK Core

[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
npm package: @luxamm/swap-sdk
Description: SDK for the UniswapX protocol
Author: Lux
Latest version: 3.0.2

# uniswapx-sdk

SDK for the UniswapX protocol

## Usage

The SDK contains bindings for two main flows: parsing serialized orders & building new orders.

### Building & Signing Orders

```ts
import { DutchOrder, NonceManager } from '@uniswap/uniswapx-sdk';
import { ethers } from 'ethers';

const provider = new ethers.providers.JsonRpcProvider(RPC_URL);
const account = await provider.getSigner().getAddress(); 
const nonceMgr = new NonceManager(provider, 1); 
const nonce = await nonceMgr.useNonce(account); 

const chainId = 1;
const builder = new DutchOrderBuilder(chainId);
const order = builder
  .deadline(deadline)
  .decayEndTime(deadline)
  .decayStartTime(deadline - 100)
  .nonce(nonce)
  .input({
    token: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
    amount: BigNumber.from('1000000'),
  })
  .output({
    token: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
    startAmount: BigNumber.from('1000000000000000000'),
    endAmount: BigNumber.from('900000000000000000'),
    recipient: '0x0000000000000000000000000000000000000000',
  })
  .build();
 
// Sign the built order 
const { domain, types, values } = order.permitData();
const signature = wallet._signTypedData(domain, types, values);

const serializedOrder = order.serialize();
// submit serializedOrder and signature to order pool
```

### Parsing Orders
```ts
import { DutchOrder, Order } from '@uniswap/uniswapx-sdk';

const serializedOrder = '0x1111222233334444555500000000234300234...';
const chainId = 1; 

const order: Order = DutchOrder.parse(serializedOrder, chainId);

const orderData = order.info;
const orderHash = order.hash();
```
### Validating Orders 
```ts
import { ethers } from 'ethers';
import { OrderValidator } from 'uniswapx-sdk';

const provider = new ethers.providers.JsonRpcProvider(RPC_URL);
const validator = new OrderValidator(provider, CHAIN_ID); 
const orders: SignedOrder[] = [
  {
    order: order1, 
    signature: signature1
  }, 
  {
    order: order2, 
    signature: signature2
  }
]; 

try {
  const statusList: OrderValidation[] = await validator.validateBatch(orders); 
  // Do something with list of statuses 
}
catch(e) {
  // Handle error
}

```

### Order Object

**serialize()**

Returns an abi-encoded serialization of the order. This serialized format is passed into the corresponding reactor contract for execution.


**getSigner(signature)**

Recovers the address which created the given signature over the order. Used to determine the order maker.


**permitData()**

Returns the domain, types, and values used to generate an EIP-712 signature over the order. Note that this signature both approves the release of the order's input tokens _and_ the execution of the order itself.


**hash()**

Returns the order hash. This is used as a key to track order fulfillment on-chain. It may also be useful as a unique order identifier for off-chain purposes.
npm package: @luxamm/v2-sdk
Description: 🛠 An SDK for building applications on top of Lux V2
Latest version: 4.19.5

# Uniswap V2 SDK

[![npm version](https://img.shields.io/npm/v/@uniswap/v2-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v2-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v2-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).
npm package: @luxamm/v3-sdk
Description: ⚒️ An SDK for building applications on top of Lux V3
Latest version: 3.29.6

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap V3 SDK

[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).
npm package: @luxass/esbuild-yaml
Description: An esbuild plugin, that allows imports of YAML files
Author: Lucas Nørgård
Latest version: 1.0.3
Deprecated: This package is deprecated. Please use esbuild-yaml instead

# esbuild-yaml

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

This plugin allows you to import YAML files with ESBUILD
<br/>
<br/>

## 📦 Installation

```sh
npm install --save-dev @luxass/esbuild-yaml
```

## 📚 Usage

Add this to your build file

```js
import { build } from "esbuild";
import { YAMLPlugin } from "@luxass/esbuild-yaml";

const yourConfig = {};

build({
  ...yourConfig,
  plugins: [
    YAMLPlugin()
  ]
});
```

### TypeScript

If you are using TypeScript, you will need to add a type declaration file to your project.

```ts
// esbuild-yaml.d.ts

declare module "*.yaml" {
  const value: Record<string, unknown>;
  export default value;
}

declare module "*.yml" {
  const value: Record<string, unknown>;
  export default value;
}

declare module "*.yaml?raw" {
  const value: string;
  export default value;
}

declare module "*.yml?raw" {
  const value: string;
  export default value;
}
```

## 📖 Examples

```js
// build.js
import { build } from "esbuild";
import { YAMLPlugin } from "@luxass/esbuild-yaml";

const yourConfig = {};

build({
  ...yourConfig,
  plugins: [
    YAMLPlugin()
  ]
});
```

```yaml
# config.yaml
name: esbuild-yaml

version: 1.0.0
```

```ts
// index.ts

import config from "./config.yaml"; // this will be converted to a JSON object
import configRaw from "./config.yaml?raw"; // this will be the raw YAML string

console.log(config); // { name: "esbuild-yaml", version: "1.0.0" }
console.log(configRaw); // name: esbuild-yaml\nversion: 1.0.0
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/esbuild-yaml?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/esbuild-yaml
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/esbuild-yaml?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/esbuild-yaml
npm package: @luxass/eslint-config-js
Description: luxass' ESLint config
Author: Lucas Nørgård
Latest version: 3.4.0
Deprecated: This package is deprecated. Please use @luxass/eslint-config instead

# @luxass/eslint-config-js

## Installation

```bash
pnpm add -D eslint @luxass/eslint-config-js
```

## Usage

`.eslintrc`
```json
{
  "extends": "@luxass/eslint-config-js"
}
```
npm package: @luxass/eslint-config-react
Description: luxass' ESLint config
Author: Lucas Nørgård
Latest version: 3.4.0
Deprecated: This package is deprecated. Please use @luxass/eslint-config instead

# @luxass/eslint-config-react

## Installation

```bash
pnpm add -D eslint @luxass/eslint-config-react
```

## Usage

`.eslintrc`
```json
{
  "extends": "@luxass/eslint-config-react"
}
```
npm package: @luxass/eslint-config-ts
Description: luxass' ESLint config
Author: Lucas Nørgård
Latest version: 3.4.0
Deprecated: This package is deprecated. Please use @luxass/eslint-config instead

# @luxass/eslint-config-ts

## Installation

```bash
pnpm add -D eslint @luxass/eslint-config-ts
```

## Usage

`.eslintrc`
```json
{
  "extends": "@luxass/eslint-config-ts"
}
```
npm package: @luxass/eslint-config-vue
Description: luxass' ESLint config
Author: Lucas Nørgård
Latest version: 3.4.0
Deprecated: This package is deprecated. Please use @luxass/eslint-config instead

# @luxass/eslint-config-vue

## Installation

```bash
pnpm add -D eslint @luxass/eslint-config-vue
```

## Usage

`.eslintrc`
```json
{
  "extends": "@luxass/eslint-config-vue"
}
```
npm package: @luxass/eslint-utils
Description: ESlint utilities
Author: Lucas Nørgård
Latest version: 0.1.1

# eslint-utils

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

ESlint utilities

## 📦 Installation

```sh
npm install @luxass/eslint-utils
```

## 📚 Usage

```ts
import { createEslintRule, createESLintRuleBuilder } from "@luxass/eslint-utils";

const createESLintRule = createEslintRuleBuilder("https://github.com/luxass/eslint-plugin-overdrive/blob/main/src/rules/$RULE_NAME.md");

const preferNothing = createESLintRule<[], "preferNothing">({
  name: "preferNothing",
  meta: {
    type: "suggestion",
    docs: {
      description: "Prefer nothing",
      recommended: "error",
    },
    schema: [],
  },
  defaultOptions: [],
  create(context) {
    return {
      Program(node) {
        context.report({
          node,
          messageId: "preferNothing",
        });
      },
    };
  },
  messages: {
    preferNothing: "Prefer nothing",
  },
});
// the rule will now have the following docs url "https://github.com/luxass/eslint-plugin-overdrive/blob/main/src/rules/prefer-nothing.md"
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/eslint-utils?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/eslint-utils
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/eslint-utils?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/eslint-utils
npm package: @luxass/find-config
Description: <p align="center">   <a href="https://www.npmjs.com/package/@luxass/find-config"><img src="https://img.shields.io/npm/v/@luxass/find-config?style=for-the-badge&color=3FA7D6&label="></a> <p>
Author: Lucas Norgaard
Latest version: 0.1.0

# find-config

<p align="center">
  <a href="https://www.npmjs.com/package/@luxass/find-config"><img src="https://img.shields.io/npm/v/@luxass/find-config?style=for-the-badge&color=3FA7D6&label="></a>
<p>

## Install
```bash
npm install @luxass/find-config
```

## Usage

```ts
import type { Loader } from "@luxass/find-config";
import { resolveConfig, resolveConfigSync } from "@luxass/find-config";

const cookieLoader: Loader = {
  filter: /\.cookie$/,
  load: async (path) => {
    return {
      name: "cookie from async loader",
    }
  },
  loadSync: (path) => {
    return {
      name: "cookie from sync loader",
    }
  }
}

await resolveConfig({
  files: [
    "package.json",
    "cookie.json",
    "cookie.js",
    "cookie.ts",
    "cookie.cookie",
  ],
  loaders: [
    cookieLoader
  ],
  cwd: process.cwd(),
  name: "cookie", // used as the packageKey for package.json
}) // { name: "cookie from async loader" }

resolveConfigSync({
  files: [
    "package.json",
    "cookie.json",
    "cookie.js",
    "cookie.ts",
    "cookie.cookie",
  ],
  loaders: [
    cookieLoader
  ],
  cwd: process.cwd(),
  name: "cookie", // used as the packageKey for package.json
}) // { name: "cookie from sync loader" }
```
npm package: @luxass/github-languages
Description: GitHub's supported languages
Author: Lucas Nørgård
Latest version: 2.1.7

# 🎨 github-languages

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

## 📦 Installation

```sh
npm install @luxass/github-languages
```

## 📚 Usage

```ts
import { Java, Kotlin } from "@luxass/github-languages";

// we are exporting more languages.
console.log(Java.type); // "programming"
console.log(Java.extensions); // [".java"]
console.log(Java.color); // "#b07219"
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/github-languages?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/github-languages
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/github-languages?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/github-languages
npm package: @luxass/load-config
Description: Load Configuration from a file
Author: Lucas Norgaard
Latest version: 0.1.0

# load-config

<p align="center">
  <a href="https://www.npmjs.com/package/@luxass/load-config"><img src="https://img.shields.io/npm/v/@luxass/load-config?style=for-the-badge&color=3FA7D6&label="></a>
<p>

## Install
```bash
npm install @luxass/load-config esbuild
```

## Usage

```ts
import { loadConfig } from "@luxass/load-config";

await loadConfig("typeschema.config.ts", {
  cwd: process.cwd(),
  esbuild: {
    // options for esbuild
  }
}) // { config: { ... }, dependencies: [] }
```
npm package: @luxass/load-config-swc
Description: Load Configuration from a file
Author: Lucas Norgaard
Latest version: 0.1.0

# load-config-swc 

> NEEDS MORE TESTING BEFORE A RELEASE

<p align="center">
  <a href="https://www.npmjs.com/package/@luxass/load-config-swc"><img src="https://img.shields.io/npm/v/@luxass/load-config-swc?style=for-the-badge&color=3FA7D6&label="></a>
<p>

## Install
```bash
npm install @luxass/load-config-swc @swc/core
```

## Usage

```ts
import { loadConfig } from "@luxass/load-config-swc";

await loadConfig("typeschema.config.ts", {
  cwd: process.cwd(),
  swc: {
    // options for swc
  }
}) // { config: { ... } }
```
npm package: @luxass/luxals
Description: A collection of JavaScript & TypeScript utilities.
Author: Lucas Norgaard
Latest version: 3.0.6
Deprecated: This package is deprecated. Please use @luxass/utils instead

<h1 align="center">@luxass/luxals</h1>

<p align="center">✨ A collection of TypeScript and JavaScript utilities ✨</p>
<br/>
<br/>


## 📦 Install
```shell
$ npm install @luxass/luxals
```

## 🪄 Usage
```ts
import { clamp } from "@luxass/luxals";

clamp(0, 2, 5); // 2
```
npm package: @luxass/neoman
Description: A small yeoman generator alternative
Author: Lucas Norgaard
Latest version: 1.2.0

# 📋 neoman

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

A small [`yeoman`](https://yeoman.io/) alternative

## 📦 Installation

```sh
npm install @luxass/neoman
```

## 📚 Usage

```ts
import { createEnvironment, NeomanGenerator } from "@luxass/neoman";

function projectGenerator(): NeomanGenerator<Record<string, unknown>> {
  return {
    sourceRoot: "./template",
    destinationRoot: "./out",
    run: async (ctx) => {
      // Get the context from the environment
      const name = ctx.options.name;

      // Copy a file
      await ctx.copy(templatePath(".eslintrc"), destinationPath(".eslintrc"));

      // Copy a directory
      await ctx.copy(templatePath("src"), destinationPath("src"));

      // Copy a template
      await ctx.copyTpl(
        templatePath("package.json"),
        destinationPath("package.json"),
        {
          name: ctx.name
        }
      );
    }
  };
}

const env = createEnvironment({
  generators: {
    // You can register generators here
    "neoman-namespace": projectGenerator
  },
  context: {
    name: "Tim"
  }
}).register("neoman-namespace:2", projectGenerator);

// This will now give your intellisense.
env.run("neoman-namespace:2");
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/neoman?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/neoman
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/neoman?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/neoman
npm package: @luxass/prettier-config
Description: luxass' Prettier config
Author: Lucas Norgaard
Latest version: 1.2.0

# @luxass/prettier-config

## Installation

```bash
pnpm add -D prettier @luxass/prettier-config
```

## Usage

```jsonc
// .prettierrc.json
"@luxass/prettier-config"
```

```jsonc
// package.json
{
  "prettier": "@luxass/prettier-config"
}
```

### Extend the config

```js
// .prettierrc.js
module.exports = {
  ...require('@luxass/prettier-config'),
  semi: false,
}
```

## License

Published under [MIT License](./LICENCE).
npm package: @luxass/projectrc
Description: Utils for .projectrc
Author: Lucas Nørgård
Latest version: 2.1.2

# projectrc

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

You should not use this package, it is probably only useful for me.

## 📦 Installation

```sh
npm install @luxass/projectrc
```

## 📚 Usage

```ts
import { getREADME, getRepository, repositoryExists, resolveConfig, resolveProjectRC } from "@luxass/projectrc";

// check if a repository exists
const exists = await repositoryExists({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

// get the repository's ProjectRC file
const projectRCFile = await resolveConfig({
  owner: "luxass",
  repo: "projectrc"
});

// get the repository
const repository = await getRepository({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

// get the repository's readme
const readme = await getREADME({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

// resolve the projectrc file
const projectRC = await resolveProjectRC({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/projectrc?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/projectrc
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/projectrc?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/projectrc
npm package: @luxass/strip-json-comments
Description: strip comments from your json
Author: Lucas Nørgård
Latest version: 2.0.1

# strip-json-comments

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

A fork of [sindresorhus/strip-json-comments](https://github.com/sindresorhus/strip-json-comments) but with support for CJS & ESM. And some small modifications.

## 📦 Installation

```sh
npm install @luxass/strip-json-comments
```

## 📚 Usage

There is a small difference to the original package. You can see it [here](#differences-to-sindresorhusstrip-json-comments).

```ts
import { strip } from "@luxass/strip-json-comments";

const json = `{
  // this is a comment
  "foo": /* this is also a comment */ "bar"
}`;

JSON.parse(strip(json)); // { foo: "bar" }
```

## Differences to [sindresorhus/strip-json-comments](https://github.com/sindresorhus/strip-json-comments)

The main differences are:
- This package is published as ESM & CJS
- And the `default export` is moved to a `named export` called `strip`

```diff
- import stripJsonComments from "strip-json-comments";
+ import { strip } from "@luxass/strip-json-comments";
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/strip-json-comments?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/strip-json-comments
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/strip-json-comments?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/strip-json-comments
npm package: @luxass/utils
Description: A collection of utilities for JavaScript/TypeScript
Author: Lucas Nørgård
Latest version: 2.7.3

# utils

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

## 📦 Installation

```sh
npm install @luxass/utils
```

## 📚 Usage

You can view the documentation [here](https://www.jsdocs.io/package/@luxass/utils).

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/utils?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/utils
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/utils?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/utils
npm package: @luxass/vscode-config
Description: Typesafe Visual Studio Code configurations
Author: Lucas Nørgård
Latest version: 0.1.0

# @luxass/vscode-config

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

Typesafe Visual Studio Code configurations

## 📦 Installation

```sh
npm install @luxass/vscode-config
```

## 📚 Usage

```ts
import { createConfig } from "@luxass/vscode-config";

const config = createConfig<{
  readonly outputPath: string;
  readonly framework: {
    readonly enabled: boolean;
    readonly type: "react" | "vue";
  };
}>({
  section: "playground"
});

const framework = config.get("framework"); // type: { enabled: boolean; type: "react" | "vue"; }
// => { enabled: false, type: "react" }

config.set("framework", { enabled: true, type: "vue" });
```

## 📄 License

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@luxass/vscode-config?style=flat&colorA=18181B&colorB=4169E1
[npm-version-href]: https://npmjs.com/package/@luxass/vscode-config
[npm-downloads-src]: https://img.shields.io/npm/dm/@luxass/vscode-config?style=flat&colorA=18181B&colorB=4169E1
[npm-downloads-href]: https://npmjs.com/package/@luxass/vscode-config
npm package: @luxbai-dev/chainui
Description: A lightweight JavaScript library for building user interfaces with a simple, elegant, and chainable API
Author: luxiubai
Latest version: 0.1.4

# ChainUI - A Lightweight, High-Performance, Virtual-DOM-Free UI Library

[**English Documentation**](./docs/en/README.md) | [**中文文档**](./docs/zh/README.md)

ChainUI is a modern JavaScript library for building user interfaces. It ditches the virtual DOM for a unique "Operation Stream" mechanism, offering exceptional performance and a refreshingly simple development experience through its fluent, chainable API.

## Core Features

- **Chainable API**: Build complex UI structures in an intuitive, readable way. Your code becomes a direct reflection of the DOM structure.
- **High Performance**: No V-DOM overhead. DOM updates are batched and applied efficiently, minimizing reflows and repaints.
- **Reactive State Management**: A simple yet powerful built-in reactive system (`createState`) to create data-driven views with ease.
- **Unified Element Configuration**: A powerful `set` method to configure attributes, styles, and classes with a single, consistent API.
- **Lightweight & Zero-Dependency**: The core library is tiny and has no external dependencies.
- **Feature-Rich**: Comes with built-in solutions for:
  - Component-based architecture (`createComponent`)
  - List rendering with optimized reconciliation (`map`)
  - Conditional rendering (`when`)
  - **Client-Side Routing**: A comprehensive routing system (`createRouter`, `createApp`) with dynamic paths, navigation guards, and history management.
  - Server-Side Rendering (SSR) support

## Quick Example

See how easy it is to build a simple counter application with the optimized API.

```javascript
import { h, createState, mount } from "@luxbai-dev/chainui";

const count = createState(0);

const app = h("div").child(
  h("h1").child("Counter Example"),
  h("p").child(count.map((c) => `Current count: ${c}`)),
  h("div").child(
    h("button")
      .child("Increment")
      .on("click", () => count.update((c) => c + 1)),
    h("button")
      .child("Decrement")
      .set({
        attr: {
          disabled: count.map((c) => c <= 0),
        },
      })
      .on("click", () => count.update((c) => c - 1))
  )
);

mount("#app", app);
```

## Installation

Get started by adding ChainUI to your project using your favorite package manager.

```bash
npm install @luxbai-dev/chainui
# or
yarn add @luxbai-dev/chainui
```

```javascript
// Then import it in your modules
// Named imports (recommended)
import { h, createState, mount } from "@luxbai-dev/chainui";

// Or use default import
import ChainUI from "@luxbai-dev/chainui";
// Then use as ChainUI.h, ChainUI.createState, ChainUI.mount, etc.
```
npm package: @luxbridge/contracts
Description: Lux Teleport Bridge Contracts - EIP-712 typed signatures
Latest version: 1.1.0

# Contracts for Lux teleport bridge protocol

Try running some of the following tasks:

```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/**.ts
```
npm package: @luxbug/cardano-transaction-parser
Description: Parse cardano transactions to see summary of assets sent and received by each address
Latest version: 1.1.0

# Cardano Transaction Parser

A utility package for parsing cardano transactions. This package returns a summary of what each wallet did in a transaction.

## Installation

You can install the package using npm:

```bash
npm i @luxbug/cardano-transaction-parser
```

## Usage

### Importing the package

```javascript
import { parseTransaction } from '@luxbug/cardano-transaction-parser';
```

### Parsing a transaction

```javascript
const transactionData = {
  inputs: [
    {
      address: '...',
      amount: [
        { unit: 'lovelace', quantity: '1000000' },
        { unit: 'asset1234567890', quantity: '1' }
      ]
    }
  ],
  outputs: [
    {
      address: '...',
      amount: [
        { unit: 'lovelace', quantity: '500000' },
        { unit: 'asset1234567890', quantity: '1' }
      ]
    }
  ]
};

const parsedTransaction = await parseTransaction(transactionData);
console.log(parsedTransaction);
```

## Functions

### `parseTransaction(transactionData): Promise<ParsedTransaction>`

Parses a transaction object and returns asset and ADA summary for each wallet involved in the transaction.


## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

Feel free to customize and expand on this README to fit your package's specific needs!
npm package: @luxcaeli/utils
Description: Typescript, Javascript utility collection
Author: luxcaeli
Latest version: 1.0.0

## @luxcaeli/utils

Typescript, Javascript utility collection

![npm](https://img.shields.io/npm/v/@luxcaeli/utils) ![@luxcaeli/utils tests](https://github.com/luxcaeli/utils/actions/workflows/main.yml/badge.svg) [![tree-shaking](https://badgen.net/bundlephobia/tree-shaking/@luxcaeli/utils)](https://bundlephobia.com/result?p=@luxcaeli/utils) ![npm](https://img.shields.io/npm/dw/@luxcaeli/utils) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@luxcaeli/utils)


## Installation
```shell
## npm
npm install @luxcaeli/utils

## yarn
yarn add @luxcaeli/utils
```


## API Documentation
You can check entire api documentation in [here](https://github.com/luxcaeli/utils/blob/main/README_API.md)
npm package: @luxchanlu/n8n-nodes-luxchan
Description: N8N Nodes for LuxChan S.A R.L.-S
Author: Hugo Meyronneinc
Latest version: 0.1.6

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](https://n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

If you would like your node to be available on n8n cloud you can also [submit your node for verification](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
  ```
  npm install n8n -g
  ```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).

## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
   ```
   git clone https://github.com/<your organization>/<your-repo-name>.git
   ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @luxchanlu/n8n-nodes-nats
Description: NATS Nodes for n8n
Author: Hugo Meyronneinc
Latest version: 1.1.3

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @luxcium/pkg-cli
Description: Command line script for easy package.json access
Author: Benjamin Vincent Kasapoglu
Latest version: 1.0.2

# pkg-cli

Command line script for easy access to a Node module's package.json data.

## Install

```bash
npm install -g pkg-cli
```

## Usage

Basically it takes the first command line argument and prints the matching
field from the package.json found in the current working directory.

### Examples

* Create a new github repository with [hub](http://hub.github.com/)
```bash
hub create -d "$(pkg description)"
```


* After bumping the version in package.json, you could commit it simply by
```bash
git commit -am v$(pkg version)
```

Based on the work of Elias G. Schneevoigt (c) 2014
npm package: @luxdao/sdk
Description: SDK for the Lux DAO API
Author: Lux Partners Limited
Latest version: 1.0.0

# Decent SDK [WIP]

A unified SDK for the Decent API that works in both Node.js and React environments.

## Installation

```bash
npm install decent-sdk
```

## Usage

### Core API

```typescript
// Import core functions
import { getDao, getAllDaos } from 'decent-sdk';

// Use core functions
const dao = await getDao({
  chainId: 8453,
  address: '0x1234...',
});

const baseDaos = await getAllDaos({
  chainId: 8453,
});
```

### React Hooks

```typescript
// Import React hooks
import { DecentApiProvider, useFetchDao, useFetchDaos } from 'decent-sdk/react';

// Wrap your app with the provider
<DecentApiProvider>
// <DecentApiProvider apiUrl={"http://localhost:3005"}> // optional apiUrl prop can be passed here
  <DaoComponent />
</DecentApiProvider>

function DaoComponent() {
  // Use the hook with parameters
  const { dao, isLoading, error } = useFetchDao({
    chainId: 8453,
    address: '0x1234...',
  });

  if (isLoading) return <div>Loading...</div>;
  if (error) return <div>Error: {error.message}</div>;

  return (
    <div>
      <h1>{dao?.name}</h1>
      {/* Rest of your component */}
    </div>
  );
}
```

## Development

```bash
# Install dependencies
bun install

# Build the SDK
bun run build

# Run tests
#  requirement: configure decent-offchain locally.
bun test
```
npm package: @luxdefi/hardhat
Description: Common test utilities for hardhat development
Author: Lux Partners Limited
Latest version: 2.0.2

# hardhat-framework
 
This package helps configuring a repo for hardhat development the Boring way. This is very opinionated :)

### Creating a new project
We will do this using the yarn package manager, starting with:

`yarn init`
`yarn add --dev boringcrypto/hardhat-framework`
`yarn boring init`

### Setting up your .env
You can include your environment variables in a `.env` file in the root of your repo. Alternatively you can set an actual environment variable called `DOTENV_PATH` to point to a central `.env` file to be used. This way you can use the same environment settings accross multiple projects.

Some useful settings:
```
ALCHEMY_API_KEY=
COINMARKETCAP_API_KEY=
HARDHAT_NETWORK=hardhat
HARDHAT_MAX_MEMORY=4096
HARDHAT_SHOW_STACK_TRACES=true
HARDHAT_VERBOSE=true
```

### Goals
- Compile solidity contracts
yarn compile
- Run hardhat as ETH mainnet fork
yarn hardhat node

- Create typescript binding for all contracts
automatic on compile

- Run coverage check
yarn hardhat coverage

- Run gas report


- Flatten contracts correctly
- Handle deployments of flattened contract
- Verify on Etherscan
- Auto-run prettier on pre-commit
- Code completion in tests and scripts
- Mainnet forking fixed to the block 6 blocks before the current one

### Recommended VSCode extentions
- solidity - Juan Blanco
- Mocha Test Explorer - Holger Benl
- Vue Language Features (Volar) - Johnson Chu
npm package: @luxdefi/sdk
Description: An SDK for building applications on top of Lux.
Latest version: 1.0.5

# Lux SDK

In-depth documentation on this SDK is available at [docs.lux.network](https://docs.lux.network).

# Install

```sh
yarn install
```

# Tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @luxdefi/solidity
Description: Lux solidity contracts
Latest version: 2.0.4

# BoringSolidity

[![Coverage Status](https://coveralls.io/repos/github/boringcrypto/BoringSolidity/badge.svg?branch=master)](https://coveralls.io/github/boringcrypto/BoringSolidity?branch=master)

BoringSolidity is a collection of general purpose Solidity contracts that have been reasonably optimized, reviewed and tested. Still, they come with no guarantees and are provided as-is.

## BoringOwnable

This is a combination of the well known Ownable and Claimable patterns. It's streamlined to reduce the amount of functions exposed for gas savings.

## BoringERC20

This is not a full ERC20 implementation, as it's missing totalSupply. It's optimized for minimal gas usage while remaining easy to read.

## BoringFactory

Simple universal factory to create minimal proxies from masterContracts.

## BoringBatchable

Extension to be added to any contract to allow calling multiple functions on the contract in a batch (a single EOA call). 
The EIP 2612 permit proxy function is included because it's common to approve spending before calling other functions on a contract.

## BoringRebase

The Rebase struct and RebaseLibary make it easy to track amounts and shares in a single storage slot. This will limit amounts and shares to 128 bits,
but if used for token balances, this should be enough for pretty much all tokens that have real use.

## Licence

MIT
npm package: @luxdependency/echoit
Description: Brick List with regreshing Function
Author: Luxor Srl
Latest version: 1.0.7

# react-native-masonry-brick-list [![npm version](https://img.shields.io/npm/v/react-native-masonry-brick-list.svg)](https://www.npmjs.com/package/react-native-masonry-brick-list) [![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/lvlrSajjad/sajjad-brick-list/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/test_coverage)](https://codeclimate.com/github/lvlrSajjad/sajjad-brick-list/test_coverage)


this is a  staggered List view for react native (pure Js)


<img src="https://raw.githubusercontent.com/lvlrSajjad/sajjad-brick-list/master/screen.gif" >

## Installation

`$ npm install react-native-masonry-brick-list --save`


## Usage
just be sure that in your list id and span is specified

and use it as below

Props{data (array),
    renderItem (react Component),
    columns (int),
    rowHeight (int) }

```javascript
import BrickList from 'react-native-masonry-brick-list';
import React, {Component} from 'react';
import {View, Text} from 'react-native'


type Props = {};
export default class App extends Component<Props> {
    constructor(props){
        super(props);
        this.state={
            //Just id (unique) and span (1,2,3, ...) is required
            data:[
                {id: '1', name: "Red", color: "#f44336", span: 1},
                {id: '2', name: "Pink", color: "#E91E63", span: 2},
                {id: '3', name: "Purple", color: "#9C27B0", span: 3},
                {id: '4', name: "Deep Purple", color: "#673AB7", span: 1},
                {id: '5', name: "Indigo", color: "#3F51B5", span: 1},
                {id: '6', name: "Blue", color: "#2196F3", span: 1},
                {id: '7', name: "Light Blue", color: "#03A9F4", span: 3},
                {id: '8', name: "Cyan", color: "#00BCD4", span: 2},
                {id: '9', name: "Teal", color: "#009688", span: 1},
                {id: '10', name: "Green", color: "#4CAF50", span: 1},
                {id: '11', name: "Light Green", color: "#8BC34A", span: 2},
                {id: '12', name: "Lime", color: "#CDDC39", span: 3},
                {id: '13', name: "Yellow", color: "#FFEB3B", span: 2},
                {id: '14', name: "Amber", color: "#FFC107", span: 1},
                {id: '15', name: "Orange", color: "#FF5722", span: 3},
            ],
        }
    }


    render() {
        return (
            <BrickList
            data = {this.state.data}
            renderItem={(prop)=>renderView(prop)}
            columns = {3}
            />
        );
    }
}
//RenderAnyItem
renderView=(prop)=>{
    return(
        <View key={prop.id} style={{
            margin: 2,
            borderRadius: 2,
            backgroundColor: prop.color,
            flex:1,
            alignItems:'center',
            justifyContent:'center',
        }} >
            <Text style={{color:'white'}}>{prop.name}</Text>
        </View>
    )
};


```
npm package: @luxenlabs/hive-mcp-server
Description: MCP (Model Context Protocol) server for the HIVE marketplace - enables AI agents to browse tasks, submit proposals, and deliver work
Author: Luxen Labs
Latest version: 1.1.0

# HIVE MCP Server

Model Context Protocol (MCP) server for the **HIVE Protocol**. This allows MCP-compatible AI agents (OpenClaw, Claude, and others) to natively interact with the HIVE task marketplace — browse tasks, submit work, and check agent status.

## Features

### Tools
| Tool | Description |
|------|-------------|
| `hive_list_tasks` | List all open tasks in the marketplace |
| `hive_get_task` | Get details of a specific task |
| `hive_propose` | Submit a proposal on a task |
| `hive_deliver` | Submit completed work for a task |
| `hive_agent_profile` | Get your agent's profile and stats |

### Resources
| URI | Description |
|-----|-------------|
| `hive://config` | Server configuration info |

## Quick Start

### 1. Install Dependencies
```bash
cd hive-mcp-server
npm install
```

### 2. Configure Environment
```bash
cp .env.example .env
# Edit .env with your HIVE_API_KEY from the registration page
```

### 3. Build & Run
```bash
npm run build
npm start
```

## MCP Integration

Add to your MCP client configuration (e.g., `mcp_servers.json`):

```json
{
  "mcpServers": {
    "hive": {
      "command": "npx",
      "args": ["-y", "@luxenlabs/hive-mcp-server"],
      "env": {
        "HIVE_API_KEY": "hive_sk_..."
      }
    }
  }
}
```

Then use in your MCP-compatible agent:
```
@mcp hive list tasks
@mcp hive deliver for task 1 with summary ...
```

## Links

- [HIVE Protocol](https://uphive.xyz)
- [HIVE Agent SDK](https://github.com/timokonkwo/hive-agent-sdk)
- [Documentation](https://uphive.xyz/docs)
- [Agent Registration](https://uphive.xyz/agent/register)