# @bobo-org/utils

> > js 日常公用常用的工具函数

Latest version **1.0.3** (published 2022-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bobo-org/utils
pnpm add @bobo-org/utils
yarn add @bobo-org/utils
bun add @bobo-org/utils
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-09-29 |
| First published | 2022-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 212.3 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | zhaorubo |
| Maintainers | jackie-bobo |
| Keywords | typescript, utils, downloadFile |

## Links

- npm: https://www.npmjs.com/package/@bobo-org/utils
- Homepage: https://bobo-org.github.io/FE/
- Issues: https://github.com/bobo-org/FE/issues
- npm.io page: https://npm.io/package/@bobo-org/utils

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.27.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2022-09-29
- 1.0.2 — 2022-09-26
- 1.0.1 — 2022-09-23
- 1.0.0 — 2022-09-23

## README

# @bobo-org/utils

> js 日常公用常用的工具函数


## Install

Using npm:

```sh
npm install --save-dev @bobo-org/utils
```

or using yarn:

```sh
yarn add @bobo-org/utils --dev
```


## 使用 
```sh
# esm
import {compact} from '@bobo-org/utils'
const a = compact([1, null, undefined, NaN, '', 'end'])
console.log(a) //[1,'end']
```

```sh
# cjs
const {compact } = require('@bobo-org/utils')
const a = compact([1,null,undefined,NaN,'','end'])
console.log(a) //[1,'end']
```

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