open-index/open-npm huggingface dataset:
npm package: @codelus/react-template-editor
Description: It's replica from React-Email-Editor but made the options values as more priority and will maintain it more
Author: Saurabh Gaur
Latest version: 0.0.3

## React Template Editor


It's replica from React-Email-Editor but made the options values as more priority and will maintain it more

The excellent drag-n-drop email editor by Codelus as a React.js wrapper component. This is the most powerful and developer friendly visual email builder for your app.


## Installation


The easiest way to use React Email Editor is to install it from NPM and include it in your own React build process.


#### To install a component run
`$ npm install @codelus/react-template-editor --save`


#### Please import CSS styles via
```scss noeditor
@import '/path__to__node_modules/@codelus/react-template-editor/dist/index.min.css
```


## Usage


#### Require the EmailEditor component and render it with JSX:
[Demo](https://hawk.wallnit.com/#!/Button/1)
```js static
import Button from '@hawk-ui/button';
```
```js static
import React from 'react';
import ReactDom from 'react-dom';

import TemplateEditor from '@codelus/react-template-editor';

const App = () => {
  return (
    <TemplateEditor
      templateCode='<html><head></head><body><div style="box-sizing: border-box;"><div style="box-sizing: border-box;"><h1 style="box-sizing: border-box; color: #428795; text-align: center;">Welcome to Codelus Editor</h1></div></div></body></html>'
    />
  );
};
```
npm package: @codemancers/tunnel-client
Description: A production-ready tunnel client for creating secure tunnels to local services
Author: SyedSibtainRazvi
Latest version: 0.0.1

# Tunnel Client

A production-ready tunnel client for creating secure tunnels to local services.

## Installation

```bash
npm install @codemancers/tunnel-client
```

Or use npx to run without installation:

```bash
npx @codemancers/tunnel-client --port 3001 --host https://tunnel.c9s.dev
```

## Usage

### Command Line

```bash
tunnel-client --port 3001 --host https://local-tunnel.fly.dev --subdomain myapp
```

### Arguments

- `--port <port>` - The local port to tunnel (required)
- `--host <url>` - The tunnel server URL (default: http://localhost:3000)
- `--subdomain <name>` - Optional subdomain name for the tunnel

### Environment Variables

You can also configure the client using environment variables:

- `TUNNEL_PORT` - The local port to tunnel
- `TUNNEL_HOST` - The tunnel server URL
- `TUNNEL_SUBDOMAIN` - Optional subdomain name
- `TUNNEL_TARGET` - Target URL (alternative to port)

### Examples

```bash
# Basic usage with local server
tunnel-client --port 3001

# With custom server and subdomain
tunnel-client --port 3001 --host https://tunnel.c9s.dev --subdomain myapp

# Using environment variables
export TUNNEL_PORT=3001
export TUNNEL_HOST=https://tunnel.c9s.dev
export TUNNEL_SUBDOMAIN=myapp
tunnel-client
```

## How It Works

1. The client connects to the tunnel server and requests a new tunnel
2. The server allocates a unique tunnel ID and returns the public URL
3. The client establishes a WebSocket connection to the tunnel
4. All HTTP requests to the public URL are proxied through the WebSocket to your local service

## Requirements

- Node.js >= 18.0.0

## License

MIT
npm package: @codemaskjs/nestjs-elasticsearch
Description: Nestjs Elasticsearch Module
Latest version: 1.11.0

# Nestjs Elasticsearch Module

> [!NOTE]  
> This repository is a Work In Progress, driven by the motive.

## Motive

Due to Production Experience when working with Elasticsearch leaded to maintenance issues when extensively used searches, filters and aggregations (especially aggregations).

1. Current Elasticsearch Nestjs Modules does not provide auto-complete for queries
2. Since Elasticsearch indexes are schema-less we got no proper feedback about what we should expect on the index
3. Elasticsearch response forgets about types of aggregations

## Adding package to your Nestjs project

1. Install package using yarn or npm

```bash
$ yarn add @codemaskjs/nestjs-elasticsearch
// or
$ npm -i @codemaskjs/nestjs-elasticsearch
```
2. Import module

```typescript
import { ElasticsearchModule } from '@codemaskjs/nestjs-elasticsearch'

@Module({
    imports: [
        ElasticsearchModule.register({
            node: 'http://localhost:9200'
        })
    ]
})
class AppModule {}
```

3. (optional) Registering Index with Document

```typescript
import { RegisterIndex } from '@codemaskjs/nestjs-elasticsearch'

@RegisterIndex('examples')
export class ExampleDocument {
    readonly id: string
    readonly test?: string
}
```

```typescript
import { Injectable } from '@nestjs/common'
import { Index } from '@codemaskjs/nestjs-elasticsearch'
import { ExampleDocument } from './example.document'

@Injectable()
export class ExampleService {
    @InjectIndex(ExampleDocument)
    private readonly exampleIndex: Index<ExampleDocument>

    getExampleDocuments() {
        return this.exampleIndex.search()
    }
}
```

```typescript
import { ElasticsearchModule } from '@codemaskjs/nestjs-elasticsearch'
import { ExampleDocument } from './example.document'

@Module({
    imports: [
        providers: [ExampleService],
        ElasticsearchModule.register({
            node: 'http://localhost:9200'
        }),
        ElasticsearchModule.forFeature([
            ExampleDocument
        ])
    ]
})
class AppModule {}
```

## Future actions
1. Add case_insensitive option to term search
2. Filter undefined/null values from request body
3. Add <size> field to aggregations body so that it can return more than default 10 results
4. Add <sort> and <search_after> fields to request type and <sort> field to response type to enable pagination
5. Add `e2e` tests setup for features scenario tests
6. Add `extraction` of aggregations on `response`
7. Add `healthcheck` from `ElasticsearchService`
8. Add `checkDocumentIntegrity` with the connection on the source on runtime
9. Add optional `script` to `sum`, `avg`, `max` aggregation
10. Add order field to `terms` aggregation
npm package: @codemasters/whisper
Description: a lightweight, framework-independent notification library
Author: Taha Sadough
Latest version: 1.5.6

# Whisper

# a lightweight, framework-independent notification library

## Installation or Update

#### bun

```sh
bun add @codemasters/whisper@latest
```

#### npm

```sh
npm i @codemasters/whisper@latest
```

or anything you like

## Getting Started

```js
import whisper from "@codemasters/whisper";

whisper("Hey buddy! Making progress?");
```

#### You can also pass an object for options:

```js
whisper("Hey buddy! Making progress?", {
  position: "top-center",
  duration: 2000,
  id: "whisperID",
  textAlign: "left",
  backgroundColor: "#ededed",
  textColor: "#000000",
});
// more options will be added
```

#### Success whisper:

```js
whisper.success("This is a success whisper");
```

#### Loading whisper:

```js
whisper.loading("This is a loading whisper");
```

#### Error whisper:

```js
whisper.error("This is a error whisper");
```

#### To dismiss one or more whisper you can simply do:

```js
whisper.dismiss("whisperID");
```
npm package: @codemirror/lang-lezer
Description: Lezer grammar language support for the CodeMirror code editor
Author: Marijn Haverbeke
Latest version: 6.0.2

<!-- NOTE: README.md is generated from src/README.md -->

# @codemirror/lang-lezer [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-lezer.svg)](https://www.npmjs.org/package/@codemirror/lang-lezer)

[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-lezer/blob/main/CHANGELOG.md) ]

This package implements Lezer grammar language support for the
[CodeMirror](https://codemirror.net/) code editor.

The [project page](https://codemirror.net/) has more information, a
number of [examples](https://codemirror.net/examples/) and the
[documentation](https://codemirror.net/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/lang-lezer/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

## Usage

```javascript
import {EditorView, basicSetup} from "codemirror"
import {lezer} from "@codemirror/lang-lezer"

const view = new EditorView({
  parent: document.body,
  doc: `ParenExpr { "(" expr ")" }`,
  extensions: [basicSetup, lezer()]
})
```

## API Reference

<dl>
<dt id="user-content-lezer">
  <code><strong><a href="#user-content-lezer">lezer</a></strong>() → <a href="https://codemirror.net/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt>

<dd><p>Language support for Lezer grammars.</p>
</dd>
<dt id="user-content-lezerlanguage">
  <code><strong><a href="#user-content-lezerlanguage">lezerLanguage</a></strong>: <a href="https://codemirror.net/docs/ref#language.LRLanguage">LRLanguage</a></code></dt>

<dd><p>A language provider based on the <a href="https://github.com/lezer-parser/lezer-grammar">Lezer Lezer
parser</a>, extended
with highlighting and indentation information.</p>
</dd>
</dl>
npm package: @codemirror/lang-rust
Description: Rust language support for the CodeMirror code editor
Author: Marijn Haverbeke
Latest version: 6.0.2

<!-- NOTE: README.md is generated from src/README.md -->

# @codemirror/lang-rust [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-rust.svg)](https://www.npmjs.org/package/@codemirror/lang-rust)

[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-rust/blob/main/CHANGELOG.md) ]

This package implements Rust language support for the
[CodeMirror](https://codemirror.net/) code editor.

The [project page](https://codemirror.net/) has more information, a
number of [examples](https://codemirror.net/examples/) and the
[documentation](https://codemirror.net/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/lang-rust/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

## Usage

```javascript
import {EditorView, basicSetup} from "codemirror"
import {rust} from "@codemirror/lang-rust"

const view = new EditorView({
  parent: document.body,
  doc: `println!("Hello World!");`,
  extensions: [basicSetup, rust()]
})
```

## API Reference

<dl>
<dt id="user-content-rust">
  <code><strong><a href="#user-content-rust">rust</a></strong>() → <a href="https://codemirror.net/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt>

<dd><p>Rust language support</p>
</dd>
<dt id="user-content-rustlanguage">
  <code><strong><a href="#user-content-rustlanguage">rustLanguage</a></strong>: <a href="https://codemirror.net/docs/ref#language.LRLanguage">LRLanguage</a></code></dt>

<dd><p>A syntax provider based on the <a href="https://github.com/lezer-parser/rust">Lezer Rust
parser</a>, extended with
highlighting and indentation information.</p>
</dd>
</dl>
npm package: @codemirror/rangeset
Description: Range set data structure for the CodeMirror code editor
Author: Marijn Haverbeke
Latest version: 0.19.9
Deprecated: As of 0.20.0, this package has been merged into @codemirror/state

# @codemirror/rangeset [![NPM version](https://img.shields.io/npm/v/@codemirror/rangeset.svg)](https://www.npmjs.org/package/@codemirror/rangeset)

[ [**WEBSITE**](https://codemirror.net/6/) | [**DOCS**](https://codemirror.net/6/docs/ref/#rangeset) | [**ISSUES**](https://github.com/codemirror/codemirror.next/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/rangeset/blob/main/CHANGELOG.md) ]

This package implements the range set data structure for the
[CodeMirror](https://codemirror.net/6/) code editor.

The [project page](https://codemirror.net/6/) has more information, a
number of [examples](https://codemirror.net/6/examples/) and the
[documentation](https://codemirror.net/6/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/rangeset/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.
npm package: @codemirror/rectangular-selection
Description: Rectangular selection for the CodeMirror code editor
Author: Marijn Haverbeke
Latest version: 0.19.2
Deprecated: As of 0.20.0, this package has been merged into @codemirror/view

# @codemirror/rectangular-selection [![NPM version](https://img.shields.io/npm/v/@codemirror/rectangular-selection.svg)](https://www.npmjs.org/package/@codemirror/rectangular-selection)

[ [**WEBSITE**](https://codemirror.net/6/) | [**DOCS**](https://codemirror.net/6/docs/ref/#rectangular-selection) | [**ISSUES**](https://github.com/codemirror/codemirror.next/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/rectangular-selection/blob/main/CHANGELOG.md) ]

This package implements rectangular selection for the
[CodeMirror](https://codemirror.net/6/) code editor.

The [project page](https://codemirror.net/6/) has more information, a
number of [examples](https://codemirror.net/6/examples/) and the
[documentation](https://codemirror.net/6/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/rectangular-selection/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.