open-index/open-npm huggingface dataset:
npm package: @jep182/n8n-nodes-baileys-gateway
Description: n8n community node for the local WhatsApp Gateway built on Baileys
Author: jep182
Latest version: 0.2.0

# @jep182/n8n-nodes-baileys-gateway

n8n community node for a local WhatsApp gateway built with Baileys.

## What it includes

- `WhatsApp Gateway`: send text, media, document, reaction, location, contact, and poll messages
- `WhatsApp Gateway Trigger`: receive webhook events from the gateway
- credential test against the gateway API
- channel linking from discovered chats/groups

## Requirements

This package talks to a separate HTTP service. It does not run Baileys inside n8n.

You need a gateway exposing endpoints such as:

- `POST /api/v1/send`
- `GET /api/v1/channels`
- `POST /api/v1/webhooks/subscriptions`

## Install

In n8n, install the community node package:

```bash
npm install @jep182/n8n-nodes-baileys-gateway
```

If you run n8n in Docker, install it in the image or mount it as a custom extension package.

## Credentials

Create `WhatsApp Gateway API` credentials with:

- `Base URL`
- `API Key`

## Group registration flow

The intended flow is:

1. a WhatsApp group sends `/connetti-n8n monitoring`
2. the gateway registers that group under alias `monitoring`
3. the node uses the alias from the channel dropdown

You can also link a discovered chat/group directly from the node UI with the `Connect Target` operation.

## Development

```bash
pnpm install
pnpm build
npm pack --dry-run
```
npm package: @jephuff/shopify-react-web-worker
Description: A hook for using web workers in React applications
Author: Shopify Inc.
Latest version: 3.0.0-webpack-5-beta.2

# `@shopify/react-web-worker`

