open-index/open-npm huggingface dataset:
npm package: @ivangonzalezg/react-native-flip-card
Description: The card component which has a motion of flip for React Native(iOS/Android)
Author: moschan
Latest version: 3.5.7

react-native-flip-card
===

> The card component which have motion of flip for React Native(iOS/Android)

[![NPM](https://nodei.co/npm/react-native-flip-card.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-native-flip-card/)

[![npm](https://img.shields.io/npm/v/react-native-flip-card.svg)]()[![npm](https://img.shields.io/npm/l/react-native-flip-card.svg)]()

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) [![forthebadge](http://forthebadge.com/images/badges/uses-js.svg)](http://forthebadge.com)

Demo
---
![](./doc/ver3_android_demo.gif)


Installation
==

in Cli
---
```
npm i react-native-flip-card
```


Usage
===

Simple
---
```
import FlipCard from 'react-native-flip-card'

<FlipCard>
  {/* Face Side */}
  <View style={styles.face}>
    <Text>The Face</Text>
  </View>
  {/* Back Side */}
  <View style={styles.back}>
    <Text>The Back</Text>
  </View>
</FlipCard>
```

Customized
---
```
<FlipCard 
  style={styles.card}
  friction={6}
  perspective={1000}
  flipHorizontal={true}
  flipVertical={false}
  flip={false}
  clickable={true}
  onFlipEnd={(isFlipEnd)=>{console.log('isFlipEnd', isFlipEnd)}}
>
  {/* Face Side */}
  <View style={styles.face}>
    <Text>The Face</Text>
  </View>
  {/* Back Side */}
  <View style={styles.back}>
    <Text>The Back</Text>
  </View>
</FlipCard>
```

Props
===

flip(bool) `Default: false`
---
If you change default display side, you can set `true` to this param. If you change side, you can pass `bool` variable dynamically.

clickable(bool) `Default: true`
---
If you want to disable click a card, you can set `false` to this param.

friction(number) `Default: 6`
---
The friction of card animation

perspective(number) `Default: 0`
---
The amount of perspective applied to the flip transformation

flipHorizontal(bool) `Default: false`
---
If you set true, a card flip to horizontal.

![](./doc/ver2_horizontal.gif)


flipVertical(bool) `Default: true`
---
If you set false, a card not flip to vertical. If you set true both `flipHorizontal` and `flipVertical` , a card flip to diagonal.


vertical | diagnoal
---- | ----
 ![](./doc/ver2_vertical.gif)| ![](./doc/ver2_diagonal.gif)

onFlipStart(function) `(isFlipStart) => {}`
---
When a card starts a flip animation, call `onFlipEnd` function with param.

onFlipEnd(function) `(isFlipEnd) => {}`
---
When a card finishes a flip animation, call `onFlipEnd` function with param.

alignHeight(boolean) `Default:false`
---
If you pass `true` to `alignHeight` param, the card keep height of bigger side.

alignWidth(boolean) `Default:false`
---
If you pass `true` to `alignWidth` param, the card keep width of bigger side.

useNativeDriver(boolean) `Default:false`
---
If you pass `true` to `useNativeDriver` param, the card animation will utilize the native driver.

Credits
===
Inspired by [react-flipcard](https://github.com/mzabriskie/react-flipcard)


License
===
MIT
npm package: @ivangsm0/hehe
Description: An ultra-lite, 100% WHATWG-compliant HTML entity encoder/decoder. Optimized for size and performance.
Author: Iván Salazar
Latest version: 2.0.1

# @ivangsm0/hehe 🚀

An ultra-lite, **100% WHATWG-compliant** HTML entity encoder/decoder. Rewritten in TypeScript. Optimized for maximum performance and minimal footprint.

Formerly known as `he`, **@ivangsm0/hehe** has been completely modernized and ultra-optimized to break size and performance barriers while maintaining perfect compliance with the HTML specification.

## ✨ Key Improvements over `he`

| Metric | `he` v1.2.0 | **@ivangsm0/hehe** | Improvement |
|:---|:---:|:---:|:---:|
| **Minified Bundle (ESM)** | ~55 KB* | **36.48 KB** | **~35% smaller** |
| **Unpacked Package Size** | 124.1 KB | **84.7 KB** | **32% smaller** |
| **Download Size (Packed)** | 40.3 KB | **31.3 KB** | **22% smaller** |
| **Execution Performance** | 225.8 ms | **65.9 ms** | **3.4x faster** |
| **Language** | JavaScript (ES5) | **TypeScript** | Type-safe |

*\*Estimated minified size based on original source.*

---

## 🛠 Installation

```bash
# Using Bun (Recommended)
bun add @ivangsm0/hehe

# Using NPM
npm install @ivangsm0/hehe
```

## 📖 Usage

### Encoding

```typescript
import hehe from '@ivangsm0/hehe';

// Basic encoding
hehe.encode('foo © bar');
// → 'foo &#xA9; bar'

// Use named references
hehe.encode('foo © bar', { useNamedReferences: true });
// → 'foo &copy; bar'

// Encode everything
hehe.encode('a', { encodeEverything: true });
// → '&#x61;'
```

### Decoding

```typescript
import { decode } from '@ivangsm0/hehe';

// Standard decoding
decode('foo &copy; bar');
// → 'foo © bar'

// Strict mode
decode('&#xZ', { strict: true });
// → Parse error!
```

### Escaping (Security first)

```typescript
import { escape } from '@ivangsm0/hehe';

escape('<img src="x" onerror="prompt(1)">');
// → '&lt;img src=&quot;x&quot; onerror=&quot;prompt(&#x60;1&#x60;)&quot;&gt;'
```

---

## 🚀 Why hehe?

`@ivangsm0/hehe` uses advanced computer science techniques to provide the smallest possible bundle without sacrificing compliance:

1.  **Trie-based Regex Compression**: We compress 2,000+ entity patterns into a prefix-tree (Trie) to generate a high-efficiency matching regex.
2.  **Packed Strings**: We store entity data in high-density strings with non-printable delimiters, eliminating JSON overhead.
3.  **Dynamic Map Generation**: We generate lookup maps at runtime during module initialization, keeping the wire size tiny.

## ⚖️ License

MIT License. Developed by **Iván Salazar** ([hi@ivansalazar.dev](mailto:hi@ivansalazar.dev)).
Inspired by the original `he` by Mathias Bynens.
npm package: @ivanguerra09/platzom
Description: Traductor de idioma platzom
Author: Ivan Guerra
Latest version: 0.1.1

# 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: @ivanguerra09/weight-converter
Description: Conversor de unidades de peso desarrollado como parte de los desafíos del Curso de Fundamentos de JavaScript de Platzi
Author: Ivan Guerra
Latest version: 0.1.0

# Weight Converter

Weight Converter es un conversor de unidades de peso desarrollado como parte de los desafíos del [Curso de Fundamentos de JavaScript](https://platzi.com/js) de [Platzi](https://platzi.com)

## Unidades de medida

Las unidades de medida que se utlizan en la primera versión son el Kilogramo y la Libra.

La conversión de una unidad a otra es:

```
1 Kilogramo = 2.20462 Libras
1 Libra = 0.453592 Kilogramos
```

## Instalación

```
npm install weight-converter
```

## Uso

```
import { kgsToLibras, librasToKgs } from 'weight-converter'

kgsToLibras(0) // 0
librasToKgs(0) // 0
kgsToLibras(1) // 2.20462
librasToKgs(2.20462) // 1
librasToKgs(1) // 0.453592
kgsToLibras(0.453592) // 1
kgsToLibras(15) // 33.0693
librasToKgs(33.0693) // 15
librasToKgs(15) // 6.80388
kgsToLibras(6.80388) // 15
```

## Créditos
- [Sacha Lifszyc](https://twitter.com/@slifszyc)
- [Iván Guerra](https://twitter.com/@iguerra94)

## Licencia

[MIT](https://opensource.org/licenses/MIT)