open-index/open-npm huggingface dataset:
npm package: @l7mp/tivadar-ai-langchain-sdk
Description: TypeScript client for the l7mp/langchain REST API.
Latest version: 0.1.1

# @l7mp/tivadar-ai-langchain-sdk

TypeScript client for the l7mp/langchain REST API. This wraps the L7mp.io RAG, LLM, and Azure Search APIs.

See full documentation [here](docs/README.md).

## Install

```bash
npm install @l7mp/tivadar-ai-langchain-sdk
```

## Usage

```ts
import {LangChainSDK} from '@l7mp/tivadar-ai-langchain-sdk'

const client = new LangChainSDK({
  baseUrl: 'http://localhost:8080',
  apiKey: 'YOUR_LLM_API_KEY',
})

const response = await client.v1.llm.chat({
  messages: [{role: 'user', content: 'Hello!'}],
})

// Access full generated client if needed:
// const response = await client.v1.api.llm.createChatCompletion('YOUR_LLM_API_KEY', { messages: [...] })
```

### RAG document upload

```ts
const org = 'acme'
const ragName = 'product-docs'
const file = new Blob(['hello world'], {type: 'text/plain'})

await client.v1.rag.addDocument(ragName, file, org, {
  filename: 'hello.txt',
})
```

### Azure Search compatible endpoint

```ts
const results = await client.v1.azureSearch.search('my-index', {
  search: 'find me something',
  top: 5,
})
```

## Integration tests

The integration test expects `bin/langchain` to exist, starts a local server with fake providers, and runs a few sanity checks.

```bash
make build-all
RUN_LANGCHAIN_INTEGRATION=1 node --test test/integration.test.js
```

## Generate API types

```bash
npm run generate
```

## Generate SDK docs

```bash
npm run docs
```

## Build, test, publish

```bash
npm run build
npm test
RUN_LANGCHAIN_INTEGRATION=1 npm test
npm publish --access public
```

## License

