# pho

> Delicious functions for Node developers.

Latest version **0.1.1** (published 2013-02-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install pho
pnpm add pho
yarn add pho
bun add pho
```

## 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.1.1 |
| Published | 2013-02-25 |
| First published | 2013-02-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Son T. Le |
| Maintainers | sillyson |

## Links

- npm: https://www.npmjs.com/package/pho
- Repository: https://github.com/son-le/pho
- npm.io page: https://npm.io/package/pho

## Recent versions

- 0.1.1 (latest) — 2013-02-25
- 0.1.0 — 2013-02-25

## README

pho
===============================================================================

Delicious functions for the hungry node.js developer.



Installation:
-------------------------------------------------------------------------------

    $ npm install pho
    
API
-------------------------------------------------------------------------------
    var pho = require( "pho" );

or if you prefer to use with [underscore](https://github.com/documentcloud/underscore)

    var _   = require( "underscore" )
      , pho = require( "pho" ).mixin( _ );

Now functions exported by pho are available on `_` (underscore) object.

### onErr( err, callback )

If __err__ is defined, then __callback__ is called with __err__ as a parameter.
Returns `true` if __err__ is defined and `false` otherwise.

#### Example:

If there is an error, then `done` is called and `nextStep` is never executed.

    pho.onErr( err, done ) || nextStep();
    
is equivalent to

    if ( err ) {
    
        return done( err );
    }
    
    nextStep();

Changelog
-------------------------------------------------------------------------------

+ 0.1.1 - Remove shrinkwrap file.

+ 0.1.0 - Initial release.

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