open-index/open-npm huggingface dataset:
npm package: @freecube/tap-summary
Description: Summarize TAP
Author: Zoubin - original
Latest version: 4.0.4

# tap-summary
[![version](https://img.shields.io/npm/v/tap-summary.svg)](https://www.npmjs.org/package/tap-summary)
[![status](https://travis-ci.org/zoubin/tap-summary.svg?branch=master)](https://travis-ci.org/zoubin/tap-summary)
[![dependencies](https://david-dm.org/zoubin/tap-summary.svg)](https://david-dm.org/zoubin/tap-summary)
[![devDependencies](https://david-dm.org/zoubin/tap-summary/dev-status.svg)](https://david-dm.org/zoubin/tap-summary#info=devDependencies)

A reporter for TAP.

## Example

![summary](example/clip.gif)

## Usage

### package.json
```json
{
  "scripts": {
    "test": "tape test/*.js | tap-summary"
  }
}
```

### CLI Options

```
  --no-ansi        Disable ANSI formatting
  --no-progress    Disable progress output during tests
```

### API

```js
var summarize = require('tap-summary')

var fs = require('fs')
fs.createReadStream('test.tap')
  .pipe(summarize({
    ansi: true,
    progress: true,
  }))
  .pipe(process.stdout)

```

Also, the default formatter could be replaced with custom ones.

```js
var reporter = require('tap-summary').reporter()

var fs = require('fs')
fs.createReadStream('test.tap')
  .pipe(customize(reporter))
  .pipe(process.stdout)

```

The `reporter` is a `Duplex`,
which consumes the TAP input and output nothing by default.
However, it emits the following events during the process,
so that `customize` could listen to them and add something into the output.

* reporter.on('test.start', test => {}).
  Fired when a new test detected.
* reporter.on('test.end', test => {}).
  Fired when the end of a test reached.
* reporter.on('test.assert', (assertion, test) => {}).
  Fired when a new assertion found.
* reporter.on('summary', (stats, fails, comments) => {}). 
  Fired when all TAP input has been processed.

Details about the `test` and `assertion` object could be found [here][tap-out].

The `stats` object:
```js
var stats = {
  // the total time (ms) it takes
  duration: duration,
  // the total number of assertions planned
  planned: res.plans.reduce(function (p, c) {
    return c.to - c.from + 1 + p;
  }, 0),
  // the actual total number of assertions found
  assertions: res.asserts.length,
  // the number of successful assertions
  pass: res.pass.length,
  // the number of failed assertions
  fail: res.fail.length,
  // the number of comments found
  comments: res.comments.length,
}

```

`fails` will be `null` unless `stats.fail > 0`:
```js
{ 
  testName: [failedAssertion]
}

```

`comments` will be `null` unless `stats.comments > 0`:
```js
{ 
  testName: [comment]
}

```

[tap-out]: https://github.com/scottcorgan/tap-out
npm package: @freeday-ai/chat-browser
Description: Freeday browser library
Author: b.greve@freeday.ai
Latest version: 0.2.7-beta.1

# @freeday-ai/browser

> Freeday browser JS/TS library

[![NPM](https://img.shields.io/npm/v/@freeday-ai/browser.svg)](https://www.npmjs.com/package/@freeday-ai/chat-browser)

## Install

```bash
npm install @freeday-ai/chat-browser@latest
```
npm package: @freeday-ai/chat-widget
Description: Freeday chat widget
Author: beaudinn greve
Latest version: 0.0.2210
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
   parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
   },
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
npm package: @freeday-ai/webchat-react-native
Description: Freeday AI webchat integration for React Native
Author: FreedayAI
Latest version: 1.0.5

Freeday AI chatbot integration for React Native

## Installation

```sh
npm install webchat-app-react-native
```

## Usage

```js
import { ChatWidget } from 'webchat-app-react-native';

// ...

<ChatWidget
  token={TOKEN}
  baseUrl={BASE URL}
/>;
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)