# lottery-react-npm

> import { Lottery } from 'lottery-react-npm'

Latest version **0.0.2** (published 2021-06-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install lottery-react-npm
pnpm add lottery-react-npm
yarn add lottery-react-npm
bun add lottery-react-npm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-06-08 |
| First published | 2021-06-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 234.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | foreverbl |
| Keywords | react, lottery |

## Links

- npm: https://www.npmjs.com/package/lottery-react-npm
- npm.io page: https://npm.io/package/lottery-react-npm

## Dependencies (1)

- [postcss-px2rem](https://npm.io/package/postcss-px2rem.md) ^0.3.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2021-06-08
- 0.0.1 — 2021-06-08

## README

# Introducing the lottery-react-npm package

    import { Lottery } from 'lottery-react-npm'

# Start a backend service locally on port 9527 with the interface URL /lotterys. 

# Interface request parameter.
  > {  
  > &nbsp;id, // 唯一id  
  > &nbsp;timestamp // 当前的时间戳(秒)  
  > }

# Probabilistic logical interface custom implementation 

# Interface return value.
  ## Note that the value of each probability in the data array is given by itself. The names of each item in the data array must be the same as in the example, in a different order.
  for example:

  > {  
  >   &nbsp;code: 0,  
  >   &nbsp;data: [  
  >     &nbsp;&nbsp;{ name: 'noPrice', probability: 0.4 },  
  >     &nbsp;&nbsp;{ name: 'firstPrice', probability: 0.1},  
  >     &nbsp;&nbsp;{ name: 'secondPrices', probability: 0.1},  
  >     &nbsp;&nbsp;{ name: 'thirdPrices', probability: 0.2 }  
  >   &nbsp;]  
  > }  

# React mounts the node's page and needs to be configured

  `<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->`  
  `<meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">`

---
_Source: https://npm.io/package/lottery-react-npm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