MIT — Copyright 2026 [L7mp.io](https://l7mp.io). See [LICENSE](LICENSE) for details.
npm package: @l8d/gherkin-lite
Description: Gherkin-style BDD testing DSL for vitest
Author: Tenor Biel
Latest version: 0.1.1

# @l8d/gherkin-lite

Gherkin-style BDD testing DSL for vitest. Write feature tests with Given/When/Then step definitions.

## Installation

```bash
npm install @l8d/gherkin-lite
```

## Peer Dependencies

This package requires `vitest` (>=1.0.0) and `debug` (^4.0.0) as peer dependencies. Install them if not already present:

```bash
npm install -D vitest debug
```

## Usage

### Step 1: Define Step Handlers

Create step definition files using `Given`, `When`, and `Then`:

```typescript
// steps/when/startGame.ts
import { When } from '@l8d/gherkin-lite/steps'

When('the user starts a new game', async ({ scenario }) => {
  // Your step implementation
})
```

Steps can accept string or regex patterns:

```typescript
import { When } from '@l8d/gherkin-lite/steps'

When(/player (\w+) moves to cell \((\d+), (\d+)\)/, async ({ params }) => {
  const [, player, row, col] = params
  // Implementation with captured groups
})
```

### Step 2: Write Feature Tests

Import your step handlers as side effects, then define features with scenarios:

```typescript
import { Feature } from '@l8d/gherkin-lite'
// Step imports register handlers
import './steps/when/startGame'
import './steps/then/gameShouldShowStatus'

Feature('Tic Tac Toe Game', ({ Scenario }) => {
  Scenario('Starting a new game', [
    'Given the app is rendered',
    'When the user starts a new game',
    'Then the game should show status "Next player: X"',
  ])
})
```

### Custom Fixtures

Pass custom data to all scenarios in a feature:

```typescript
import { Feature } from '@l8d/gherkin-lite'

Feature<{ routes: React.ReactNode }>(
  'My Feature',
  { routes: myRoutes },
  ({ Scenario }) => {
    Scenario('Test scenario', [
      'Given something',
      'When something happens',
      'Then verify the result',
    ])
  },
)
```

Step handlers receive custom fixtures:

```typescript
import { Given } from '@l8d/gherkin-lite/steps'

Given('the app is rendered', async ({ routes }) => {
  // routes is available from custom fixtures
})
```

## API

### `Feature<TCustom>`

```typescript
Feature<{ routes: React.ReactNode }>(
  name: string,
  options?: { only?: boolean; skip?: boolean } & Partial<TCustom>,
  block: ({ Scenario }) => void,
)
```

Defines a feature with named scenarios. Registers tests with vitest.

### `Scenario`

```typescript
Scenario(
  name: string,
  steps: string[],
)
```

Defines a scenario within a feature. Steps must start with `Given`, `When`, `Then`, or `And`.

### `Given`, `When`, `Then`

```typescript
Given(text: string | RegExp, handler: HandlerFn<TCustom>) => void
When(text: string | RegExp, handler: HandlerFn<TCustom>) => void
Then(text: string | RegExp, handler: HandlerFn<TCustom>) => void
```

Register step handlers. Handlers receive fixtures with `scenario.id`, `params` (regex captures), and custom fixture data.

## Export Paths

- `@l8d/gherkin-lite` — `Feature`
- `@l8d/gherkin-lite/steps` — `Given`, `When`, `Then`
- `@l8d/gherkin-lite/types` — TypeScript type definitions
npm package: @l8n/fs
Description: file handling
Author: lencx
Latest version: 0.1.1

# fs

> file handling

## Install

```bash
npm install @l8n/fs --save-dev
```

```bash
yarn add @l8n/fs --dev
```

## Usage

```js
import { insertLine, removeLine, updateLine, readFile } from '@l8n/fs';

const filename = './test/a.txt';
// insert line: line number optional
// if there is no line number, then the end of the file append.
insertLine(filename, 'test99', 9);

// remove line: exact match
removeLine(filename, 'test99');

// update line: exact match
updateLine(filename, 'old text', 'new text');

// returns array
readFile(filename);
```
npm package: @l8n/hooks
Description: react hooks
Author: lencx
Latest version: 0.1.0

# hooks

> React Hooks

## Install

```bash
npm install @l8n/hooks --save
```

```bash
yarn add @l8n/hooks
```

## Feature

* useDebounce
* useToggle

## TODO

* useList - data `CURD`
* useIframe
* useMask
* useClipboard
npm package: @l9m/v-md-editor
Description: A markdown editor built on Vue
Latest version: 3.3.12

<h1 align="center">Markdown Editor built on Vue3</h1>

<p align="center">
  <a href="https://npmcharts.com/compare/@kangc/v-md-editor?minimal=true"><img src="https://img.shields.io/npm/dm/@kangc/v-md-editor.svg?sanitize=true" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/@kangc/v-md-editor/v/2.3.16"><img src="https://img.shields.io/npm/v/@kangc/v-md-editor/next.svg?sanitize=true" alt="Version"></a>
  <a href="https://www.npmjs.com/package/@kangc/v-md-editor"><img src="https://img.shields.io/npm/l/@kangc/v-md-editor.svg?sanitize=true" alt="License"></a>
</p>

## Links

- [Demo](https://code-farmer-i.github.io/vue-markdown-editor/examples/base-editor.html)
- [Documentation](https://code-farmer-i.github.io/vue-markdown-editor/)
- [中文文档](https://code-farmer-i.github.io/vue-markdown-editor/zh/)
- [国内文档镜像](http://ckang_1229.gitee.io/vue-markdown-editor/zh/)
- [Changelog](https://code-farmer-i.github.io/vue-markdown-editor/changelog.html)

## Communication

qq group: 798884474

## Install

```bash
# use npm
npm i @kangc/v-md-editor@next -S

# use yarn
yarn add @kangc/v-md-editor@next
```

## Quick Start

```js
import { createApp } from 'vue';
import App from 'App.vue';
import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';

VueMarkdownEditor.use(vuepressTheme);

createApp(App).use(VueMarkdownEditor);
```

## Usage

```html
<script setup>
  import { ref } from 'vue';

  const text = ref('');
</script>

<template>
  <v-md-editor v-model="text" height="400px"></v-md-editor>
</template>
```

## Refrence

- [ElementUi Utils clickoutside](https://github.com/ElemeFE/element/blob/dev/src/utils/clickoutside.js)
- [ElementUi Utils resize-event](https://github.com/ElemeFE/element/blob/dev/src/utils/resize-event.js)
- [ElementUi Utils scrollbar-width](https://github.com/ElemeFE/element/blob/dev/src/utils/scrollbar-width.js)
- [ElementUi Scrollbar Component](https://github.com/ElemeFE/element/tree/dev/packages/scrollbar)
- [vuepress-plugin-container](https://github.com/vuepress/vuepress-community/blob/master/packages/vuepress-plugin-container/src/markdown-it-container.ts)
- [vuepress markdown preWrapper](https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/lib/preWrapper.js)
- [vuepress markdown link](https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/lib/link.js)
- [markdown-it-katex](https://github.com/waylonflinn/markdown-it-katex/blob/master/index.js)
- [markdown-it-table-of-contents](https://github.com/Oktavilla/markdown-it-table-of-contents/blob/master/index.js)
- [markdown-it-task-lists](https://github.com/revin/markdown-it-task-lists/blob/master/index.js)

## License

[MIT](https://github.com/code-farmer-i/vue-markdown-editor/blob/dev/LICENSE)