open-index/open-npm huggingface dataset:
npm package: @rmo0/tmail
Description: Temporary Gmail (emailnator) client: generate inbox, list messages, get body. No parsing—use your own (e.g. cheerio) to extract codes.
Latest version: 2.0.0

# tmail

Temporary Gmail client via [emailnator](https://www.emailnator.com/). Generates an inbox, lists messages, and returns raw HTML. Use your own parser (e.g. cheerio) to extract auth codes or links.

## Features

- Generate a temporary Gmail-style address
- List received messages
- Get message body (HTML string)
- Wait for a message from a specific sender

## Requirements

Node.js 18+

## Install

```bash
npm install @rmo0/tmail
```

## Usage

```js
const createClient = require('@rmo0/tmail');

const client = createClient({
  proxyUrl: process.env.PROXY_URL || null,
  tokenCachePath: './token-cache.json',
});

const email = await client.generateEmail();

const msg = await client.waitForMessage({
  expectedFrom: 'no-reply@example.com',
  timeout: 30000,
});
if (!msg) throw new Error('timeout');

const html = await client.getMessageBody(msg.messageID);
```

## API

### createClient(options)

| Option | Type | Description |
|--------|------|-------------|
| `proxyUrl` | `string \| null` | HTTP/HTTPS proxy URL |
| `tokenCachePath` | `string` | File path to cache token |
| `logger` | `{ info?, warn?, error?, debug? }` | Optional logger |
| `timeout` | `number` | Request timeout (ms) |
| `maxRetries` | `number` | Retry count on failure |
| `retryDelay` | `number` | Delay between retries (ms) |

### Client methods

- `generateEmail()` → `Promise<string>`
- `listMessages()` → `Promise<Message[]>`
- `getMessageBody(messageID)` → `Promise<string>`
- `waitForMessage({ expectedFrom?, timeout?, pollInterval?, maxAttempts? })` → `Promise<Message | null>`
- `reset()` → `void`
- `clearTokenCache()` → `void`

### Errors

Errors are `TmailError` with `code` and `statusCode`.

### TypeScript

Export types: `TmailError`, `ClientOptions`, `Message`, `WaitForMessageOptions`, `Logger`, `ClientState`, `TmailClient`.

## License

MIT
npm package: @rmoral/rm-js
Description: Set of JS utilities
Author: Rafael Moral
Latest version: 1.3.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

[![npm version](https://badge.fury.io/js/%40rmoral%2Frm-js.svg)](https://badge.fury.io/js/%40rmoral%2Frm-js)

# rm-js

> [Configuration guide](#docs)

**Index**

- [Functions](#functions)
  - [Async Pipe](#asyncPipe)
  - [Pipe](#pipe)
- [Strings](#strings)
  - [Object to query string](#object-to-query-string)
  - [Query string to object](#query-string-to-object)
- [Validation Methods](#validation-methods)
- [regex](#regex)

---

# Docs

> Install using [`npm`](https://www.npmjs.com/)

```sh
$ npm install @rmoral/rm-js --save
```

## Functions

### asyncPipe

> Consist of a chain of processing async and sync functions, where the output of each element is the input of next. The result is a promise.

```js
import {asyncPipe} from @rmoral/rm-js/lib/functions

const add1 = async x => x + 1;

asyncPipe(add1, add1, add1)(1).then(result => {
  console.log(result) // 4
})
```

### pipe

> Consist of a chain of processing functions, where the output of each element is the input of next

```js
import {pipe} from @rmoral/rm-js/lib/functions

const add1 = x => x + 1;

pipe(
    add1,
    add1
)(0)
```

## Strings

### Object to query string

> Convert object to query string. `addQueryPrefix` is true by default (`?` at the beginning)

```js
import {toQueryString} from @rmoral/rm-js/lib/string

const addQueryPrefix = true

toQueryString({
    name: 'John',
    age: 30
}, addQueryPrefix)
```

### Query string to object

> Convert query string to object

```js
import {parseQueryString} from @rmoral/rm-js/lib/string

parseQueryString('?name=John&age=30')
```

## Validation Methods

Some validation methods:

- isValidBankAccount
- isValidEmail

```js
import {validationMethod} from @rmoral/rm-js/lib/validation
```

## regex

Some useful regex:

- DATE_ISO_8601
- EMAIL_REGEX
- HEX_COLOR
- TIME_24H
- URL

```js
import {EMAIL_REGEX} from @rmoral/rm-js/lib/regex
```
npm package: @rmoral/ui-components
Description: React components that implement @rmoral design system
Author: Rafa Moral
Latest version: 0.6.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @rmoral/ui-components

> Find full description and examples in the demo page.

## Installation

![stability-wip](https://img.shields.io/badge/stability-work_in_progress-lightgrey.svg)

## Usage

Given a AtomButton as example.

Javascript

```js
import AtomButton from '@rmoral/ui-components/lib/AtomButton'
return (<AtomButton>Normal</AtomButton>)
```

SCSS

```scss
@import "~@rmoral/ui-components/lib/AtomButton/style";
```

## Pending components (ordered by priority)

- MoleculeNotification
- MoleculeModal
- AtomCard
- AtomProgress (circular || linear)
- MoleculeTable
- MoleculeSnackbar
- MoleculeProgressBar
- AtomUpload
- AtomBadge
- MoleculeList
- MoleculeAvatar
npm package: @rmosolgo/apollo-boost
Description: The easiest way to get started with Apollo Client
Author: Peggy Rayzis
Latest version: 0.2.2-alpha.0

# apollo-boost

The fastest, easiest way to get started with Apollo Client!

Apollo Boost is a zero-config way to start using Apollo Client. It includes some sensible defaults, such as our recommended `InMemoryCache` and `HttpLink`, which come configured for you with our recommended settings.

## Quick start

First, install `apollo-boost`. If you don't have `graphql` & `react-apollo` already in your project, please install those too.

```shell
npm i apollo-boost graphql react-apollo -S
```

Next, create your client. Once you create your client, hook it up to your app by passing it to the `ApolloProvider` exported from `react-apollo`.

```js
import React from 'react';
import { render } from 'react-dom';
import ApolloClient from 'apollo-boost';
import { ApolloProvider } from 'react-apollo';

// Pass your GraphQL endpoint to uri
const client = new ApolloClient({ uri: 'https://nx9zvp49q7.lp.gql.zone/graphql' });

const ApolloApp = AppComponent => (
  <ApolloProvider client={client}>
    <AppComponent />
  </ApolloProvider>
);

render(ApolloApp(App), document.getElementById('root'));
```

Awesome! Your ApolloClient is now connected to your app. Let's create our `<App />` component and make our first query:

```js
import React from 'react';
import { gql } from 'apollo-boost';
import { Query } from 'react-apollo';

const GET_MOVIES = gql`
  query {
    movie(id: 1) {
      id
      title
    }
  }
`

const App = () => (
  <Query query={GET_MOVIES}>
    {({ loading, error, data }) => {
      if (loading) return <div>Loading...</div>;
      if (error) return <div>Error :(</div>;

      return (
        <Movie title={data.movie.title} />
      )
    }}
  </Query>
)
```

Time to celebrate! 🎉 You just made your first Query component. The Query component binds your GraphQL query to your UI so Apollo Client can take care of fetching your data, tracking loading & error states, and updating your UI via the `data` prop.

## What's in Apollo Boost

Apollo Boost includes some packages that we think are essential to developing with Apollo Client. Here's what's in the box:

- `apollo-client`: Where all the magic happens
- `apollo-cache-inmemory`: Our recommended cache
- `apollo-link-http`: An Apollo Link for remote data fetching
- `apollo-link-error`: An Apollo Link for error handling
- `apollo-link-state`: An Apollo Link for local state management
- `graphql-tag`: Exports the `gql` function for your queries & mutations

The awesome thing about Apollo Boost is that you don't have to set any of this up yourself! Just specify a few options if you'd like to use these features and we'll take care of the rest. For a full list of available options, please refer to the Apollo Boost [configuration options](https://www.apollographql.com/docs/react/essentials/get-started.html#configuration) documentation.