# biosan-react-ui

> BiosanUi for React

Latest version **1.1.2** (published 2020-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install biosan-react-ui
pnpm add biosan-react-ui
yarn add biosan-react-ui
bun add biosan-react-ui
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2020-01-10 |
| First published | 2020-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 30 |
| Unpacked size | 3.3 MB |
| Known vulnerabilities | 0 (+27 in 3 direct dependencies) |
| Install scripts | no |
| Maintainers | biosan.cn |
| Keywords | UI, React |

## Links

- npm: https://www.npmjs.com/package/biosan-react-ui
- Repository: http://git.biosan.cn/FD/BiosanUi
- npm.io page: https://npm.io/package/biosan-react-ui

## Dependencies (30)

- [qs](https://npm.io/package/qs.md) ^6.8.0
- [raf](https://npm.io/package/raf.md) ^3.4.1
- [antd](https://npm.io/package/antd.md) ^3.19.8
- [clsx](https://npm.io/package/clsx.md) ^1.0.4
- [uuid](https://npm.io/package/uuid.md) ^3.3.2
- [axios](https://npm.io/package/axios.md) ^0.19.0
- [jquery](https://npm.io/package/jquery.md) ^3.4.1
- [moment](https://npm.io/package/moment.md) ^2.24.0
- [core-js](https://npm.io/package/core-js.md) ^2.5.6
- [node-rsa](https://npm.io/package/node-rsa.md) ^1.0.7
- [viewerjs](https://npm.io/package/viewerjs.md) ^1.3.6
- [immutable](https://npm.io/package/immutable.md) ^4.0.0-rc.12
- [js-cookie](https://npm.io/package/js-cookie.md) ^2.2.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [codemirror](https://npm.io/package/codemirror.md) ^5.37.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [dom-helpers](https://npm.io/package/dom-helpers.md) ^3.4.0
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^9.6.0
- [dom-to-image](https://npm.io/package/dom-to-image.md) ^2.6.0
- [async-validator](https://npm.io/package/async-validator.md) ^1.8.1
- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8
- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1
- [lodash.uniqueid](https://npm.io/package/lodash.uniqueid.md) ^4.0.1
- [react-resizable](https://npm.io/package/react-resizable.md) ^1.10.1
- [react-scroll-up](https://npm.io/package/react-scroll-up.md) ^1.3.3
- [react-hot-loader](https://npm.io/package/react-hot-loader.md) ^3.1.3
- [web-downloadfile](https://npm.io/package/web-downloadfile.md) 0.0.1
- [throttle-debounce](https://npm.io/package/throttle-debounce.md) ^1.0.1
- [react-click-outside](https://npm.io/package/react-click-outside.md) ^3.0.0
- [element-theme-default](https://npm.io/package/element-theme-default.md) ^1.4.13

## 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

- 1.1.2 (latest) — 2020-01-10
- 1.1.1 — 2020-01-10
- 1.1.0 — 2020-01-10
- 1.0.9 — 2020-01-09

## README

# React ui组件库

### Install

```bash
npm install @b1/biosan-ui --save
```

### Usage

```js
import { Button } from '@b1/biosan-ui';
```

### Config

With webpack, you need additional loaders to build with `BiosanUi`.

```js
const webpack = require('webpack');

module.exports = {
  entry: {
    src: 'path/to/src'
  },
  output: {
    path: 'path/to/output'
    publicPath: '/public',
    chunkFilename: '[chunkhash:12].js',
    filename: '[chunkhash:12].js'
  },
  plugins: [
    new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
    new webpack.optimize.UglifyJsPlugin({
      output: {
        comments: false
      }
    })
  ],
  resolve: {
    extensions: ['.js', '.jsx']
  },
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        loader: 'babel-loader',
        include: ['path/to/src']
      },
      {
        test: /\.css$/,
        loaders: ['style-loader', 'css-loader']
      },
      {
        test: /\.(ttf|eot|svg|woff|woff2)(\?.+)?$/,
        loader: 'file-loader?name=[hash:12].[ext]'
      }
    ]
  }
}
```
## License

MIT

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