[![Build Status](https://github.com/Shopify/quilt/workflows/Node-CI/badge.svg?branch=main)](https://github.com/Shopify/quilt/actions?query=workflow%3ANode-CI)
[![Build Status](https://github.com/Shopify/quilt/workflows/Ruby-CI/badge.svg?branch=main)](https://github.com/Shopify/quilt/actions?query=workflow%3ARuby-CI)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE.md) [![npm version](https://badge.fury.io/js/%40shopify%2Freact-web-worker.svg)](https://badge.fury.io/js/%40shopify%2Freact-web-worker.svg) [![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@shopify/react-web-worker.svg)](https://img.shields.io/bundlephobia/minzip/@shopify/react-web-worker.svg)

A hook for using web workers in React applications.

## Installation

```bash
$ yarn add @shopify/react-web-worker
```

## Usage

This package provides a `useWorker` hook to leverage web workers in React. For convenience, it also re-exports the entirety of [`@shopify/web-worker`](https://github.com/Shopify/quilt/tree/main/packages/web-worker), so you only need to install this package to get access to those additional exports.

### `useWorker()`

`useWorker` allows your React applications to take advantage of [web workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) provided by `createWorkerFactory` from `@shopify/web-worker`. This hook creates a web worker during render and terminates it when the component unmounts.

```tsx
import React, {useEffect} from 'react';
import {Page} from '@shopify/polaris';
import {createWorkerFactory, useWorker} from '@shopify/react-web-worker';

// assume ./worker.ts contains
// export function hello(name) {
//  return `Hello, ${name}`;
// }

const createWorker = createWorkerFactory(() => import('./worker'));

function Home() {
  const worker = useWorker(createWorker);
  const [message, setMessage] = React.useState(null);

  useEffect(() => {
    (async () => {
      // Note: in your actual app code, make sure to check if Home
      // is still mounted before setting state asynchronously!
      const webWorkerMessage = await worker.hello('Tobi');
      setMessage(webWorkerMessage);
    })();
  }, [worker]);

  return <Page title="Home"> {message} </Page>;
}
```

You can optionally pass a second argument to `useWorker`, which will be used as the [options to the worker creator function](../web-worker#customizing-worker-creation).
npm package: @jeppevinkel/steam-search
Description: API for searching on the Steam store.
Author: Jeppe Vinkel Beier
Latest version: 1.0.0-beta.4

# @jeppevinkel/steam-search
[![npm (scoped)](https://img.shields.io/npm/v/@jeppevinkel/steam-search)](https://www.npmjs.com/package/@jeppevinkel/steam-search)

Api for searching games from the Steam store.
This search API works by calling the regular steam store page and scraping the results from the page. It doesn't yet support scrolling the page, so it might be limited in the number of results per search query.

## Installation
Use [npm] to install the package.

```bash
npm install @jeppevinkel/steam-search
```

## Usage
```typescript
import {SteamSearch, QueryBuilder, ResultType} from '@jeppevinkel/steam-search'

let query = QueryBuilder.create()
    .search('counter-strike')

SteamSearch.search(query).then((results) => {
    for (let result of results) {
        const type = result.type == ResultType.App ? 'App' : 'Bundle'
        console.log(`[${type}] (${result.appId}) ${result.title}`)
    }
})
```

## Docs

[https://jeppevinkel.github.io/steam-store-search](https://jeppevinkel.github.io/steam-store-search/)

## Contributing
Pull requests are welcome. For design changes, please open an issue to discuss what you would like to change.

## License
[MIT]

[npm]: https://www.npmjs.com
[MIT]: https://opensource.org/licenses/MIT
npm package: @jequest/jequest
Description: Very small library that parse the route and return promise
Author: wuchuheng
Latest version: 0.0.1

<h1 align="center"> jequest 请求库 </h1>

[comment]: <> ([![Build Status]&#40;https://travis-ci.org/wuchuhengtools/promise-router.svg?branch=master&#41;]&#40;https://travis-ci.org/wuchuhengtools/promise-router&#41;)

[comment]: <> ([![codecov]&#40;https://codecov.io/gh/wuchuhengtools/promise-router/branch/master/graph/badge.svg?token=EDF42SJ22M&#41;]&#40;https://codecov.io/gh/wuchuhengtools/promise-router&#41;)

[comment]: <> ([![FOSSA Status]&#40;https://app.fossa.com/api/projects/git%2Bgithub.com%2Fwuchuhengtools%2Fpromise-router.svg?type=shield&#41;]&#40;https://app.fossa.com/projects/git%2Bgithub.com%2Fwuchuhengtools%2Fpromise-router?ref=badge_shield&#41;)

## Installing

```shell
$ npm i @wuchuhengtools/jequest
```

## Usage

``` typescript
import router from '@wuchuhengtools/promise-router'
// ...
router('/me/devices/:id/files/:fileId', '/me/devices/11111/files/22222').then(e => {
    console.log(e) // { "routeParams": { "id": "sdfasdfadsfasd", "fileId": "22222" } 
})
```
## Contributing

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/wuchuhengtools/promise-router/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/wuchuhengtools/promise-router/issues).
3. Contribute new features or update the wiki.

_The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable._

## License

MIT
npm package: @jer-0/xstate-svelte4
Description: XState tools for Svelte
Author: David Khourshid
Latest version: 2.0.1

# @xstate/svelte

This package contains utilities for using [XState](https://github.com/statelyai/xstate) with [Svelte](https://github.com/sveltejs/svelte).

- [Read the full documentation in the XState docs](https://xstate.js.org/docs/packages/xstate-svelte/).
- [Read our contribution guidelines](https://github.com/statelyai/xstate/blob/main/CONTRIBUTING.md).

## Quick Start

1. Install `xstate` and `@xstate/svelte`:

```bash
npm i xstate @xstate/svelte
```

**Via CDN**

```html
<script src="https://unpkg.com/@xstate/svelte/dist/xstate-svelte.min.js"></script>
```

By using the global variable `XStateSvelte`

or

```html
<script src="https://unpkg.com/@xstate/svelte/dist/xstate-svelte.fsm.min.js"></script>
```

By using the global variable `XStateSvelteFSM`

2. Import `useMachine`

```svelte
<script>
  import { useMachine } from '@xstate/svelte';
  import { createMachine } from 'xstate';

  const toggleMachine = createMachine({
    id: 'toggle',
    initial: 'inactive',
    states: {
      inactive: {
        on: { TOGGLE: 'active' }
      },
      active: {
        on: { TOGGLE: 'inactive' }
      }
    }
  });

  const { state, send } = useMachine(toggleMachine);
</script>

<button on:click={() => send('TOGGLE')}>
  {$state.value === 'inactive'
    ? 'Click to activate'
    : 'Active! Click to deactivate'}
</button>
```