open-index/open-npm huggingface dataset:
npm package: @florentinth/ws-cli
Description: This CLI allows you to record data from a provided list of WebSocket servers
Author: FlorentinTh
Latest version: 2.0.4

# ws-cli

![platform](https://img.shields.io/badge/platform-linux--64%20%7C%20win--32%20%7C%20osx--64%20%7C%20win--64%20-lightgrey) ![node](https://img.shields.io/badge/node-%3E%3D16-blue) [![License](https://img.shields.io/github/license/FlorentinTh/ws-cli)](https://github.com/FlorentinTh/ws-cli/blob/master/LICENSE) [![snyk](https://github.com/FlorentinTh/ws-cli/actions/workflows/dependencies.yml/badge.svg)](https://github.com/FlorentinTh/ws-cli/actions/workflows/dependencies.yml) [![build](https://github.com/FlorentinTh/ws-cli/actions/workflows/build.yml/badge.svg)](https://github.com/FlorentinTh/ws-cli/actions/workflows/build.yml) [![GitHub Release](https://img.shields.io/github/release/FlorentinTh/ws-cli)](https://github.com/FlorentinTh/ws-cli/releases)

This CLI allows you to record data from a provided list of WebSocket servers.

## Authors

- [**Florentin Thullier**](https://github.com/FlorentinTh) - 2021

## Installation

### Simple

1. [Install or update node](https://nodejs.org/dist/latest-v16.x/) to 16 or greater if not already done.

2. Install the project :

```sh
$ npm install -g @florentinth/ws-cli
```

### Manual

1. [Install or update node](https://nodejs.org/dist/latest-v16.x/) to 16 or greater if not already done.

2. Clone this repo:
```sh
$ git clone https://github.com/FlorentinTh/ws-cli.git

# or

$ git clone git@github.com:FlorentinTh/ws-cli.git

# or

$ gh repo clone FlorentinTh/ws-cli

```

2. Install the project:

```sh
$ cd ws-cli/
$ npm i
```

3. Run the program locally:

```sh
$ node ./bin/ws-cli.js

# or

$ npm run start
```
4. Run the program globally:

```sh
$ npm run link
```
_You should now have access to the ```ws-cli``` command from anywhere in your favorite terminal appication._

## Usage
```
Usage:
  $ ws-cli [options]

Options:
  -c, -C, --conf     Path of the YAML configuration file containing the list of
                     the WebSocket servers   [string] [default: "./servers.yml"]

  -h, -H, --help     Show help                                         [boolean]

  -l, -L, --label    Label output folder according to the user entry instead of
                     a timestamp by default and add the provided label to the
                     data                             [boolean] [default: false]

  -v, -V, --version  Show version number                               [boolean]
```

## Example of YAML Configuration File

```yml
- name: 'WebSocket Server 1'
  host: 127.0.0.1
  port: 5001
  secured: false

- name: 'WebSocket Server 2'
  host: 127.0.0.1
  port: 5002
  secured: true

- name: 'WebSocket Server 3'
  host: 127.0.0.1
  port: 5003
  endpoint: 'data'
  secured: false
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @florian-s-a-w/router-sdk
Description: An sdk for routing swaps using Uniswap v2 and Uniswap v3.
Latest version: 1.8.1

# 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: @florian-s-a-w/uniswap-v2-sdk
Description: 🛠 An SDK for building applications on top of Uniswap V2
Latest version: 3.2.4

# Uniswap V2 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3ALint)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![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: @florian-s-a-w/uniswap-v3-sdk
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 4.0.2

# 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

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![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: @florian-s/rollup-plugin-toml
Description: Convert .toml files to ES6 modules
Author: florian-s
Latest version: 0.1.1

# @florian-s/rollup-plugin-toml

🍣 A Rollup plugin which Converts .toml files to ES6 modules.

## Requirements

This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Rollup v1.20.0+.

## Install

Using npm:

```console
npm install @florian-s/rollup-plugin-toml --save-dev
```

## Why another toml plugin ?

Previous rollup plugins for TOML use older TOML libraries that are not compliant with TOML v1.0.0.
This package uses [@ltd/j-toml](https://www.npmjs.com/package/@ltd/j-toml).

## Usage

Create a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:

```js
import toml from '@florian-s/rollup-plugin-toml';

export default {
  input: 'src/index.js',
  output: {
    dir: 'output',
    format: 'cjs'
  },
  plugins: [toml()]
};
```

Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).

With an accompanying file `src/index.js`, the local `package.toml` file would now be importable as seen below:

```js
// src/index.js
import pkg from './package.toml';
console.log(`running version ${pkg.version}`);
```

## Options

### `compact`

Type: `Boolean`<br>
Default: `false`

If `true`, instructs the plugin to ignore `indent` and generates the smallest code.

### `exclude`

Type: `String` | `Array[...String]`<br>
Default: `null`

A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.

### `include`

Type: `String` | `Array[...String]`<br>
Default: `null`

A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.

### `indent`

Type: `String`<br>
Default: `'\t'`

Specifies the indentation for the generated default export.

### `namedExports`

Type: `Boolean`<br>
Default: `true`

If `true`, instructs the plugin to generate a named export for every property of the JSON object.

### `preferConst`

Type: `Boolean`<br>
Default: `false`

If `true`, instructs the plugin to declare properties as variables, using either `var` or `const`. This pertains to tree-shaking.

## Meta

[CONTRIBUTING](/.github/CONTRIBUTING.md)

[LICENSE (MIT)](/LICENSE)
npm package: @florian.thauvin/xml-formatter
Description: This is a custom formatter xml
Author: Florian Thauvin
Latest version: 1.0.0

# XML Formatter

## Description
This is a xml formatter. Can be used to format a xml

## Restrictions 
- Only for valid xml files.
- Doesn't manage CDATA

## Options
You can set following options:
- endLineChar, separator between each lines, \r\n by default
- indentation, string used to indent a line, double space by default
- maxLineLenght, maxLineLenght, 120 by default
- maxNumberOfBlankLines, max number of blanks lines alloweds between two lines, 1 by default
- maxNumberOfSpaces, max number of spaces between two char (doesn't affect indentation), 1 by default
- spacesBetweenMarks, space between a mark declaration and his body, 1 by default

## Commands
- build, used to compile project to a single file in build directory
- clean, used to clean and test project
- complexity, used to generate a complexity report file
- complexity:ui, used to open a complexity report server
- deploy, used to clean and build the project
- duplication, used to detect code duplication
- lint, used to pass coding rules
- prettier, to format all files
- publish, used to publish project to npm (need a deploy before)
- test, to run all tests
npm package: @florianb/rec
Description: Primitive model toolset delivered as base class for your models.
Author: florian.breisch@mindkeeper.solutions
Latest version: 1.0.1

# rec

Minimal ECMAScript-module facilitating model-framework to support a straight-forward workflow without magic.

Features:

- Leaves JS class- and objectfunctionality as it is
- Allows PlainObject instantiation as class
- Validates class at instantiation using (cached) AJV-validators

#### Install

```
npm i --save @florianb/rec
```

## Usage

```js
import Base from '@florianb/rec'

class FellowShipOfTheRing extends Base {
	static get schema() {
		return {
			properties: {
				boromir: {
					type: 'integer'
				}
			}
		}
	}
}

const sourceObject = {boromir: false}

let fellowship = FellowShipOfTheRing.newFrom(sourceObject)
// TypeError: Schema validation for FellowShipOfTheRing failed at: .boromir: should be integer

fellowship = FellowShipOfTheRing.newFrom({boromir: 0})
// success! 
```

Instantiate a class from a plain object using the static method `newFrom()`. If the `schema`-property is defined, its value is used as JSONSchema and the plain object is validated against it. If the validation fails a TypeError is raised.

## Base API

### `static newFrom(Object source) -> Object`

Returns a new instance of the class having the `source` merged in. If the `schema` property is defined, the source wil be validated before being merged.

- returns: `Object` - instantiated class with merged in properties from `source`
- throws: `TypeError` - if `schema` is set and validation fails

### `get static schema() -> Object`

Overrride to provide a [JSONSchema](https://jsonschema.net/) for the class. If set the schema will be used to validate any new instantiation of the Class.

- returns: `Object` - JSONSchema object according to the schema-version 7
npm package: @florianbonnet/design-system
Description: A comprehensive design system inspired by Claude's interface, built for React applications and v0 integration
Author: Florian Bonnet via Claude
Latest version: 1.0.0

# @testcompany/design-system

A comprehensive design system inspired by Claude's interface, built for React applications.

## Installation

```bash
npm install @testcompany/design-system
```

## Usage

```jsx
import { Button, Card, Input } from '@testcompany/design-system';

function MyComponent() {
  return (
    <Card title="Example">
      <Input label="Name" placeholder="Enter your name" />
      <Button variant="primary">Submit</Button>
    </Card>
  );
}
```

## Components

### Layout Components
- **Container**: Responsive container with max-width control
- **Header**: Fixed header component
- **Sidebar**: Collapsible sidebar navigation
- **Flex**: Flexbox layout utility
- **Grid**: CSS Grid layout utility

### Form Components  
- **Button**: Primary, secondary, ghost, and danger variants
- **Input**: Text input with labels, validation, and icons
- **Textarea**: Multi-line text input

### Display Components
- **Card**: Content container with optional header
- **Avatar**: User avatar with fallback to initials

### Icons
- **HomeIcon**, **ChatIcon**, **SettingsIcon**, **SendIcon**, **UserIcon**, **SearchIcon**, **MenuIcon**

## Design Tokens

The design system includes a comprehensive set of design tokens:

```jsx
import { tokens } from '@testcompany/design-system';

// Colors
tokens.colors.primary[600]     // Primary brand color
tokens.colors.neutral[500]     // Neutral gray

// Typography  
tokens.typography.fontSize.lg  // Large text size
tokens.typography.fontWeight.semibold

// Spacing
tokens.spacing[4]              // 1rem (16px)
tokens.spacing[8]              // 2rem (32px)
```

## CSS Variables

Include the CSS variables in your app:

```jsx
import { cssVariables } from '@testcompany/design-system';

// Add to your CSS or inject via JavaScript
console.log(cssVariables);
```

## v0 Integration

This design system is optimized for use with v0. When using components in v0, they will automatically have consistent styling and behavior.

## Development

```bash
# Build the package
npm run build

# Watch for changes during development  
npm run dev
```
npm package: @floriancargoet/i7-tools
Description: My tools to work with Inform 7
Author: Florian Cargoët
Latest version: 0.1.2

# i7-tools

My collection of tools to work with Inform 7.

## i7-tools release

:warning: **Note**: for now, it only works on MacOS with Inform 6L38.

`i7-tools release [project]`: Releases the project, just like in the IDE.

`i7-tools release --testing [project]`: Releases the project in testing mode.

:information_source: **Note**: it fixes a bug on MacOS where the IDE doesn't release properly when using testing mode.

## i7-tools add-to-multirelease

:warning: **Note**: for now, it only works on MacOS with Inform 6L38.

When playing an Inform game online, your saves only work with that exact version. If the author publishes a new version, your saves are dead.

The concept of _multirelease_ is to keep around all the published versions of your game and select the best one for the player based on their saves.

- If the player has no saves, it loads the latest version.
- If the player has a save for the latest version, it loads the latest version.
- If the player only has a save for an older version, it **prompts** the player so they can pick that version or the latest.

`i7-tools add-to-multirelease [project]`: Releases the project in `*.materials/MultiRelease`.

:warning: **Note**:
It only works for Quixe. It should works with any website template.
It loads the game files via XHR so it won't work locally, it needs to be served by a web server (`npx serve *.materials/MultiRelease`)

## i7-tools pull-texts

`i7-tools pull-texts --google-doc <URL>`: Extract texts from a Google Doc, identified by their heading (H2 by default), and inject them in texts marked by `[id]` comments in your source file.

It detects bold and italics and convert them to `[b][/b]` and `[i][/i]` so you'll need them defined in your source. That's available in `Supplemental by Jeff Nyman`, `Typographical Conveniences by Daniel Stelzer` or just copy:

```
To say i -- beginning say_i -- running on: (- style underline; -).
To say /i -- ending say_i -- running on: (- style roman; -).

To say b -- beginning say_b -- running on: (- style bold; -).
To say /b -- ending say_b -- running on: (- style roman; -).
```
npm package: @floriande/sammelsurium
Description: A collection of useful utilities and helper functions for JavaScript/TypeScript. From small extensions to powerful tools, Sammelsurium enhances your development experience with a diverse set of practical features, ready for any project in Node.js, the web
Author: FlorianDe
Latest version: 0.3.0

[![Build](https://github.com/FlorianDe/sammelsurium/actions/workflows/build.yml/badge.svg)](https://github.com/FlorianDe/sammelsurium/actions/workflows/build.yml)
[![Test](https://github.com/FlorianDe/sammelsurium/actions/workflows/test.yml/badge.svg)](https://github.com/FlorianDe/sammelsurium/actions/workflows/test.yml)
[![Lint](https://github.com/FlorianDe/sammelsurium/actions/workflows/lint.yml/badge.svg)](https://github.com/FlorianDe/sammelsurium/actions/workflows/lint.yml)

[![NPM Version](https://img.shields.io/npm/v/%40floriande%2Fsammelsurium?logo=npm)](https://www.npmjs.com/package/@floriande/sammelsurium)
[![Documentation](https://img.shields.io/badge/docs-online-blue?logo=github)](https://floriande.github.io/sammelsurium/)  

[![GitHub commits since latest release](https://img.shields.io/github/commits-since/FlorianDe/sammelsurium/latest)
](https://github.com/FlorianDe/sammelsurium/commits/main/)

# Sammelsurium

Sammelsurium is a powerful collection of utilities and helper functions designed to enhance your JavaScript/TypeScript development experience. Whether you're working on a Node.js backend, a modern web application, or any other TypeScript-powered project, this library provides a diverse set of practical tools that streamline your workflow.

## Documentation

The full API reference and usage guides are available at:

**[Sammelsurium Documentation](https://floriande.github.io/sammelsurium/)**  

Explore detailed explanations, examples, and type definitions for all utilities.

## Features

- **Combinatorial Algorithms**: Tools for working with sets and permutations.
- **Mixin Utilities**: Extend TypeScript classes/function with additional functionality.
- **TypeScript Utility Types**: Strongly typed utilities to enforce type safety.

## Installation

To use this library in your TypeScript project, install it via npm:

```sh
npm install @floriande/sammelsurium
```

Or using yarn:

```sh
yarn @floriande/sammelsurium
```

## Project Structure

```
src
│_ algorithms
│   |_ combinatorics
│      |_ cartesian.ts
│_ mixins
│   |_ withIndexAccess.ts
│_ types
│   |_ utility
│      |_ exactly-one-of.ts
│      |_ maximum-one-of.ts
```

---

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository.
2. Create a new branch (`feature/my-new-feature`).
3. Commit your changes.
4. Push to your branch and submit a pull request.

---
npm package: @floriandorau/http-checker
Description: Tool to check frequently http response status
Author: floriandorau
Latest version: 1.0.12

# http-checker

## Run it

### As npm package

The easiest way to run `http-checker` is to install it as global `npm` package like the following

```bash
npm install -g @floriandorau/http-checker
```

After installation it you can execute in your terminal via `http-checker`.

### From source

Checkout the repository and run `npm install` from root. Then you can run `npm start` from project root in your terminal.

## Configuration

But you can run `http-checker` you first need to create `config.yml` at `{HOMEDIR}/.http-checker/config.yml`;

A valid configuration looks like the following:

```yaml
interval: 30 # interval in secondes
slack:
  webbhook: https://your-webhoook
  channel: your-chanel-name
endpoints:
  - url: http://localhost:8080
    username: basic-auth-user
    password: basic-auth-password
```

Currently only `Basic Auth` is supported.