open-index/open-npm huggingface dataset:
npm package: @rounik/data-structures
Description: Collection of TypeScript data structures
Author: Rounik Dev
Latest version: 0.1.0

# data-structures

Collection of TypeScript data structures

## Technologies:

- [Typescript](https://www.typescriptlang.org/)
- [Yarn](https://yarnpkg.com/)
- [Jest](https://github.com/kulshekhar/ts-jest)

## Contents:

1. SinglyLinkedList
2. DoublyLinkedList
3. Stack
4. Queue
5. BinaryHeap
npm package: @rounik/react-custom-hooks
Description: Collection of React custom hooks
Author: Rounik Dev
Latest version: 0.1.13

# @rounik/react-custom-hooks

Collection of React custom hooks

## Unit tests coverage

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/edb83177b0281c3232346072ec773358/raw/coverage-unit-statements.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/edb83177b0281c3232346072ec773358/raw/coverage-unit-branches.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/edb83177b0281c3232346072ec773358/raw/coverage-unit-functions.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/edb83177b0281c3232346072ec773358/raw/coverage-unit-lines.json)

## Technologies:

- [React](https://reactjs.org/)
- [Typescript](https://www.typescriptlang.org/)
- [Jest](https://github.com/kulshekhar/ts-jest)
- [React Testing Library](https://testing-library.com/)

## Contents:

1. useBeforeFirstRender
2. useCallbackDebounced
3. useCallbackDebouncedPromisified
4. useCallbackExtended
5. useClass
6. useContextReducer
7. useDependencyList
8. useEffectOnce
9. useIsMounted
10. useKeyboardEvent
11. useLastDiffValue
12. useLayoutUpdate
13. useLayoutUpdateOnly
14. useMemoExtended
15. useMount
16. useMutationObserver
17. useOnOutsideClick
18. useResizeObserver
19. useUnmount
20. useUpdate
21. useUpdatedRef
22. useUpdateOnly
23. useUpdateSync
24. useWindowResize
npm package: @rounik/react-form-builder
Description: React form builder with field hooks for building custom design systems
Author: Rounik Dev
Latest version: 0.0.60

# @rounik/react-form-builder

React form builder with field hooks for building custom design systems

## Unit tests coverage

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-unit-statements.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-unit-branches.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-unit-functions.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-unit-lines.json)

## Integration tests coverage

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-int-statements.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-int-branches.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-int-functions.json)

![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/rounikdev/44e044d6910ba713497ab3700f9479ce/raw/coverage-int-lines.json)

## Testing

### Setup cypress and storybook

- https://www.cypress.io/blog/2021/05/19/cypress-x-storybook-2-0/
- https://github.com/storybookjs/testing-react
npm package: @rousen/react-naver-maps
Description: React library for Naver Maps
Latest version: 0.1.10

# react-naver-maps

네이버 지도 API v3를 React에서 쉽게 사용할 수 있도록 만든 라이브러리입니다. 공식 API 문서는 https://navermaps.github.io/maps.js.ncp/docs/index.html 를 참고하세요.

## 설치

```bash
npm install @rousen/react-naver-maps
# 또는
yarn add @rousen/react-naver-maps
# 또는
pnpm add @rousen/react-naver-maps
```

TypeScript에서 `naver.maps.*` 전역 타입을 쓰려면 `@types/navermaps`를 개발 의존성으로 추가하세요.

```bash
npm install -D @types/navermaps
# 또는
yarn add -D @types/navermaps
# 또는
pnpm add -D @types/navermaps
```

## 빠른 시작

```tsx
import { Map, Marker } from "@rousen/react-naver-maps";

function App() {
  return (
    <Map ncpKeyId="your-ncp-key-id">
      <Marker position={{ x: 127.0276, y: 37.4979 }} />
    </Map>
  );
}
```

> 기본적으로 GL 서브모듈을 포함해 로드하며, WebGL 렌더링을 사용합니다. 필요 시 `disableGL` prop으로 옵트아웃할 수 있습니다.

더 자세한 사용법과 API 문서는 [문서 사이트](https://knsan189.github.io/react-naver-maps)를 참고하세요.

## 개발

### 의존성 설치

```bash
npm install
```

### 개발 모드 실행

```bash
npm run dev
```

### 빌드

```bash
npm run build
```

### 타입 체크

```bash
npm run type-check
```

### 린트

```bash
npm run lint
```

## 문서

상세한 사용법, API 문서, 예제는 [문서 사이트](https://knsan189.github.io/react-naver-maps)에서 확인할 수 있습니다.

## 주요 기능

- 🗺️ 네이버 지도 API를 React 컴포넌트로 쉽게 사용
- 📍 Marker, Overlay, Polygon, Polyline 등 다양한 오버레이 지원
- 🎯 TypeScript로 작성되어 완전한 타입 정의 제공
- 🔄 네이버 맵스 SDK 자동 로드
- 🎨 React 컴포넌트를 지도 오버레이로 사용 가능
- 📦 트리 쉐이킹 지원
- 🔌 GL 기본 활성(실패 시 자동 non-GL 폴백), Traffic, Transit 등 서브모듈 지원
- ⚡ 풍부한 이벤트 핸들러 지원
- ♻️ `reuseMap`으로 동일 `id` 지도 인스턴스 재사용 지원

## 호환성

이 라이브러리는 다음 환경에서 테스트되었습니다:

- ✅ **Vite** - 완전 지원
- ✅ **Webpack 5** - 완전 지원
- ✅ **Next.js** - 완전 지원
- ✅ **Create React App** - 완전 지원
- ✅ **TypeScript** - 타입 정의 포함
- ✅ **ESM & CommonJS** - 양쪽 모두 지원
- ✅ **트리 쉐이킹** - 지원

## 요구사항

- React >= 16.8.0 (Hooks 지원 필요)
- React DOM >= 16.8.0
- 네이버 클라우드 플랫폼(NCP) 클라이언트 ID

## 라이선스

MIT
npm package: @rout-horizon/horizon-testnet-contracts-interface
Description: A library for interacting with Horizon smart contracts
Author: HorizonProtocol
Latest version: 1.16.0

# Contracts Interface to Synthetix

The official JavaScript library for interacting with Synthetix protocol contracts.

This library can be used in 2 different environments:

1. Common-js module for node environments
2. UMD module for browser environments

## Instantiating in node.js or the browser

```javascript
// For node environments:
const { synthetix } = require('@synthetixio/contracts-interface');

// For single page applications:
import { synthetix } from '@synthetixio/contracts-interface';

// For browsers you can use a CDN of the minified files
// E.g. <script src="https://cdn.jsdelivr.net/npm/@synthetixio/contracts-interface/build/index.min.js"></script>
// then you can access synthetix on the window object:
const { synthetix } = window;

// Instantiate the library with or without a provider
const hznjs = synthetix({ network: 'mainnet' });

// Note: for typescript applications
import { synthetix, Network } from '@synthetixio/contracts-interface';
const hznjs = synthetix({ network: Network.Mainnet });
```

## Reading state

```javascript
const hznjs = synthetix({ network: 'mainnet' });

// If you want to interact with a contract, simply follow the convention:
// await hznjs[contractName].methodName(arguments)

const owner = await hznjs.contracts.Synthetix.owner();

// many arguments require being formatted toBytes32, which we also provide with the library

const { toBytes32 } = snx;

const totalIssuedSynths = await hznjs.contracts.Synthetix.totalIssuedSynths(toBytes32('sUSD'));

// We also expose ethers utils which provides handy methods for formatting responses to queries.
const { formatEther } = hznjs.utils;

formatEther(await hznjs.contracts.SynthsUSD.totalSupply());

formatEther(await hznjs.contracts.ExchangeRates.rateForCurrency(hznjs.toBytes32('SNX')));

// Note can optionally pass in a { blockTag: someBlockNumber } to get data from a specific block instead of {}
const snxAtBlock12m = await hznjs.contracts.ExchangeRates.rateForCurrency(hznjs.toBytes32('SNX'), {
  blockTag: 12e6,
});
```

## Signing transactions

```javascript
// any old provider will do
const provider = ethers.providers.getDefaultProvider('kovan');

// create a signer with a provider attached
const signer = new ethers.Wallet(
  // just a dummy kovan wallet with a little keth from the faucet
  '0xa0d951c494421559c63089093b020cf2f7aac003c916967dc36e989bc695222e',
  provider
);

// and then instantiate synthetix with the signer
const hznjs = synthetix({ network: 'mainnet', signer });

// mint 0.01 sETH via the NativeEtherWrapper
const response = await hznjs.contracts.NativeEtherWrapper.mint({
  value: parseEther('0.01'),
  gasPrice: parseUnits('5', 'gwei'),
  gasLimit: 500e3,
});
console.log('Submitted', response.hash);
await response.wait();
console.log('Mined', `https://etherscan.io/tx/${response.hash}`);
```

See the examples folder for more usage details.
npm package: @route-bible/adapters
Description: Adapter registry and template rendering for route.bible launch targets.
Latest version: 0.1.0

# @route-bible/adapters

Shared adapter registry and template rendering utilities for `route.bible`.

## Install

```bash
pnpm add @route-bible/adapters
```

## Usage

```ts
import {
  DEFAULT_ADAPTER_REGISTRY,
  buildAdapterTemplateContext,
  renderAdapterTemplate,
} from "@route-bible/adapters";
import { parsePassage } from "grab-bcv";

const parsed = parsePassage("John 3:16");
const adapter = DEFAULT_ADAPTER_REGISTRY.adapters.find((item) => item.id === "logos");
const context = buildAdapterTemplateContext(parsed, "ESV", "logos");

const url = renderAdapterTemplate(adapter?.deeplinkTemplate ?? "", context);
```

## Local Development

```bash
pnpm build
pnpm test
pnpm typecheck
```
npm package: @route-bible/client
Description: Typed HTTP client for the public route.bible API.
Latest version: 0.1.0

# @route-bible/client

Typed HTTP client for the public `route.bible` API.

## Install

```bash
pnpm add @route-bible/client
```

## Usage

```ts
import { createRouteBibleClient } from "@route-bible/client";

const client = createRouteBibleClient({ baseUrl: "https://route.bible" });
const parsed = await client.parse({ input: "John 3:16" });
```

## Local Development

```bash
pnpm build
pnpm test
pnpm typecheck
```
npm package: @route-bible/contracts
Description: Shared contracts and schema types for route.bible services.
Latest version: 0.1.0

# @route-bible/contracts

TypeScript contracts and schema types for `route.bible`.

## Install

```bash
pnpm add @route-bible/contracts
```

## Usage

```ts
import type { ResolveRequest, ResolveResponse } from "@route-bible/contracts";
```

## Local Development

```bash
pnpm build
pnpm test
pnpm typecheck
```
npm package: @route-bible/core
Description: Core route.bible parsing, ingest, resolve, link, snippet, and calendar services.
Latest version: 0.1.0

# @route-bible/core

Core local-first services for `route.bible`, including parse, ingest, resolve, QR request normalization, link generation, integration snippets, and calendar export.

## Install

```bash
pnpm add @route-bible/core
```

## Usage

```ts
import {
  buildIntegrationSnippets,
  buildRouteBibleLinks,
  generateCalendarIcs,
  ingestPassageInput,
  parsePassageInput,
  resolvePassageActions,
} from "@route-bible/core";
import { parsePassage } from "grab-bcv";

const parsed = parsePassage("John 3:16");
const links = buildRouteBibleLinks({ passage: parsed, translation: "ESV", app: "logos", src: "raycast" });
const snippets = buildIntegrationSnippets({ passage: parsed, translation: "ESV", src: "raycast" });
const calendar = generateCalendarIcs({
  items: [{
    canonicalPassage: parsed.canonical,
    displayPassage: links.displayPassage,
    translation: "ESV",
    routeUrl: links.canonicalUrl,
    preset: "tomorrow-morning",
  }],
});
```

## Local Development

```bash
pnpm build
pnpm test
pnpm typecheck
```
npm package: @route-bible/qr
Description: QR generation and canonical route URL helpers for route.bible.
Latest version: 0.1.0

# @route-bible/qr

QR asset generation for `route.bible`, including single-file and ZIP batch output.

## Install

```bash
pnpm add @route-bible/qr
```

## Usage

```ts
import { generateQrResponsePayload } from "@route-bible/qr";

const result = await generateQrResponsePayload(
  {
    items: [{ passage: "John 3:16", translation: "ESV", mode: "launcher" }],
    format: "svg",
    caption: true,
  },
  "https://route.bible",
);
```

## Local Development

```bash
pnpm build
pnpm test
pnpm typecheck
```
npm package: @route-builders/object-resolver
Description: -
Author: route.builders
Latest version: 0.0.2

# object-resolver

## examples

## basic usage

```ts
// target object
const document = { User: { name: 'taro' } };

// import { ObjectResolver } from "/path/to/src/index"
const resolver = new ObjectResolver(document);
console.log(resolver.resolve('User'));
// --> { name: "taro" }

console.log(resolver.resolve('User.name'));
// --> "taro"
```

## array operations

```ts
const document = { Users: [{ name: 'taro' }, { name: 'jiro' }] };

const resolver = new ObjectResolver(document);
console.log(resolver.resolve('Users[1]'));
// --> { name: "jiro" }
```

## JSON selector

```ts
const document = {
  Users: [
    { id: 123, name: 'taro', height: 170 },
    { id: 456, name: 'jiro', height: 180 },
  ],
};

const resolver = new ObjectResolver(document);
console.log(resolver.resolve('Users[]{"id": 123}'));
// --> { id: 123, name: 'taro', height: 170 }
```

## developer

- up-tri <yaki-shake@up-tri.me>

## LICENSE

under the MIT License.
npm package: @route-builders/oud-operator
Description: The library to use the string read from OuDia file
Author: up-tri
Latest version: 3.0.14

# OudOperator

[For Japanese](README-ja.md)

## About

Hi> \(O_O)/

The library to use the string read from OuDia file.

**Document** (ja only)  
https://doc.route.builders/oud-operator/

- About OuDia
  The software for editing and displaying railroad diagrams.
  made by take-okm.

[OuDia](http://take-okm.a.la9.jp/oudia/)

## Usage

### npm / yarn

1.  install on your project.

    - `npm i @route-builders/oud-operator`
    - `yarn add @route-builders/oud-operator`

2.  Load module.

    ```js
    import { O_O } from '@route-builders/oud-operator';

    import * as Encoder from 'encoding-japanese';
    import { readFileSync, writeFileSync } from 'fs';

    const o_o = new O_O();
    const filepath = '/path/to/file.oud';
    const buffer = readFileSync(filepath);

    const encoding = Encoder.detect(buffer, ['SJIS', 'UTF8']);
    if (!encoding) {
      throw new Error();
    }

    const sources = Encoder.convert(buffer, {
      to: 'UNICODE',
      from: encoding,
      type: 'string',
      bom: false,
    })
      .replace(/\r/g, '')
      .split('\n');

    writeFileSync('demo.json', JSON.stringify(o_o.fromOud(sources).toJSON()));
    ```

### Browser

hosted by [jsDelivr](https://www.jsdelivr.com/).

https://cdn.jsdelivr.net/gh/route-builders/oud-operator-dist/O_O.js

```html
<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="UTF-8" />
    <script src="https://cdn.jsdelivr.net/gh/route-builders/oud-operator-dist/O_O.js"></script>
    <script>
      window.onload = () => {
        const o_o = new O_O();
        // ...
      };
    </script>
  </head>
  <body></body>
</html>
```

## Notice

~~This library relies on the window object. So it will not run in a command line environment.~~

## Author

Copyright &copy; 2018-2021 [up-tri](https://github.com/up-tri/)

under the MIT License.
npm package: @route-builders/oud-to-json
Description: convert between .oud and .json
Author: route-builders
Latest version: 2.0.13

# oud-to-json

Convert between .oud and .json .

**Document**  
https://doc.route.builders/oud-to-json/

## usage

### .oud -> .json

```ts
const { readFileSync, writeFileSync } = require('fs');
const { Oud2JSON } = require('@route-builders/oud-to-json');

const buffer = readFileSync('/path/to/file.oud');
const oj = new Oud2JSON(buffer);
writeFileSync('result.json', oj.parse());
```

### .json -> .oud

```ts
const { writeFileSync } = require('fs');
const { JSON2Oud } = require('@route-builders/oud-to-json');

const json = '{"FileType":"OuDia.1.02","Rosen": ... }';
const jo = new JSON2Oud(json);
writeFileSync('result.oud', jo.parse());
```

## developer

- up-tri <yaki-shake@up-tri.me>

## LICENSE

under the MIT License.
npm package: @route-codegen/core
Description: Route generator to create route modules
Author: Eddy Nguyen
Latest version: 0.5.5

# @route-codegen/core

This is the main generator to create route modules of [route-codegen](https://github.com/eddeee888/route-codegen).

Project repository: [route-codegen](https://github.com/eddeee888/route-codegen)
npm package: @route-codegen/react
Description: React components to support route-codegen
Author: Eddy Nguyen
Latest version: 0.1.2

# @route-codegen/react

This is the React components package to support [route-codegen](https://github.com/eddeee888/route-codegen).

Project repository: [route-codegen](https://github.com/eddeee888/route-codegen)
npm package: @route-codegen/utils
Description: Utility functions to support route-codegen
Author: Eddy Nguyen
Latest version: 0.2.0

# @route-codegen/utils

This is the utility function package that can be used by vanilla JavaScript apps. Used by [route-codegen](https://github.com/eddeee888/route-codegen).

Project repository: [route-codegen](https://github.com/eddeee888/route-codegen)
npm package: @routeflow/types
Description: Auto-generated TypeScript types from the RouteFlow API OpenAPI specification
Author: S2S Engineering
Latest version: 1.0.26

# @routeflow/types

Auto-generated TypeScript types from the RouteFlow API OpenAPI specification.

## Installation

```bash
npm install @routeflow/types
```

## Usage

### Friendly Type Aliases

Import commonly used types from the `/exports` subpath:

```typescript
import type { Run, Stop, Driver, CreateRunRequest } from '@routeflow/types/exports';

const run: Run = {
  id: '123',
  name: 'Morning Deliveries',
  status: 'DRAFT',
  // ...
};
```

### Raw OpenAPI Types

For advanced usage (path-based typing, type utilities):

```typescript
import type { paths, components, operations } from '@routeflow/types';

// Extract request body for a specific endpoint
type CreateRunBody = paths['/api/runs']['post']['requestBody']['content']['application/json'];

// Access any schema directly
type RunSchema = components['schemas']['RunResponseDto'];
```

## Type Generation

Types are auto-generated from the RouteFlow API's OpenAPI specification using `openapi-typescript`.

### Generate from Local API

```bash
# Start the API first
cd ../routeflow-api && npm run start:dev

# Generate types
npm run generate
```

### Generate from Production API

```bash
npm run generate:prod
```

## Package Structure

```
routeflow-types/
├── src/
│   ├── index.ts      # Auto-generated types (DO NOT EDIT)
│   └── exports.ts    # Friendly type aliases
├── dist/             # Compiled output
├── package.json
└── README.md
```

## Available Types

### Entities
- `User`, `Organization`
- `Run`, `Stop`, `Driver`, `Document`
- `TrackingStatus`, `TrackingLocation`

### Request Types
- `LoginRequest`, `RegisterRequest`
- `CreateRunRequest`, `UpdateRunRequest`
- `CreateStopRequest`, `UpdateStopRequest`
- `CreateDocumentRequest`

### Enums
- `RunStatus` - DRAFT, ASSIGNED, IN_PROGRESS, COMPLETED, CANCELLED
- `StopStatus` - PENDING, EN_ROUTE, ARRIVED, DELIVERED, etc.
- `StopType` - PICKUP, DELIVERY, BOTH
- `DocumentType` - POD, PHOTO, SIGNATURE, etc.

### Pagination
- `PaginatedRuns`, `PaginatedStops`, `PaginatedDrivers`

### Raw Types
- `paths` - All API endpoints with their methods
- `components` - All schemas, parameters, responses
- `operations` - All operation definitions

## Development

```bash
# Install dependencies
npm install

# Generate types (requires API running on localhost:3001)
npm run generate

# Build
npm run build

# Type check
npm run type-check
```

## License

MIT
npm package: @routeflux/utils
Description: Shared utilities for Routeflux.
Latest version: 0.0.1-alpha.2

# vite-plus-starter

A starter for creating a Vite Plus project.

## Development

- Install dependencies:

```bash
vp install
```

- Run the unit tests:

```bash
vp test
```

- Build the library:

```bash
vp pack
```