# phpfn

> Get selected function from phpjs.org.

Latest version **1.0.0** (published 2015-08-06) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-08-06 |
| First published | 2014-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | S |
| Maintainers | iamthes |

## Links

- npm: https://www.npmjs.com/package/phpfn
- Repository: https://github.com/unlight/phpfn
- Homepage: https://github.com/unlight/phpfn#readme
- Issues: https://github.com/unlight/phpfn/issues
- npm.io page: https://npm.io/package/phpfn

## Dependencies (1)

- [phpjs](https://npm.io/package/phpjs.md) latest

## Recent versions

- 1.0.0 (latest) — 2015-08-06
- 0.0.4 — 2014-08-28
- 0.0.3 — 2014-06-17
- 0.0.2 — 2014-06-16

## README

phpfn
-----
Get selected function from phpjs.org.

USAGE
-----
```js
var phpfn = require("phpfn");
phpfn("trim", function(error, trim) {
	if (error) throw error;
	console.log(trim("xABCx", "x")); // ABC
});
```
#### Synchronous version
```js
var phpfn = require("phpfn");
var ucfirst = phpfn("ucfirst");
console.log(ucfirst("abc")); // Abc
```

TODO
----
- dependent functions

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