open-index/open-npm huggingface dataset:
npm package: @fiialkod/toon-mcp-server
Description: MCP server providing LEAN and TOON format encoding/decoding for token-efficient LLM data exchange
Latest version: 2.0.2

# toon-mcp-server

MCP server for token-efficient data encoding in LLM context windows.

**v2** uses [LEAN format](https://github.com/fiialkod/lean-format) (LLM-Efficient Adaptive Notation) as the primary encoding, with [TOON](https://github.com/nicholasgasior/toon) available for comparison in stats.

## Why?

JSON wastes tokens on syntax — braces, brackets, repeated key names, quotes. LEAN saves ~49% tokens on average by declaring field names once in tab-delimited tables, using dot-flattened keys, indentation instead of braces, and single-char literals (T/F/_).

## Tools

- **`lean_encode`** — JSON value -> LEAN
- **`lean_decode`** — LEAN -> JSON value
- **`lean_stats`** — compare token counts: JSON vs LEAN vs TOON
- **`lean_format_response`** — picks whichever format is smaller (LEAN or compact JSON), adds metadata

All tools accept any JSON value at root. Input validated with Zod.

## Setup

```bash
npm install && npm run build
```

Claude Desktop (`claude_desktop_config.json`):
```json
{
  "mcpServers": {
    "toon": {
      "command": "node",
      "args": ["/absolute/path/to/toon-mcp-server/dist/index.js"]
    }
  }
}
```

Claude Code:
```bash
claude mcp add toon -- node /absolute/path/to/toon-mcp-server/dist/index.js
```

## Limitations

**Keys** must match `[\w][\w-]*`. No dots, spaces, slashes, colons. `encode()` throws on bad keys.

**Strings** round-trip correctly including empty strings, scalar-lookalikes (`"null"`, `"42"`), whitespace, backslashes, newlines. Two escape conventions:
- Scalar context (key:value): backslash escaping (`\\`, `\"`, `\n`)
- Cell context (tabular rows): RFC 4180 doubling (`""`) + `\n`

**Empty root object** encodes as `{}`.

## Files

```
index.ts      MCP server, 4 tools
lean.ts       LEAN encoder/decoder + token estimation
toon.ts       TOON encoder/decoder (used in stats comparison)
test.mjs      tests
dist/         compiled output
```

## License

MIT
npm package: @fiile/cra-template-typescript
Description: The base TypeScript and LESS template for Create React App.
Latest version: 1.1.3

# cra-template-typescript

This is the official TypeScript template for [Create React App](https://github.com/facebook/create-react-app).

To use this template, add `--template typescript` when creating a new app.

For example:

```sh
npx create-react-app my-app --template typescript

# or

yarn create react-app my-app --template typescript
```

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @fiile/cra-template-typescript-less
Description: The base TypeScript and LESS template for Create React App.
Latest version: 1.1.3

# cra-template-typescript

This is the official TypeScript template for [Create React App](https://github.com/facebook/create-react-app).

To use this template, add `--template typescript` when creating a new app.

For example:

```sh
npx create-react-app my-app --template typescript

# or

yarn create react-app my-app --template typescript
```

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @fiile/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 4.0.11

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @fiit/eslint-config-fiit
Description: Common eslint config for fiit
Author: getfiit
Latest version: 1.1.1

# eslint-config-fiit

<!-- toc -->
* [Publishing](#publishing)
<!-- tocstop -->

# Publishing

Before you publish your fine new code, always update the version:
```
npm version patch|minor|major
```

This will update the version number (based on whether you passed in major, minor or patch) and create a new commit, which you should then push to your branch.

Once this is done, you can actually push your changes to npm by running the following:
```
npm publish
npm package: @fiit/testcaffeine
Description: Wrapper for Testcafe
Author: fiit
Latest version: 0.4.0

# Testcaffeine

Wrapper for Testcafe framework.

This framework wraps [testcafe](https://www.npmjs.com/package/testcafe) and [testcafe-react-selectors](https://www.npmjs.com/package/testcafe-react-selectors) packages and exposes their methods that we use across the tests.

It also exposes custom actions which are wrappers for most of the [default Testcafe actions](https://devexpress.github.io/testcafe/documentation/test-api/actions/).

## Usage

`yarn add -D '@fiit/testcaffeine'`

* peer dependency: `'@fiit/babel-preset-fiit'`
* dependencies: `'testcafe', 'testcafe-react-selectors'`

## API

The list of all functions exported by this package can be found in [index.js](src/index.js) file.

There's no default export so you always have to explicitly provide what you want to import.

### Actions

Actions should be used in page objects and `*test.js` files

```js
import { Type, Click, Check } from '@fiit/testcaffeine';

describe(...);

test('Login', async () => {
  Type.into(LoginPage.email, 'test@fiit.tv');
  Type.into(LoginPage.password, 'password');
  Click.on(LoginPage.loginButton);

  Check.isVisible(HomePage.title);
});
```

### Testcafe functions

Default Testcafe functions should be used in page objects and helpers/utils files.

```js
import { t, ClientFunction, Selector, ReactSelector } from '@fiit/testcaffeine';
```

### Test runner

 Tets runner should be used in a node script to runs the tests.

```js
const { runUITests } = require('@fiit/testcaffeine');

const browsers = ['chrome', 'safari'];
const paths = ['ui-tests/*test.js'];
// All run options available here: https://devexpress.github.io/testcafe/documentation/using-testcafe/programming-interface/runner.html#run
const runOptions = {
  quarantineMode: true,
  stopOnFirstFail: true,
};

runUITests(browsers, paths, runOptions);
```

### Constants

Exports generic constants reused across tests.

```js
import { constants } from '@fiit/testcaffeine';

constants.SELECTOR_TIMEOUT_MS; // 10000ms
```

## Development

If you create a PR, please include Dawid Dylowicz ([@dawiddylowicz](https://github.com/dawiddylowicz/)) as a reviewer.

- `make init` - required to setup NPM_TOKEN locally for docker builds
- `make build` - to build on docker container
- `yarn test:ui` runs UI tests using headless Chrome by default.
npm package: @fiizy/fitch
Description: Fiizy fetch wrapper
Author: Fiizy
Latest version: 1.0.13

# fitch - wrapper for fetch

[![NPM version](https://img.shields.io/npm/v/@fiizy/fitch.svg)](https://www.npmjs.com/package/@fiizy/fitch)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Fiizy/fitch/Publish)
[![GitHub](https://img.shields.io/github/license/fiizy/fitch)](https://github.com/fiizy/fitch/blob/master/LICENSE)
![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/fiizy/fitch)
[![Minzipped size](https://img.shields.io/bundlephobia/minzip/@fiizy/fitch.svg)](https://www.npmjs.com/package/@fiizy/fitch)
[![Downloads](https://img.shields.io/npm/dm/@fiizy/fitch)](https://www.npmjs.com/package/@fiizy/fitch)
[![Types](https://img.shields.io/npm/types/@fiizy/fitch)](https://www.npmjs.com/package/@fiizy/fitch)

# Usage
## NPM
```sh
npm i @fiizy/fitch
```

## Import
```javascript
import { Fitch } from '@fiizy/fitch'
```

```javascript
const apiService = new Fitch({
  baseURL: 'https://example.com'
})
```

```javascript
apiService.get('/test-path')
apiService.delete('/test-path')
apiService.post('/test-path', payload)
apiService.put('/test-path', payload)
```

# Examples
Different transformers can be used before fetch is done.

```javascript
const apiService = new Fitch({
  baseURL: 'https://example.com',
  transformRequest: [transformToSnake, authHeader],
  transformResponse: [transformToCamel],
  headers: { 'accept-encoding': 'gzip' }
})
```


## Auth header transformer example
```javascript
function authHeader(request: JsonObject): any {  
  request.headers = { ...request.headers, Authorization: `Bearer ${accessToken}` }
  return request
}
```