open-index/open-npm huggingface dataset:
npm package: @leoalap/platzom
Description: Traductor de idioma platzom
Author: Leonardo Alatriste
Latest version: 0.1.0

# Platzom

Platzom es un idioma inventado para el [Curso de Fundamentos de JavaScript](https://platzi.com/js) de [Platzi](https://platzi.com), el mejor lugar de educación online

## 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 mayúsculas y minúsculas

## Instalación

```
npm install platzom
```

## Uso

```
import platzom from 'platzom'

platzom("Programar") // Program
platzom("Zorro") // Zorrope
platzom("Zarpar") // Zarppe
platzom("abecedario") // abece-dario
platzom("sometemos") // SoMeTeMoS
```

## Créditos
- [Sacha Lifszyc](https://twitter.com/@slifszyc)

## Licencia

[MIT](https://opensource.org/licenses/MIT)
npm package: @leoalipazaga/use-starwars-quote
Description: a custom react hook
Author: n
Latest version: 2.0.0

# @leoalipazaga/use-starwars-quote

> a custom react hook

[![NPM](https://img.shields.io/npm/v/@leoalipazaga/use-starwars-quote.svg)](https://www.npmjs.com/package/@leoalipazaga/use-starwars-quote) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @leoalipazaga/use-starwars-quote
```

## Usage

```jsx
import React from "react";
import { useStarWarsQuote } from "@leoalipazaga/use-starwars-quote";

const App = () => {
  const { loading, quote } = useStarWarsQuote();

  return loading ? <p>Loading...</p> : <div>{quote}</div>;
};
export default App;
```

## License

MIT © [n](https://github.com/n)

---

This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).
npm package: @leob_o/printpdf
Description: A tiny tool to print pdf from blob object inspired by Print.js.
Author: LeoB_O
Latest version: 1.0.0

# PrintPDF

A tiny tool to print pdf from blob object inspired by Print.js.

## Usage

```javascript
// will expose a PrintPDF function on window
let blob = new Blob();  // just for example
window.PrintPDF(blob);
```
npm package: @leobastiani/get-with-default
Description: get from an object with a default value
Author: Leonardo Guarnieri de Bastiani
Latest version: 1.0.0

# @leobastiani/get-with-default

solves the error

```
Element implicitly has an 'any' type because expression of type 'string' can't be used to index
```

https://stackoverflow.com/questions/57086672/element-implicitly-has-an-any-type-because-expression-of-type-string-cant-b

https://stackoverflow.com/a/69198602

## Install

```bash
npm install @leobastiani/get-with-default
```

or

```bash
yarn add @leobastiani/get-with-default
```

## Example

```ts
import { getWithDefault } from "@leobastiani/get-with-default";

const obj = {
  a: 1,
  b: 2,
  c: 3,
};

const value = getWithDefault(obj, string, obj.c);
```
npm package: @leobastiani/memoizee
Description: memoizee with reset function
Author: Leonardo Guarnieri de Bastiani
Latest version: 1.0.2

# @leobastiani/memoizee

like [memoizee](https://www.npmjs.com/package/memoizee) but you can reset

See examples at [nonProd.test.js](nonProd.test.js) and [prod.test.js](prod.test.js)
npm package: @leobastiani/memoizee-one
Description: memoizee-one with reset function
Author: Leonardo Guarnieri de Bastiani
Latest version: 1.0.0

# @leobastiani/memoizee-one

like [memoize-one](https://www.npmjs.com/package/memoize-one) but you can reset

See examples at [nonProd.test.js](nonProd.test.js) and [prod.test.js](prod.test.js)
npm package: @leobastiani/once
Description: execute a function only once and cache but it has a reset function for testing
Author: Leonardo Guarnieri de Bastiani
Latest version: 1.0.1

# once

execute a function only once and cache but it has a reset function for testing

See examples at [nonProd.test.js](nonProd.test.js) and [prod.test.js](prod.test.js)
npm package: @leocavalcante/minreact
Description: Command line interface to get started with The Minimal React.
Author: leocavalcante
Latest version: 0.0.2

# minreact
Command line interface to get started with [The Minimal React](https://github.com/leocavalcante/The-Minimal-React).

For those, like me, too lazy to `git clone` and `npm install`.

## npm i @leocavalcante/minreact -g

- `minreact my-awesome-react-app`
- `cd my-awesome-react-app`
- `npm run dev`

Access http://localhost:8080

Also `minreact --redux my-awesome-redux-app`<br>
Will clone the [Redux branch](https://github.com/leocavalcante/The-Minimal-React/tree/Redux).