# tidy-util

> tidy utils

Latest version **1.0.5** (published 2019-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install tidy-util
pnpm add tidy-util
yarn add tidy-util
bun add tidy-util
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-04-01 |
| First published | 2019-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | guopi |
| Maintainers | guopi.pro |

## Links

- npm: https://www.npmjs.com/package/tidy-util
- Repository: https://github.com/guopi/tidy
- Homepage: https://github.com/guopi/tidy/tree/master/packages/tidy-util
- Issues: https://github.com/guopi/tidy/issues
- npm.io page: https://npm.io/package/tidy-util

## Recent versions

- 1.0.5 (latest) — 2019-04-01
- 1.0.4 — 2019-03-28
- 1.0.3 — 2019-03-25
- 1.0.2 — 2019-03-25
- 1.0.1 — 2019-03-22

## README

# `tidy-util`

> tidy util library

## Installation
```bash
$ npm install tidy-util --save
```

## Usage

```javascript
import {asyncOf} from 'tidy-util'


function funcUseCallBack(param1, callback) {
    //...
    let err = undefined
    let data = 'some data'
    callback(err, data)
}


asyncOf(cb => funcUseCallBack('param1', cb))
    .then(data => console.log('funcUseCallBack return data', data))
    .catch(err => console.log('funcUseCallBack throws error', err))
    
```

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