open-index/open-npm huggingface dataset:
npm package: @gitos/json-file-reporter
Description: JSON file reporter for Mocha
Author: Munieru
Latest version: 1.3.2

[![npm version](https://badge.fury.io/js/%40mochajs%2Fjson-file-reporter.svg)](https://badge.fury.io/js/%40mochajs%2Fjson-file-reporter)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

# @mochajs/json-file-reporter
JSON file reporter for Mocha

## Installation
```sh
$ npm i -D @mochajs/json-file-reporter
```

## Usage
Use `--reporter` in your test command.

```json
{
  "scripts": {
    "test": "mocha --reporter @mochajs/json-file-reporter"
  }
}
```

Or, add `reporter` to your configuration file.

```json
{
  "reporter": "@mochajs/json-file-reporter"
}
```

## Options
### output
By default, it will output to `report.json`. To write to other file, use `--reporter-options` in your test command.

```json
{
  "scripts": {
    "test": "mocha --reporter @mochajs/json-file-reporter --reporter-options output=filename.json"
  }
}
```

Or, add `reporter-option` to your configuration file.

```json
{
  "reporter": "@mochajs/json-file-reporter",
  "reporter-option": [
    "output=filename.json"
  ]
}
```
npm package: @gitpad/gmodal
Description: A modal layer for react
Author: yeluoqiuzhi
Latest version: 0.1.6

[![Build Status](https://travis-ci.org/gitpadtech/gmodal.svg?branch=master)](https://travis-ci.org/gitpadtech/gmodal)
[![Coverage Status](https://coveralls.io/repos/github/gitpadtech/gmodal/badge.svg?branch=master)](https://coveralls.io/github/gitpadtech/gmodal?branch=master)

# GModal

A modal layer for React 16

## Install

```shell
npm install @gitpad/gmodal
```

## Usage

```jsx
import GModal from '@gitpad/gmodal';
import '@gitpad/gmodal/dist/gmodal.css';
// ...
<GModal show>
  <div className="popup">A popup window</div>
</GModal>
// ...
```

## How does it work?

It's powered by React portal in React 16, so it's only compatible with React 16
npm package: @gitpad/rlist-view
Author: yeluoqiuzhi
Latest version: 1.0.0

# rlist-view



## install

```shell
npm i @gitpad/rlist-view
```

## props

* height: height of your view, can be any valid height in css
* refresh: A function that return a promise to tell me you have loaded new data(I will hide your refresh component when promise resolved)
* loadMore: A function that return a promise to tell me you have loaded new data(I will hide your loadMore component when promise resolved)
* refreshComponent: Customed refresh component, discover more in my example code
* loadMoreComponent: Customed loadMore component, discover more in my example code
* threshold to start loadMore, it's (10px) by default
* useWindowScroll: use the y position of window scrollbar to calculate load more behavior
* disableInfiniteScroll: close load more feature, when you have loaded all data, you should set this prop to true
* disableRefresh: close refresh data feature

## [Who used rlist-view](docs/who-used.md) ?


[![股多多](docs/images/gdd/logo.jpg)](https://itunes.apple.com/cn/app/%E8%82%A1%E5%A4%9A%E5%A4%9A/id1219179966?mt=8)
npm package: @gitpad/toast-tips
Description: toast tips like android or ios
Author: yeluoqiuzhi
Latest version: 0.1.4

# Introduction

toast tips like android or ios


## Install

```shell
npm i @gitpad/toast-tips
```

## Usage

```js
// import css somewhere only once
import '@gitpad/toast-tips/dist/toast-tips.css';

import toastTips from '@gitpad/toast-tips';

toastTips('Hello toast tips');
// ...
```