open-index/open-npm huggingface dataset:
npm package: @spinchange/cleetus
Description: A Jest test runner with personality. Significant personality.
Latest version: 0.1.0

# Cleetus

> A Jest test runner with personality. Significant personality.

```
Alright boys, hold my beer. We're runnin' some tests.

✓ Well I'll be darned — "should add two numbers" done passed!
✓ "should return null for empty input" passed cleaner than a whistle at the county fair.
✗ Aw hell. "should handle async errors" ain't workin' right.
  Error: expected 42 but received undefined

Dang son. Clean sweep. 2/3 passed. Cleetus is pleased. 🤠
```

## Installation

```bash
npm install --save-dev cleetus
```

Jest is a peer dependency. You need it installed separately.

## Usage

```bash
npx cleetus
```

Pass any Jest args you like:

```bash
npx cleetus --watch
npx cleetus --testPathPattern=auth
npx cleetus --coverage
```

## Why

Because `PASS` and `FAIL` have no soul.

## Who is Cleetus

Cleetus is a test runner. He has boots. He has opinions. He will tell you when your tests fail and he will not be subtle about it.

## License

MIT
npm package: @spindl-xyz/embed-react
Description: ## Getting Started
Author: Andriy Kulak
Latest version: 1.0.0

# Spindl React Embed Library

## Getting Started

- Run `npm i --save @spindl-xyz/embed-react` or `yarn add @spindl-xyz/embed-react`
- Import the `BannerEmbed` component and utilize it in your react application
  - Please reach out to us for the proper `publisherId`, `placementId`
  - For customization, you can pass in additional styles which will target the returning `iframe` tag. we recommend adding `width` and `height` to desired dimensions

### Optional Params

- `address`: optional `string | string[]` but highly encouraged to provide more targeted embeds
- `properties`: optional json blob. useful to pass in extra context for user to provide more targeted embeds

```tsx
import { BannerEmbed } from "@spindl-xyz/embed-react";

const Component = () => {
  return (
    <>
      // ...
      <BannerEmbed
        publisherId="test" // * required
        placementId="1" // * required
        style={{
          width: "970px",
          height: "250px",
        }} // * recommended to add desired width/height
        address={"0x123..."} // can also be passed in an array. i.e. ["0x123", "0x456"]
        properties={{
          userType: "nft",
        }} // optional. you can pass in JSON blob as additional context so we can provide more targeted embeds
      />
    </>
  );
};
```
npm package: @spindle/resclient
Description: Resgate client implementing the RES-Client Protocol.
Author: Samuel Jirénius
Latest version: 2.5.5

<p align="center"><a href="https://resgate.io" target="_blank" rel="noopener noreferrer"><img width="100" src="docs/img/resgate-logo.png" alt="Resgate logo"></a></p>


<h2 align="center"><b>ResClient for Javascript</b><br/>Synchronize Your Clients</h2>
</p>

<p align="center">
<a href="http://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
<a href="https://www.npmjs.org/package/resclient"><img src="http://img.shields.io/npm/v/resclient.svg" alt="View on NPM"></a>
<a href="https://travis-ci.com/resgateio/resclient"><img src="https://travis-ci.com/resgateio/resclient.svg?branch=master" alt="Build Status"></a>
<a href="https://coveralls.io/github/resgateio/resclient?branch=master"><img src="https://coveralls.io/repos/github/resgateio/resclient/badge.svg?branch=master" alt="Coverage"></a>
</p>

---

Javascript client library implementing the RES-Client Protocol. Used to establish WebSocket connections to [Resgate](https://resgate.io), to get your data synchronized in real-time.

Visit [Resgate.io](https://resgate.io) for more information.

## Installation

With npm:
```sh
npm install resclient
```

With yarn:
```sh
yarn add resclient
```

## Publishing

Create a new version with npm.
```sh
npm version <major|minor|patch>
```

Push the new commit and tag.
```sh
git push --follow-tags
```

## Example usage

```javascript
import ResClient from 'resclient';

const client = new ResClient('ws://localhost:8080/ws');

client.get('example.mymodel').then(model => {
    console.log(model.message);

    let onChange = () => {
        console.log("New message: " + model.message);
    };

    // Listen to changes for 5 seconds, eventually unsubscribing
    model.on('change', onChange);
    setTimeout(() => {
        model.off('change', onChange);
    }, 5000);
});
```

## Full examples

| Example | Description
| --- | ---
| [React](examples/book-collection-react/) | React client implementation of the Book Collection example.
| [Vue.js](examples/book-collection-vuejs/) | Vue.js client implementation of the Book Collection example.
| [Vue 3](examples/book-collection-vue3/) | Vue 3 client implementation of the Book Collection example.
| [Modapp](https://github.com/resgateio/resgate/tree/master/examples/book-collection) | Book Collection example from Resgate repository

> **Note**
>
> All examples are complete with both service and client.

## Usage in Node.js

To connect with *WebSockets* in Node.js, we must use a library implementing the [WebSocket API](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket), such as [isomorphic-ws](https://www.npmjs.com/package/isomorphic-ws).

```javascript
var WebSocket = require('isomorphic-ws');
var ResClient = require('resclient').default;
// Create instance with a WebSocket factory function
var client = new ResClient(() => new WebSocket("ws://localhost:8080"));
```

## Documentation

[Markdown documentation](docs/docs.md)