open-index/open-npm huggingface dataset:
npm package: @icaroinflames/fastify-fcm
Description: A plugin to use fcm in fastify
Author: icaroinflames
Latest version: 0.1.1

# Fastify FCM

Fastify FCM is a library for Fastify that allows sending notifications via Firebase Cloud Messaging (FCM).

## Installation

To install Fastify FCM in your project, run the following command:

```bash
npm install @icaroinflames/fastify-fcm
```

## Usage

First, you must register the plugin on your Fastify server and provide the right options:

```javascript
const fastify = require("fastify")();
const fastifyFcm = require("fastify-fcm");

fastify.register(fastifyFcm, {
  project_id: "your-project-12345",
  private_key: "your private key",
  client_email: "your client email
});
```

The options can be obtained from the `service account` file. The plugin will decorate the fastify instance with the `fcm.send` function. you can use it to send notification to tokens or topics:

```javascript
const responses = await fastify.fcm.send({
  tokens: ["a_registration_token", "another_registration_token"],
  topic: "a topic name",
  message:
    notification: {
        title: "Título de la notificación",
        body: "Cuerpo de la notificación",
    },
    data: {
        key1: "a value",
        key2: 23,
        key3: {key32: "another value"}
    }
});
```

The response contains the responses of all the calls to tokens and topic

## Contributions

Contributions are welcome. Please open an issue or a pull request if you have something to add.

## License

Fastify FCM is licensed under the MIT license.
npm package: @icarolavrador/react-typewriter
Description: Made with create-react-library
Author: icaroNZ
Latest version: 1.1.0

# react-typewriter

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

## Description

The simplest typewriter effect component in React.

![](example/public/assets/typewriter.gif)

## Install

```bash
npm install --save @icarolavrador/react-typewriter
```

## Usage

```jsx
import React from 'react'

import Typewriter from 'react-typewriter'
import 'react-typewriter/dist/index.css'

const App = () => {
  const textArrayExample = [
    'small',
    'medium, this is a medium size text example',
    'long text, this is a long text to server as an example how long text work!'
  ]
  return <Typewriter textArray={textArrayExample} />
}

export default App
```

## SASS variables to override

```scss
$typewriter-color-text: #525f7f;
$typewriter-color-underline: #d50000;
$typewriter-text-size: 1.25rem;
```

## Sample page

https://icaronz.github.io/react-typewriter/

## License

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