open-index/open-npm huggingface dataset:
npm package: @json-table/block-to-xlsx
Description: Library for rendering JSON Table to XLSX
Latest version: 0.3.0

# @json-table/block-to-xlsx

The [exceljs](https://github.com/exceljs/exceljs) based block to XLSX converter for [JSON Table](https://github.com/x0k/json-table).

## Install

```shell
npm install @json-table/core @json-table/block-to-xlsx
```

## Usage

```typescript
import { makeTableInPlaceBaker, makeTableFactory } from "@json-table/core/json-to-table";
import { renderBlockOnWorksheet } from "@json-table/block-to-xlsx";
import { Workbook } from "exceljs";

const cornerCellValue = "№";
const factory = makeTableFactory({ cornerCellValue });
const bake = makeTableInPlaceBaker({ cornerCellValue, head: true, indexes: true });
const wb = new Workbook();
renderBlockOnWorksheet(wb.addWorksheet("Table"), bake(factory(data)));
```

## License

MIT
npm package: @json-table/core
Description: Library for creating tables from JSON data
Latest version: 0.3.0

# @json-table/core

Set of tools for converting JSON data to table (HTML, XLSX, ASCII).

- [Web App](https://x0k.github.io/json-table/)
- [Documentation](https://x0k.github.io/json-table/docs/)

## Install

```shell
npm install @json-table/core
```

## Usage

```typescript
import { makeBlockFactory } from "@json-table/core/json-to-table";
import { blockToASCII } from "@json-table/core/block-to-ascii";

const block = makeBlockFactory({
  cornerCellValue: "№",
  joinPrimitiveArrayValues: true,
});
const asciiTable = blockToASCII(block(data));
```

Input data:

```json
{
  "key": "val",
  "primitiveArr": [1, "two", false],
  "object": {
    "key1": "value1",
    "key2": 789,
    "key3": {
      "nestedKey": "nestedVal"
    }
  },
  "nestedArray": [
    {
      "name": "John",
      "age": 30,
      "isStud": false
    },
    {
      "name": "Alice",
      "age": 25,
      "isStud": true
    }
  ]
}
```

Output:

```
+-----+---------------+---------------------------+--------------------------+
| key | primitiveArr  |          object           |         nestedArray      |
+-----+---------------+--------+------+-----------+---+-------+-----+--------+
|     |               |  key1  | key2 |   key3    | № | name  | age | isStud |
|     |               +--------+------+-----------+---+-------+-----+--------+
| val | 1, two, false |        |      | nestedKey | 1 | John  |  30 | false  |
|     |               | value1 |  789 +-----------+---+-------+-----+--------+
|     |               |        |      | nestedVal | 2 | Alice |  25 | true   |
+-----+---------------+--------+------+-----------+---+-------+-----+--------+
```

## License

MIT
npm package: @json-to-office/core-docx
Description: Core DOCX document generation engine
Author: Paolo Barbato
Latest version: 0.8.0

# @json-to-office/core-docx

Core DOCX document generation engine.

> **Internal package** — used by other @json-to-office packages. You probably want [`@json-to-office/json-to-docx`](../json-to-docx) or [`@json-to-office/json-to-pptx`](../json-to-pptx) instead.

## License

[MIT](../../LICENSE)
npm package: @json-to-office/core-pptx
Description: Core PPTX presentation generation engine
Author: Paolo Barbato
Latest version: 0.8.0

# @json-to-office/core-pptx

Core PPTX presentation generation engine.

> **Internal package** — used by other @json-to-office packages. You probably want [`@json-to-office/json-to-docx`](../json-to-docx) or [`@json-to-office/json-to-pptx`](../json-to-pptx) instead.

## License

[MIT](../../LICENSE)
npm package: @json-to-office/json-to-docx
Description: Professional .docx document generation from JSON - Public API package
Author: Paolo Barbato
Latest version: 0.8.0

# @json-to-office/json-to-docx

**Documents as data, not code.** Generate professional `.docx` files from JSON definitions — serializable, schema-validated, LLM-friendly.

[![npm](https://img.shields.io/npm/v/@json-to-office/json-to-docx.svg)](https://www.npmjs.com/package/@json-to-office/json-to-docx)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/Wiseair-srl/json-to-office/blob/main/LICENSE)

Part of the [json-to-office](https://github.com/Wiseair-srl/json-to-office) monorepo.

## Install

```bash
npm install @json-to-office/json-to-docx docx
```

## Usage

```ts
import { generateDocument } from '@json-to-office/json-to-docx';
import { Packer } from 'docx';
import { writeFileSync } from 'fs';

const doc = await generateDocument({
  name: 'docx',
  props: { theme: 'minimal' },
  children: [
    { name: 'heading', props: { text: 'Q1 Report', level: 1 } },
    {
      name: 'paragraph',
      props: { text: 'Revenue grew **32%** quarter-over-quarter.' },
    },
    {
      name: 'table',
      props: {
        columns: [
          {
            header: { content: 'Region' },
            cells: [
              { content: 'North America' },
              { content: 'Europe' },
              { content: 'APAC' },
            ],
          },
          {
            header: { content: 'Revenue' },
            cells: [
              { content: '$4.2M' },
              { content: '$2.8M' },
              { content: '$1.6M' },
            ],
          },
        ],
      },
    },
    {
      name: 'image',
      props: { path: 'https://example.com/chart.png', width: '80%' },
    },
  ],
});

const buffer = await Packer.toBuffer(doc);
writeFileSync('report.docx', buffer);
```

## Components

13 component types: **paragraph**, **heading** (h1-h6), **table** (column-based, borders, nested content, repeat header on page break), **image** (URL/file/base64, contain/cover/crop, captions, floating), **list** (57 numbering formats, 9 nesting levels), **columns**, **text-box**, **statistic** (number display with trend indicators), **highcharts**, **header/footer**, **table of contents**, and **sections** with independent page config.

## Highlights

- **Theme system** — Colors, fonts, spacing, component defaults. 3 built-in themes (minimal, modern, corporate) or define your own.
- **Schema validation** — TypeBox schemas as both TypeScript types and runtime validators.
- **Plugin architecture** — Create versioned custom components with `createComponent()`, chainable API, schema generation.
- **Rich text** — Markdown formatting (**bold**, _italic_) in paragraphs, headings, and captions.
- **Peer dependency** — Uses [docx](https://github.com/dolanmedia/docx) as the rendering backend. You control the version.

## License

[MIT](https://github.com/Wiseair-srl/json-to-office/blob/main/LICENSE) — Wiseair srl
npm package: @json-to-office/shared
Description: Format-agnostic shared types, schemas and validation utilities
Author: Paolo Barbato
Latest version: 0.8.0

# @json-to-office/shared

Format-agnostic shared types, schemas and validation utilities.

> **Internal package** — used by other @json-to-office packages. You probably want [`@json-to-office/json-to-docx`](../json-to-docx) or [`@json-to-office/json-to-pptx`](../json-to-pptx) instead.

## License

[MIT](../../LICENSE)
npm package: @json-to-office/shared-docx
Description: DOCX-specific schemas, component registry and validation
Author: Paolo Barbato
Latest version: 0.8.0

# @json-to-office/shared-docx

DOCX-specific schemas, component registry and validation.

> **Internal package** — used by other @json-to-office packages. You probably want [`@json-to-office/json-to-docx`](../json-to-docx) or [`@json-to-office/json-to-pptx`](../json-to-pptx) instead.

## License

[MIT](../../LICENSE)
npm package: @json-to-office/shared-pptx
Description: PPTX-specific schemas, component registry and validation
Author: Paolo Barbato
Latest version: 0.8.0

# @json-to-office/shared-pptx

PPTX-specific schemas, component registry and validation.

> **Internal package** — used by other @json-to-office packages. You probably want [`@json-to-office/json-to-docx`](../json-to-docx) or [`@json-to-office/json-to-pptx`](../json-to-pptx) instead.

## License

[MIT](../../LICENSE)
npm package: @json-types/compose
Description: TypeScript type for compose
Author: Juanra GM
Latest version: 0.11.0

# @json-types/compose

[![workflow-badge]](https://github.com/swordev/json-types/actions/workflows/ci.yaml) [![license-badge]](https://github.com/swordev/json-types#license)

[workflow-badge]: https://img.shields.io/github/actions/workflow/status/swordev/json-types/ci.yaml?branch=main
[license-badge]: https://img.shields.io/github/license/swordev/json-types

## Installation

```sh
npm install --save @json-types/compose
```

## Usage

```ts
import { type Compose } from "@json-types/compose";
import schema from "@json-types/compose/schema.json";
```

## Details

TypeScript types generated automatically every night and published when there are changes.

- Last change: 2025-10-29T02:01:37.441Z
- Source URL: https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
npm package: @json-types/tsconfig
Description: TypeScript type for tsconfig
Author: Juanra GM
Latest version: 0.11.0

# @json-types/tsconfig

[![workflow-badge]](https://github.com/swordev/json-types/actions/workflows/ci.yaml) [![license-badge]](https://github.com/swordev/json-types#license)

[workflow-badge]: https://img.shields.io/github/actions/workflow/status/swordev/json-types/ci.yaml?branch=main
[license-badge]: https://img.shields.io/github/license/swordev/json-types

## Installation

```sh
npm install --save @json-types/tsconfig
```

## Usage

```ts
import { type TSConfig } from "@json-types/tsconfig";
import schema from "@json-types/tsconfig/schema.json";
```

## Details

TypeScript types generated automatically every night and published when there are changes.

- Last change: 2025-12-06T01:57:10.619Z
- Source URL: https://json.schemastore.org/tsconfig.json
npm package: @json-types/web-manifest
Description: TypeScript type for web-manifest
Author: Juanra GM
Latest version: 0.3.0

# @json-types/web-manifest

[![workflow-badge]](https://github.com/swordev/json-types/actions/workflows/ci.yaml) [![license-badge]](https://github.com/swordev/json-types#license)

[workflow-badge]: https://img.shields.io/github/actions/workflow/status/swordev/json-types/ci.yaml?branch=main
[license-badge]: https://img.shields.io/github/license/swordev/json-types

## Installation

```sh
npm install --save @json-types/web-manifest
```

## Usage

```ts
import { type WebManifest } from "@json-types/web-manifest";
import schema from "@json-types/web-manifest/schema.json";
```

## Details

TypeScript types generated automatically every night and published when there are changes.

- Last change: 2025-09-24T01:50:54.299Z
- Source URL: https://json.schemastore.org/web-manifest.json
npm package: @json-walker/browser
Description: Package to load the JSON walker into a browser
Author: Julien Roche
Latest version: 1.0.5

<p>
    <a href="https://www.npmjs.com/package/@json-walker/browser">
    <img src="https://img.shields.io/npm/v/@json-walker/browser" alt="npm version">
  </a>

  <a href="https://github.com/rochejul/json-walker/blob/main/LICENSE">
    <img src="https://img.shields.io/npm/l/@json-walker/browser.svg" alt="license">
  </a>

  <a href="https://packagephobia.now.sh/result?p=@json-walker/browser">
    <img src="https://packagephobia.now.sh/badge?p=@json-walker/browser" alt="install size">
  </a>

  <a href="https://snyk.io/test/github/rochejul/json-walker">
    <img src="https://snyk.io/test/github/rochejul/json-walker/badge.svg?targetFile=packages/browser/package.json" alt="Known Vulnerabilities">
  </a>

  <a href="https://github.com/rochejul/json-walker/actions/workflows/node.js.yml">
    <img src="https://github.com/rochejul/json-walker/actions/workflows/node.js.yml/badge.svg" alt="Node.js Unit Test">
  </a>
</p>

# @json-walker/browser

Package to load the JSON walker into a browser

## Usage

Ensure to import the library, through an import:

```js
import * as walker from '@wjson-walker/browser';
```

Or from the HTML `script` tag:

```html
<script defer="defer" src="./node_modules/@json-walker/browser/build/bundle.js">
```

You could find in the [build folder](./build/) various targets

If you don't use ES6 imports, you could access on the global scope with `JsonWalker`

And for the Walker, please have a look on [the Walker's usage in Core module](../core//README.md#usage).

## Commands

- `npm run dev:build`: Bundle the package for various targets
- `npm run dev:linting`: Lint files

## Contributing

- [Guidelines](../../docs/GUIDELINES.md)
- [Contributing](../../docs/CONTRIBUTING.md)
- [Code of conducts](../../docs/CODE_OF_CONDUCTS.md)
npm package: @json-walker/core
Description: Core implementation of the walker
Author: Julien Roche
Latest version: 1.0.5

<p>
    <a href="https://www.npmjs.com/package/@json-walker/core">
    <img src="https://img.shields.io/npm/v/@json-walker/core" alt="npm version">
  </a>

  <a href="https://packagephobia.now.sh/result?p=@json-walker/core">
    <img src="https://packagephobia.now.sh/badge?p=@json-walker/core" alt="install size">
  </a>

  <a href="https://snyk.io/test/github/rochejul/json-walker">
    <img src="https://snyk.io/test/github/rochejul/json-walker/badge.svg?targetFile=packages/core/package.json" alt="Known Vulnerabilities">
  </a>

  <a href="https://github.com/rochejul/json-walker/blob/main/LICENSE">
    <img src="https://img.shields.io/npm/l/@json-walker/core.svg" alt="license">
  </a>
</p>

# @json-walker/core

Core implementation of the walker

## Usage

### Walker usage

```js
function grabProperties(value) {
  const properties = [];
  const walker = new Walker(value);
  let optionalWalkerMetadata;

  do {
    optionalWalkerMetadata = walker.nextStep();

    if (optionalWalkerMetadata.isSome()) {
      properties.push({
        path: optionalWalkerMetadata.value.propertyPath.toString(),
        type: optionalWalkerMetadata.value.propertyType,
        value: optionalWalkerMetadata.value.propertyValue,
      });
    }
  } while (optionalWalkerMetadata.isSome());

  return properties;
}

const secondLevel = { label: 'foo' };
const array = [secondLevel];
const firstLevel = { records: array };
const actual = grabProperties(firstLevel);

/* actual content:
 * [
    {
      path: 'records',
      type: 'array',
      value: [{ label: 'foo' }],
    },
    {
      path: 'records[0]',
      type: 'object',
      value: { label: 'foo' },
    },
    {
      path: 'records[0].label',
      type: 'string',
      value: 'foo',
    },
  ]
 */
```

### IterableWalker usage

```js
function grabProperties(value) {
  const properties = [];
  const walker = new IterableWalker(value);

  for (const value of walker) {
    properties.push({
      path: value.propertyPath.toString(),
      type: value.propertyType,
      value: value.propertyValue,
    });
  }

  return properties;
}

const secondLevel = { label: 'foo' };
const array = [secondLevel];
const firstLevel = { records: array };
const actual = grabProperties(firstLevel);

/* actual content:
 * [
    {
      path: 'records',
      type: 'array',
      value: [{ label: 'foo' }],
    },
    {
      path: 'records[0]',
      type: 'object',
      value: { label: 'foo' },
    },
    {
      path: 'records[0].label',
      type: 'string',
      value: 'foo',
    },
  ]
 */
```

## Commands

- `npm run dev:linting`: Lint files
- `npm test`: Run tests
- `npm run test:coverage`: Run tests and see coverage reports

## Contributing

- [Guidelines](../../docs/GUIDELINES.md)
- [Contributing](../../docs/CONTRIBUTING.md)
- [Code of conducts](../../docs/CODE_OF_CONDUCTS.md)
npm package: @json-walker/types
Description: Typescript definition of the polyfill
Author: Julien Roche
Latest version: 1.0.5

<p>
    <a href="https://www.npmjs.com/package/@json-walker/types">
    <img src="https://img.shields.io/npm/v/@json-walker/types" alt="npm version">
  </a>

  <a href="https://github.com/rochejul/json-walker/blob/main/LICENSE">
    <img src="https://img.shields.io/npm/l/@json-walker/types.svg" alt="license">
  </a>

  <a href="https://packagephobia.now.sh/result?p=@json-walker/types">
    <img src="https://packagephobia.now.sh/badge?p=@json-walker/types" alt="install size">
  </a>

  <a href="https://snyk.io/test/github/rochejul/web-component-attribute-polyfilln">
    <img src="https://snyk.io/test/github/rochejul/json-walker/badge.svg?targetFile=packages/types/package.json" alt="Known Vulnerabilities">
  </a>

  <a href="https://github.com/rochejul/json-walker/actions/workflows/node.js.yml">
    <img src="https://github.com/rochejul/json-walker/actions/workflows/node.js.yml/badge.svg" alt="Node.js Unit Test">
  </a>
</p>

# @json-walker/types

Typescript definition of the walker

## Definitions

### Walker

```typescript
class Walker {
  constructor(object: unknown);
  nextStep(): Option<WalkerMetadata>;
}

interface WalkerMetadata {
  readonly propertyName: string;
  readonly propertyPath: WalkerPath;
  readonly propertyType: WalkerPropertyType;
  readonly propertyValue: unknown;
}
```

### IterableWalker

```typescript
class IterableWalker implements Iterator<unknown> {
  next(): IteratorReturnResult<unknown>;
}
```

### Option

```typescript
class Option<T> {
  private constructor();

  isNone(): boolean;
  isSome(): boolean;
  readonly value: T | undefined | null;

  static from<F>(value: F): Option<F>;

  static none(): Option<null>;
}
```

## Commands

## Contributing

- [Guidelines](../../docs/GUIDELINES.md)
- [Contributing](../../docs/CONTRIBUTING.md)
- [Code of conducts](../../docs/CODE_OF_CONDUCTS.md)
npm package: @json-walker/util
Description: Set of utilities libraries
Author: Julien Roche
Latest version: 1.0.5

<p>
  <a href="https://www.npmjs.com/package/@json-walker/core">
    <img src="https://img.shields.io/npm/v/@json-walker/core" alt="npm version">
  </a>

  <a href="https://github.com/rochejul/json-walker/blob/main/LICENSE">
    <img src="https://img.shields.io/npm/l/@json-walker/core.svg" alt="license">
  </a>

  <a href="https://snyk.io/test/github/rochejul/json-walker">
    <img src="https://snyk.io/test/github/rochejul/json-walker/badge.svg?targetFile=packages/util/package.json" alt="Known Vulnerabilities">
  </a>

  <a href="https://github.com/rochejul/json-walker/actions/workflows/node.js.yml">
    <img src="https://github.com/rochejul/json-walker/actions/workflows/node.js.yml/badge.svg" alt="Node.js Unit Test">
  </a>
</p>

# @json-walker/util

Set of utilities libraries

## WalkerPropertyType

Enum of all possibles property type

## getPropertyType(value): WalkerPropertyType

Get the `WalkerPropertyType` of your value.

## Option

Create an ` Option` object (similar to an ` Optional` in Java);

## check service

It contains a list of methods to check the value depending of the type (such as ` isNull`, èisDate`, etc...).

## Commands

- `npm run dev:linting`: Lint files
- `npm test`: Run tests
- `npm run test:coverage`: Run tests and see coverage reports

## Contributing

- [Guidelines](../../docs/GUIDELINES.md)
- [Contributing](../../docs/CONTRIBUTING.md)
- [Code of conducts](../../docs/CODE_OF_CONDUCTS.md)
npm package: @json2d/react-snake-lib
Description: A highly customizable snake game created using React
Author: Ataberk Tumay
Latest version: 1.0.9-next.8

# Snake Game Lib

A highly customizable snake game component created using React.js

## Installation

```
npm i @json2d/react-snake-lib
```

## Usage
You can use it simply by 
```
<Snake />
```
Or you can customize it

```
<Snake
  startOnLoad
  initialSnake={[
    { x: 2, y: 0 },
    { x: 2, y: 1 },
    { x: 2, y: 2 },          
    { x: 2, y: 3 },
    { x: 2, y: 4 },
  ]}        
  initialDirection="down"
  onScoreChange={onScoreChange}
  onGameOver={onGameOver}
  onGameStart={onGameStart}
  width="500px"
  height="500px"
  bgColor="silver"
  innerBorderColor="#b1b0b0"
  snakeSpeed={90}
  borderColor="black"
  snakeColor="#3e3e3e"
  snakeHeadColor="#1a1a1a"
  appleColor="tomato"
  borderRadius={5}
  snakeHeadRadius={1}
  borderWidth={0}
  shakeBoard={true}
  boxShadow="rgba(100, 100, 111, 0.2) 0px 7px 29px 0px"
  size={16}
  startGameText="Start Game"
  startButtonStyle={{
    color: "white",
    padding: "6px 20px",
    backgroundColor: "#1a1a1a",
    borderRadius: "10px",
    fontSize: "17px",
    fontWeight: "600",
    cursor:"pointer"
  }}
  startButtonHoverStyle={{
    backgroundColor: "#4f4d4d"
  }}
  noWall={false}
  />
```

## Publish
```
npm run build-lib
npm publish --access public
```
npm package: @jsona/core
Description: A Jsona core.
Author: Sigoden Huang
Latest version: 0.2.3

# @jsona/core

This is a JavaScript wrapper for the JSONA core.

## Install

```
npm i @jsona/core
yarn add @jsona/core
```

## Usage

```js
import * as jsona from '@jsona/core';

// parse as json
jsona.parse(jsonaContent);

// parse as ast
jsona.parseAst(jsonaContent);

// format jsona doc
jsona.format(jsonaContent, {});
```
npm package: @jsona/lsp
Description: A Jsona lsp.
Author: Sigoden Huang
Latest version: 0.2.0

# @jsona/lsp

This is a JavaScript wrapper for the JSONA lsp.

## Install

```
npm i @jsona/lsp
yarn add @jsona/lsp
```

## Usage

```js
import JsonaLsp from '@jsona/lsp';

const worker: Worker = self as any;

const writer = new BrowserMessageWriter(worker);
const reader = new BrowserMessageReader(worker);

const lsp = await Jsona.getInstance(env, { 
  onMessage(message) {
    // from lsp server to host
    writer.send(message) 
}});

reader.listen(async (message: RpcMessage) => {
  // from host to lsp server
  lsp.send(message)
}
```
npm package: @jsona/openapi
Description: A openapi dsl in jsona
Author: Sigoden Huang
Latest version: 0.2.5

# @jsona/core

This is a JavaScript wrapper for the JSONA openapi.

## Install

```
npm i @jsona/openapi
yarn add @jsona/openapi
```

## Usage

```js
import { parse } from '@jsona/openapi';

// parse as openapi
parse(jsonaContent);
```
npm package: @jsona/schema
Description: A jsonschema dsl in jsona
Author: Sigoden Huang
Latest version: 0.2.3

# @jsona/schema

This is a JavaScript wrapper for the JSONA schema.

## Install

```
npm i @jsona/schema
```

## Usage

```js
import { parse } from '@jsona/schema';

const { value, errors } = parse(jsonaContent);
```