open-index/open-npm huggingface dataset:
npm package: @masteravodoprovodchiki/casttovania
Description: Convert string to something
Author: evilfant
Latest version: 0.0.3

# CastToVania

[![CircleCI](https://circleci.com/gh/MasteraVodoProvodchiki/casttovania.svg?style=svg)](https://circleci.com/gh/MasteraVodoProvodchiki/casttovania)  
  
Cast your string to something another  
Maybe to string, maybe to number, maybe to array of numbers!  
Also supports booleans

## Installation
```bash
yarn add @masteravodoprovodchiki/casttovania

# if you use npm

npm i --save @masteravodoprovodchiki/casttovania
```

## Examples
```javascript
const cast = require('@masteravodoprovodchiki/casttovania')

const number = cast('1')            // will be 1
const number = cast('true')         // will be true
const number = cast('TRUE')         // will be true
const number = cast('TrUe')         // will be true
const number = cast('false')        // will be false
const string = cast('foo')          // will be 'foo'
const array0 = cast('foo,bar')      // will be ['foo', 'bar']
const array1 = cast('foo,1')        // will be ['foo', 1]
const array2 = cast('foo,')         // will be ['foo']
```
npm package: @masteravodoprovodchiki/env-env
Description: Convert environment variables to structure
Author: evilfant
Latest version: 0.0.2

# env-env
Convert environment variables to object  
[![CircleCI](https://circleci.com/gh/MasteraVodoProvodchiki/env-env.svg?style=svg)](https://circleci.com/gh/MasteraVodoProvodchiki/env-env)

# Examples
```javascript
/*
    evironment:
    CONFIG__DB__HOST=localhost
    CONFIG__DB__PORT=6666
    CONFIG__PORT=5555
    CONFIG__ARR=foo,true,44
    CONFIG__IS_FLAG=false
*/
const envEnv = require('@masteravodoprovodchiki/env-env')

const res = envEnv(process.env)
/*
    res:
    {
        config: {
            host: 'localhost',
            port: 6666,
        },
        arr: ['foo', true, 44],
        isFlag: false,
    }
*/
```
npm package: @masterborn/eslint-config
Description: MasterBorn ESLint configurations
Author: MasterBorn Sp. z o.o.
Latest version: 0.1.0

# @masterborn/eslint-config

## Contents

```sh
.
├── LICENSE
├── README.md # this file
├── packages
│   │── backend
│       └── index.js # main backend config, accessible by @masterborn/eslint-config-backend
│   │── backend-typescript
│       └── index.js # main backend with typescript config, accessible by @masterborn/eslint-config-backend-typescript
│   │── common
│       └── index.js # commonly used ESLint rules that are used by other packages, accessible by @masterborn/eslint-config-common
│   │── frontend
│       └── index.js # main frontend config, accessible by @masterborn/eslint-config-frontend
│   │── frontend-typescript
│       └── index.js # main frontend with typescript config, accessible by @masterborn/eslint-config-frontend-typescript
└── package.json
```

### @masterborn/eslint-config-frontend

It uses @babel/eslint-parser which requires babel config file. More info on the parser can be found [here](https://github.com/babel/babel/tree/master/eslint/babel-eslint-parser).

### @masterborn/eslint-config-frontend-typescript

Configuration for TypeScript support.
Install peer dependencies and add `tsconfig.json` to your root directory.

### @masterborn/eslint-config-backend-typescript

Configuration for TypeScript support.
Install peer dependencies and add `tsconfig.json` to your root directory.
npm package: @mastercard/developers-agent-toolkit
Description: Agent Toolkit for Mastercard Developers Platform
Author: Mastercard
Latest version: 0.1.4

# Mastercard Agent Toolkit - TypeScript

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://developer.mastercard.com/_/_/src/global/assets/svg/mcdev-logo-light.svg">
  <img src="https://developer.mastercard.com/_/_/src/global/assets/svg/mcdev-logo-dark.svg" alt="mastercard developers logo">
</picture>

The Mastercard Developers Agent Toolkit allows popular agent frameworks (currently Model Context Protocol - MCP) to integrate with [Mastercard Developers](https://developer.mastercard.com) for service discovery and integration guides.

## Installation

```bash
npm install --save @mastercard/developers-agent-toolkit
```

### Requirements

- Node 18+

## Usage

You can optionally specify `service` or `apiSpecification` as part of the configuration.

- `service`: URL of the documentation of a service that you want the MCP to focus on e.g. `https://developer.mastercard.com/mdes-customer-service/documentation`
- `apiSpecification`: URL of the API specification that you want the MCP tools to focus on e.g. `https://static.developer.mastercard.com/content/match/swagger/match-pro.yaml`. You can get the link from `Download Spec` button in the `API Reference` page of service.
  NOTE: This will override any value provided in `service` configuration.

If you specify `service` or `api-specification` then the `get-services-list` tool will be disabled.

```typescript
import { MastercardDevelopersAgentToolkit } from '@mastercard/developers-agent-toolkit/mcp';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

const server = new MastercardDevelopersAgentToolkit({
  configuration: {
    service: 'https://developer.mastercard.com/open-finance-us/documentation',
  },
});

async function main() {
  const transport = new StdioServerTransport();
  await server.connect(transport);
  console.error('Mastercard Developers MCP Server running on stdio');
}

main().catch((error) => {
  console.error('Fatal error in main():', error);
  process.exit(1);
});
```

## References

- [Mastercard Developers Platform](https://developer.mastercard.com/)
- [Model Context Protocol](https://modelcontextprotocol.io/)
- [MCP SDKs](https://github.com/modelcontextprotocol)