open-index/open-npm huggingface dataset:
npm package: @kbracho810/platzom
Description: Traductor de idioma platzom 
Author: katherine
Latest version: 0.1.1

# Platzom

Platzom es un idioma inventado para el [Curso de Fundamentos de Javascript de Platzi](https://platzi.com/js)

## Descripción del idioma

- Si la palabra termina con "ar" , se le quitan esas dos letras.
- Si la palabra inicia con Z, se le añade "pe" al final 
- Si la palabra traducida tiene 10 o más letras se debe partir en dos por la mitad y unir con un guión medio
- Por último, si la palabra original es un palíndromo, ninguna regla anterior cuenta y se devuelve la misma palabra pero intercalando letras mayusculas y minusculas.

## Instalación

```
nmp install platzom

```

## Uso 

```
import platzom from 'platzom'

platzom("Programar") // Program
platzom("Zorro") // Zorrope
platzom("Zarpar") // Zarppe
platzom("abecedeario") // abece-dario
platzom("sometemos") // SoMeTeMoS

```

## Creditos
-[Roberto Delgado](https://www.linkedin.com/in/robertoantoniodelgadonieves/)

## Licencia

[MIT](https://opensource.org/licenses/MIT)
npm package: @kbrandwijk/swagger-to-graphql
Description: Swagger2GraphQL converts your existing Swagger schema to GraphQL types where resolvers perform HTTP calls to certain real endpoints. It allows you to move your API to GraphQL with nearly zero afford and maintain both: REST and GraphQL APIs.
Author: Roman Krivtsov
Latest version: 2.4.3

# Swagger2GraphQL

Swagger2GraphQL converts your existing Swagger schema to GraphQL types where resolvers perform HTTP calls to certain real endpoints.
It allows you to move your API to GraphQL with nearly zero afford and maintain both: REST and GraphQL APIs.

<a href="https://medium.com/@raxwunter/moving-existing-api-from-rest-to-graphql-205bab22c184">Why?</a>

# Usage

## Basic server

```js
const express = require('express');
const app = express();
const graphqlHTTP = require('express-graphql');
const graphQLSchema = require('swagger-to-graphql');

graphQLSchema('./petstore.json').then(schema => {
  app.use('/graphql', graphqlHTTP(() => {
    return {
      schema,
      context: {
        GQLProxyBaseUrl: API_BASE_URL
      },
      graphiql: true
    };
  }));

  app.listen(3009, 'localhost', () => {
    console.info(`API is here localhost:3009/graphql`);
  });
}).catch(e => {
  throw e;
});
```

## CLI convertion

```
npm i -g swagger-to-graphql
swagger-to-graphql --swagger=/path/to/swagger_schema.json > ./types.graphql
```
## Authorization

Basic Auth example:
```js
 ...
  context: {
    GQLProxyBaseUrl: API_BASE_URL,
    headers: {
      Authorization: 'Basic YWRkOmJhc2ljQXV0aA==',
      "X-Custom": 'customValue'
    }
    BearerToken: req.get('authorization')
  },
 ...
```

Bearer Token example:
```js
 ...
  context: {
    GQLProxyBaseUrl: API_BASE_URL,
    headers: {
      Authorization: req.get('authorization'),
      "X-Custom": 'customValue'
    }
  },
 ...
```

<a href="https://github.com/yarax/swagger-to-graphql/blob/master/src/types.js#L3"> All context options </a>
npm package: @kbru/control-props
Description: Define custom properties on Angular's reactive form controls
Author: Karsten Bruckmann
Latest version: 15.0.0-rc1

# @kbru/control-props

Extend Angular's reactive `FormGroups` and `FormControls` with custom properties.

Use Cases:

-   Mark a form field as visible/invisible instead of enabled/disabled without affecting the behaviour of the form.
-   Attach valid values to a control for the template to display them. Useful for `select`, `radio`, ...

## Installation

```shell
npm install @kbru/control-props
```

## Usage

```typescript
import { FormGroupWithProps } from '@kbru/control-props';
import { FormControlWithProps } from '@kbru/control-props';

interface Props {
    visible: boolean;
    options?: string[];
}

export class Component {
    form = new FormGroupWithProps<Props>(
        { visible: true },
        {
            field: new FormControlWithProps<Props>({ visible: false }),
            select: new FormControlWithProps<Props>({
                visible: true,
                options: ['Foo', 'Bar'],
            }),
        }
    );
}
```

```html
<form *ngIf="form.prop('visible')" [formGroup]="form">
    <input *ngIf="form.get('field').prop('visible')" formControlName="form" />

    <select *ngIf="form.get('select').prop('visible')" formControlName="form">
        <ng-container *ngIf="form.get('select').prop('options') as options">
            <option *ngFor="let option of options">{{ option }}</option>
        </ng-container>
    </select>
</form>
```